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 Details

    • URL

      public static final ODataProperty URL
      URL, for queries: The URL of the remote Git repository.
    • DEPLOYMENT

      public static final ODataProperty DEPLOYMENT
      Deployment, for queries: The deployment chosen for current Git operations.
    • DEPLOYED_COMMIT

      public static final ODataProperty DEPLOYED_COMMIT
      DeployedCommit, for queries: The last commit of the source that is pulled to the server.
    • REMOTE

      public static final ODataProperty REMOTE
      Remote, for queries: The information of the remote Git repository.
    • CONFIG

      public static final ODataProperty 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 a Git record class.
      Parameters:
      url - the value for the url record component
      deployment - the value for the deployment record component
      deployedCommit - the value for the deployedCommit record component
      remote - the value for the remote record component
      config - the value for the config 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.
    • url

      public @Nullable String url()
      Returns the value of the url record component.
      Returns:
      the value of the url record component
    • deployment

      public @Nullable String deployment()
      Returns the value of the deployment record component.
      Returns:
      the value of the deployment record component
    • deployedCommit

      public @Nullable GitCommit deployedCommit()
      Returns the value of the deployedCommit record component.
      Returns:
      the value of the deployedCommit record component
    • remote

      public @Nullable GitRemote remote()
      Returns the value of the remote record component.
      Returns:
      the value of the remote record component
    • config

      public @Nullable GitConfiguration config()
      Returns the value of the config record component.
      Returns:
      the value of the config record component