Record Class Annotation

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Annotation
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
id - The ID of the annotation.
text - The text of the annotation.
creator - The creator of the annotation.
created - The date that the annotation was created.
lastUpdatedBy - The ID of the element that updated the annotation.
lastUpdated - The date and time value of the last update of this annotation, with a time zone offset.
applicationContext - An interface to the collection of configuration information for the annotation. (when expanded)
dimensionalContext - An interface to the collection of dimensions for the annotation. (when expanded)
attachments - Attached documents that provide details and background. (when expanded)
dynamicProperties - the properties $metadata doesn't declare, which an open type can have, such as attribute values

@Generated("io.skipcheck.tm1.codegen") public record Annotation(@Nullable String etag, @Nullable String id, @Nullable String text, @Nullable String creator, @Nullable OffsetDateTime created, @Nullable String lastUpdatedBy, @Nullable OffsetDateTime lastUpdated, @Nullable List<ApplicationContextFacetValue> applicationContext, @Nullable List<Member> dimensionalContext, @Nullable List<Attachment> attachments, @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties) extends Record
An element that represents a single annotation.

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.

  • Field Details

    • ID

      public static final ODataProperty ID
      ID, for queries: The ID of the annotation.
    • TEXT

      public static final ODataProperty TEXT
      Text, for queries: The text of the annotation.
    • CREATOR

      public static final ODataProperty CREATOR
      Creator, for queries: The creator of the annotation.
    • CREATED

      public static final ODataProperty CREATED
      Created, for queries: The date that the annotation was created.
    • LAST_UPDATED_BY

      public static final ODataProperty LAST_UPDATED_BY
      LastUpdatedBy, for queries: The ID of the element that updated the annotation.
    • LAST_UPDATED

      public static final ODataProperty LAST_UPDATED
      LastUpdated, for queries: The date and time value of the last update of this annotation, with a time zone offset.
    • APPLICATION_CONTEXT

      public static final ODataProperty APPLICATION_CONTEXT
      ApplicationContext, for queries: An interface to the collection of configuration information for the annotation. (a navigation property, for $expand)
    • DIMENSIONAL_CONTEXT

      public static final ODataProperty DIMENSIONAL_CONTEXT
      DimensionalContext, for queries: An interface to the collection of dimensions for the annotation. (a navigation property, for $expand)
    • ATTACHMENTS

      public static final ODataProperty ATTACHMENTS
      Attachments, for queries: Attached documents that provide details and background. (a navigation property, for $expand)
  • Constructor Details

    • Annotation

      public Annotation(@Nullable String etag, @Nullable String id, @Nullable String text, @Nullable String creator, @Nullable OffsetDateTime created, @Nullable String lastUpdatedBy, @Nullable OffsetDateTime lastUpdated, @Nullable List<ApplicationContextFacetValue> applicationContext, @Nullable List<Member> dimensionalContext, @Nullable List<Attachment> attachments, @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties)
      Creates an instance of a Annotation record class.
      Parameters:
      etag - the value for the etag record component
      id - the value for the id record component
      text - the value for the text record component
      creator - the value for the creator record component
      created - the value for the created record component
      lastUpdatedBy - the value for the lastUpdatedBy record component
      lastUpdated - the value for the lastUpdated record component
      applicationContext - the value for the applicationContext record component
      dimensionalContext - the value for the dimensionalContext record component
      attachments - the value for the attachments record component
      dynamicProperties - the value for the dynamicProperties 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.
    • etag

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

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

      public @Nullable String text()
      Returns the value of the text record component.
      Returns:
      the value of the text record component
    • creator

      public @Nullable String creator()
      Returns the value of the creator record component.
      Returns:
      the value of the creator record component
    • created

      public @Nullable OffsetDateTime created()
      Returns the value of the created record component.
      Returns:
      the value of the created record component
    • lastUpdatedBy

      public @Nullable String lastUpdatedBy()
      Returns the value of the lastUpdatedBy record component.
      Returns:
      the value of the lastUpdatedBy record component
    • lastUpdated

      public @Nullable OffsetDateTime lastUpdated()
      Returns the value of the lastUpdated record component.
      Returns:
      the value of the lastUpdated record component
    • applicationContext

      public @Nullable List<ApplicationContextFacetValue> applicationContext()
      Returns the value of the applicationContext record component.
      Returns:
      the value of the applicationContext record component
    • dimensionalContext

      public @Nullable List<Member> dimensionalContext()
      Returns the value of the dimensionalContext record component.
      Returns:
      the value of the dimensionalContext record component
    • attachments

      public @Nullable List<Attachment> attachments()
      Returns the value of the attachments record component.
      Returns:
      the value of the attachments record component
    • dynamicProperties

      public @Nullable Map<String, tools.jackson.databind.JsonNode> dynamicProperties()
      Returns the value of the dynamicProperties record component.
      Returns:
      the value of the dynamicProperties record component