Record Class GitPullPlan
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.GitPullPlan
- 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.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.
-
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 ODataPropertyCommit, for queries: The Git commit which contains the source.static final ODataPropertyExecutionMode, for queries: The execution mode of the Git pull plan, that is, single or multiple commit.static final ODataPropertyOperations, for queries: The operations that will be performed to read in the resource.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
ConstructorsConstructorDescriptionGitPullPlan(@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 aGitPullPlanrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringbranch()Returns the value of thebranchrecord component.@Nullable GitCommitcommit()Returns the value of thecommitrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable Stringetag()Returns the value of theetagrecord component.@Nullable GitPlanExecutionModeReturns the value of theexecutionModerecord 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.Returns the value of theoperationsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
COMMIT
Commit, for queries: The Git commit which contains the source. -
OPERATIONS
Operations, for queries: The operations that will be performed to read in the resource. -
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 aGitPullPlanrecord class.- Parameters:
etag- the value for theetagrecord componentid- the value for theidrecord componentbranch- the value for thebranchrecord componentforce- the value for theforcerecord componentcommit- the value for thecommitrecord componentoperations- the value for theoperationsrecord componentexecutionMode- the value for theexecutionModerecord 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
-
commit
-
operations
Returns the value of theoperationsrecord component.- Returns:
- the value of the
operationsrecord component
-
executionMode
Returns the value of theexecutionModerecord component.- Returns:
- the value of the
executionModerecord component
-