Record Class GitPullPlan

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.GitPullPlan
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.
commit - The Git commit which contains the source.
operations - The operations that will be performed to read in the resource.
executionMode - The execution mode of the Git pull plan, that is, single or multiple commit.
All Implemented Interfaces:
GitPlan

@Generated("io.skipcheck.tm1.codegen") @Since("11.5.0") public record GitPullPlan(@Nullable String etag, @Nullable String id, @Nullable String branch, @Nullable Boolean force, @Nullable GitCommit commit, @Nullable List<String> operations, @Nullable GitPlanExecutionMode executionMode) extends Record implements GitPlan
A plan of pulling source from a remote Git commit.

A kind of GitPlan, read and sent with @odata.type #ibm.tm1.api.v1.GitPullPlan.

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.

  • Field Details

    • COMMIT

      public static final ODataProperty COMMIT
      Commit, for queries: The Git commit which contains the source.
    • OPERATIONS

      public static final ODataProperty OPERATIONS
      Operations, for queries: The operations that will be performed to read in the resource.
    • EXECUTION_MODE

      public static final ODataProperty EXECUTION_MODE
      ExecutionMode, for queries: The execution mode of the Git pull plan, that is, single or multiple commit.
  • Constructor Details

    • GitPullPlan

      public GitPullPlan(@Nullable String etag, @Nullable String id, @Nullable String branch, @Nullable Boolean force, @Nullable GitCommit commit, @Nullable List<String> operations, @Nullable GitPlanExecutionMode executionMode)
      Creates an instance of a GitPullPlan 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
      commit - the value for the commit record component
      operations - the value for the operations record component
      executionMode - the value for the executionMode 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
    • commit

      public @Nullable GitCommit commit()
      Returns the value of the commit record component.
      Returns:
      the value of the commit record component
    • operations

      public @Nullable List<String> operations()
      Returns the value of the operations record component.
      Returns:
      the value of the operations record component
    • executionMode

      public @Nullable GitPlanExecutionMode executionMode()
      Returns the value of the executionMode record component.
      Returns:
      the value of the executionMode record component