Record Class GitPushPlan
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.GitPushPlan
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchid- 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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface GitPlan
GitPlan.UnknownModifier and TypeInterfaceDescriptionstatic final recordAGitPlanof a type this client doesn't know, such as one a newer server added: only the properties allGitPlans have are read. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyNewBranch, for queries: The name of the new branch to which the source to be pushed.static final ODataPropertyNewCommit, for queries: The commit that contains the source generated for the push.static final ODataPropertyParentCommit, for queries: The parent commit of the new commit.static final ODataPropertySourceFiles, for queries: A collection of the sources files in the commit.Fields inherited from interface GitPlan
BRANCH, FORCE, IDModifier and TypeFieldDescriptionstatic final ODataPropertyBranch, for queries: The name of the remote branch.static final ODataPropertyForce, for queries: A flag which is used to evaluate preconditions.static final ODataPropertyID, for queries: The ID of the plan. -
Constructor Summary
ConstructorsConstructorDescriptionGitPushPlan(@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 aGitPushPlanrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringbranch()Returns the value of thebranchrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable Stringetag()Returns the value of theetagrecord component.@Nullable Booleanforce()Returns the value of theforcerecord component.final inthashCode()Returns a hash code value for this object.@Nullable Stringid()Returns the value of theidrecord component.@Nullable StringReturns the value of thenewBranchrecord component.@Nullable GitCommitReturns the value of thenewCommitrecord component.@Nullable GitCommitReturns the value of theparentCommitrecord component.Returns the value of thesourceFilesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NEW_BRANCH
NewBranch, for queries: The name of the new branch to which the source to be pushed. -
NEW_COMMIT
NewCommit, for queries: The commit that contains the source generated for the push. -
PARENT_COMMIT
ParentCommit, for queries: The parent commit of the new commit. -
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 aGitPushPlanrecord class.- Parameters:
etag- the value for theetagrecord componentid- the value for theidrecord componentbranch- the value for thebranchrecord componentforce- the value for theforcerecord componentnewBranch- the value for thenewBranchrecord componentnewCommit- the value for thenewCommitrecord componentparentCommit- the value for theparentCommitrecord componentsourceFiles- the value for thesourceFilesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
etag
-
id
-
branch
-
force
-
newBranch
-
newCommit
-
parentCommit
Returns the value of theparentCommitrecord component.- Returns:
- the value of the
parentCommitrecord component
-
sourceFiles
Returns the value of thesourceFilesrecord component.- Returns:
- the value of the
sourceFilesrecord component
-