Record Class GitPushPlan

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.GitPushPlan
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.
newBranch - The name of the new branch to which the source to be pushed.
newCommit - The commit that contains the source generated for the push.
parentCommit - The parent commit of the new commit.
sourceFiles - A collection of the sources files in the commit.
All Implemented Interfaces:
GitPlan

@Generated("io.skipcheck.tm1.codegen") @Since("11.5.0") public record GitPushPlan(@Nullable String etag, @Nullable String id, @Nullable String branch, @Nullable Boolean force, @Nullable String newBranch, @Nullable GitCommit newCommit, @Nullable GitCommit parentCommit, @Nullable List<String> sourceFiles) extends Record implements GitPlan
A plan of pushing server objects to remote Git repository.

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

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

    • NEW_BRANCH

      public static final ODataProperty NEW_BRANCH
      NewBranch, for queries: The name of the new branch to which the source to be pushed.
    • NEW_COMMIT

      public static final ODataProperty NEW_COMMIT
      NewCommit, for queries: The commit that contains the source generated for the push.
    • PARENT_COMMIT

      public static final ODataProperty PARENT_COMMIT
      ParentCommit, for queries: The parent commit of the new commit.
    • SOURCE_FILES

      public static final ODataProperty SOURCE_FILES
      SourceFiles, for queries: A collection of the sources files in the commit.
  • Constructor Details

    • GitPushPlan

      public GitPushPlan(@Nullable String etag, @Nullable String id, @Nullable String branch, @Nullable Boolean force, @Nullable String newBranch, @Nullable GitCommit newCommit, @Nullable GitCommit parentCommit, @Nullable List<String> sourceFiles)
      Creates an instance of a GitPushPlan 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
      newBranch - the value for the newBranch record component
      newCommit - the value for the newCommit record component
      parentCommit - the value for the parentCommit record component
      sourceFiles - the value for the sourceFiles 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
    • newBranch

      public @Nullable String newBranch()
      Returns the value of the newBranch record component.
      Returns:
      the value of the newBranch record component
    • newCommit

      public @Nullable GitCommit newCommit()
      Returns the value of the newCommit record component.
      Returns:
      the value of the newCommit record component
    • parentCommit

      public @Nullable GitCommit parentCommit()
      Returns the value of the parentCommit record component.
      Returns:
      the value of the parentCommit record component
    • sourceFiles

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