Record Class GitCommit

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.GitCommit
Record Components:
id - The ID of the Git commit.
summary - The summary of the Git commit.
author - The author of the Git commit.

@Generated("io.skipcheck.tm1.codegen") @Since("11.5.0") public record GitCommit(@Nullable String id, @Nullable String summary, @Nullable String author) extends Record
The GitCommit 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
    Author, for queries: The author of the Git commit.
    static final ODataProperty
    ID, for queries: The ID of the Git commit.
    static final ODataProperty
    Summary, for queries: The summary of the Git commit.
  • Constructor Summary

    Constructors
    Constructor
    Description
    GitCommit(@Nullable String id, @Nullable String summary, @Nullable String author)
    Creates an instance of a GitCommit record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Returns the value of the author 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 String
    id()
    Returns the value of the id record component.
    @Nullable String
    Returns the value of the summary 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

    • ID

      public static final ODataProperty ID
      ID, for queries: The ID of the Git commit.
    • SUMMARY

      public static final ODataProperty SUMMARY
      Summary, for queries: The summary of the Git commit.
    • AUTHOR

      public static final ODataProperty AUTHOR
      Author, for queries: The author of the Git commit.
  • Constructor Details

    • GitCommit

      public GitCommit(@Nullable String id, @Nullable String summary, @Nullable String author)
      Creates an instance of a GitCommit record class.
      Parameters:
      id - the value for the id record component
      summary - the value for the summary record component
      author - the value for the author 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.
    • id

      public @Nullable String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • summary

      public @Nullable String summary()
      Returns the value of the summary record component.
      Returns:
      the value of the summary record component
    • author

      public @Nullable String author()
      Returns the value of the author record component.
      Returns:
      the value of the author record component