Record Class GitPlan.Unknown

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.GitPlan.Unknown
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
id - The ID of the plan.
branch - The name of the remote branch.
force - A flag which is used to evaluate preconditions.
All Implemented Interfaces:
GitPlan
Enclosing interface:
GitPlan

@Generated("io.skipcheck.tm1.codegen") public static record GitPlan.Unknown(@Nullable String etag, @Nullable String id, @Nullable String branch, @Nullable Boolean force) extends Record implements GitPlan
A GitPlan of a type this client doesn't know, such as one a newer server added: only the properties all GitPlans have are read. It's never sent.

Generated from $metadata. Every component is nullable: $select can leave any property out, and navigation properties are only there when expanded. Null components aren't sent.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface GitPlan

    GitPlan.Unknown
    Modifier and Type
    Interface
    Description
    static final record 
    A GitPlan of a type this client doesn't know, such as one a newer server added: only the properties all GitPlans have are read.
  • Field Summary

    Fields inherited from interface GitPlan

    BRANCH, FORCE, ID
    Modifier and Type
    Field
    Description
    static final ODataProperty
    Branch, for queries: The name of the remote branch.
    static final ODataProperty
    Force, for queries: A flag which is used to evaluate preconditions.
    static final ODataProperty
    ID, for queries: The ID of the plan.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Unknown(@Nullable String etag, @Nullable String id, @Nullable String branch, @Nullable Boolean force)
    Creates an instance of a Unknown record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Returns the value of the branch record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    @Nullable String
    Returns the value of the etag record component.
    @Nullable Boolean
    Returns the value of the force record component.
    final int
    Returns a hash code value for this object.
    @Nullable String
    id()
    Returns the value of the id record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Unknown

      public Unknown(@Nullable String etag, @Nullable String id, @Nullable String branch, @Nullable Boolean force)
      Creates an instance of a Unknown record class.
      Parameters:
      etag - the value for the etag record component
      id - the value for the id record component
      branch - the value for the branch record component
      force - the value for the force record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • etag

      public @Nullable String etag()
      Returns the value of the etag record component.
      Specified by:
      etag in interface GitPlan
      Returns:
      the value of the etag record component
    • id

      public @Nullable String id()
      Returns the value of the id record component.
      Specified by:
      id in interface GitPlan
      Returns:
      the value of the id record component
    • branch

      public @Nullable String branch()
      Returns the value of the branch record component.
      Specified by:
      branch in interface GitPlan
      Returns:
      the value of the branch record component
    • force

      public @Nullable Boolean force()
      Returns the value of the force record component.
      Specified by:
      force in interface GitPlan
      Returns:
      the value of the force record component