Record Class Git
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Git
- Record Components:
url- The URL of the remote Git repository.deployment- The deployment chosen for current Git operations.deployedCommit- The last commit of the source that is pulled to the server.remote- The information of the remote Git repository.config- The configuration parameters.
@Generated("io.skipcheck.tm1.codegen")
@Since("11.5.0")
public record Git(@Nullable String url, @Nullable String deployment, @Nullable GitCommit deployedCommit, @Nullable GitRemote remote, @Nullable GitConfiguration config)
extends Record
The
Git complex type of the TM1 REST API.
Generated from $metadata. Every component is nullable: $select can leave any property out. Null components aren't sent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyConfig, for queries: The configuration parameters.static final ODataPropertyDeployedCommit, for queries: The last commit of the source that is pulled to the server.static final ODataPropertyDeployment, for queries: The deployment chosen for current Git operations.static final ODataPropertyRemote, for queries: The information of the remote Git repository.static final ODataPropertyURL, for queries: The URL of the remote Git repository. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable GitConfigurationconfig()Returns the value of theconfigrecord component.@Nullable GitCommitReturns the value of thedeployedCommitrecord component.@Nullable StringReturns the value of thedeploymentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable GitRemoteremote()Returns the value of theremoterecord component.final StringtoString()Returns a string representation of this record class.@Nullable Stringurl()Returns the value of theurlrecord component.
-
Field Details
-
URL
URL, for queries: The URL of the remote Git repository. -
DEPLOYMENT
Deployment, for queries: The deployment chosen for current Git operations. -
DEPLOYED_COMMIT
DeployedCommit, for queries: The last commit of the source that is pulled to the server. -
REMOTE
Remote, for queries: The information of the remote Git repository. -
CONFIG
Config, for queries: The configuration parameters.
-
-
Constructor Details
-
Git
public Git(@Nullable String url, @Nullable String deployment, @Nullable GitCommit deployedCommit, @Nullable GitRemote remote, @Nullable GitConfiguration config) Creates an instance of aGitrecord class.- Parameters:
url- the value for theurlrecord componentdeployment- the value for thedeploymentrecord componentdeployedCommit- the value for thedeployedCommitrecord componentremote- the value for theremoterecord componentconfig- the value for theconfigrecord 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). -
url
-
deployment
Returns the value of thedeploymentrecord component.- Returns:
- the value of the
deploymentrecord component
-
deployedCommit
Returns the value of thedeployedCommitrecord component.- Returns:
- the value of the
deployedCommitrecord component
-
remote
-
config
-