Record Class GitRemote

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.GitRemote
Record Components:
connected - Indicates if the TM1 Server can connect to the remote Git repository.
branches - The branches in the remote Git repository.
tags - The tags in the remote Git repository.

@Generated("io.skipcheck.tm1.codegen") @Since("11.5.0") public record GitRemote(@Nullable Boolean connected, @Nullable List<String> branches, @Nullable List<String> tags) extends Record
The GitRemote 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

    Fields
    Modifier and Type
    Field
    Description
    static final ODataProperty
    Branches, for queries: The branches in the remote Git repository.
    static final ODataProperty
    Connected, for queries: Indicates if the TM1 Server can connect to the remote Git repository.
    static final ODataProperty
    Tags, for queries: The tags in the remote Git repository.
  • Constructor Summary

    Constructors
    Constructor
    Description
    GitRemote(@Nullable Boolean connected, @Nullable List<String> branches, @Nullable List<String> tags)
    Creates an instance of a GitRemote record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable List<String>
    Returns the value of the branches record component.
    @Nullable Boolean
    Returns the value of the connected record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    @Nullable List<String>
    Returns the value of the tags record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • CONNECTED

      public static final ODataProperty CONNECTED
      Connected, for queries: Indicates if the TM1 Server can connect to the remote Git repository.
    • BRANCHES

      public static final ODataProperty BRANCHES
      Branches, for queries: The branches in the remote Git repository.
    • TAGS

      public static final ODataProperty TAGS
      Tags, for queries: The tags in the remote Git repository.
  • Constructor Details

    • GitRemote

      public GitRemote(@Nullable Boolean connected, @Nullable List<String> branches, @Nullable List<String> tags)
      Creates an instance of a GitRemote record class.
      Parameters:
      connected - the value for the connected record component
      branches - the value for the branches record component
      tags - the value for the tags 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.
    • connected

      public @Nullable Boolean connected()
      Returns the value of the connected record component.
      Returns:
      the value of the connected record component
    • branches

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

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