Record Class Annotation
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Annotation
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchid- 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$metadatadoesn'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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyApplicationContext, for queries: An interface to the collection of configuration information for the annotation.static final ODataPropertyAttachments, for queries: Attached documents that provide details and background.static final ODataPropertyCreated, for queries: The date that the annotation was created.static final ODataPropertyCreator, for queries: The creator of the annotation.static final ODataPropertyDimensionalContext, for queries: An interface to the collection of dimensions for the annotation.static final ODataPropertyID, for queries: The ID of the annotation.static final ODataPropertyLastUpdated, for queries: The date and time value of the last update of this annotation, with a time zone offset.static final ODataPropertyLastUpdatedBy, for queries: The ID of the element that updated the annotation.static final ODataPropertyText, for queries: The text of the annotation. -
Constructor Summary
ConstructorsConstructorDescriptionAnnotation(@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 aAnnotationrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable List<ApplicationContextFacetValue> Returns the value of theapplicationContextrecord component.@Nullable List<Attachment> Returns the value of theattachmentsrecord component.@Nullable OffsetDateTimecreated()Returns the value of thecreatedrecord component.@Nullable Stringcreator()Returns the value of thecreatorrecord component.Returns the value of thedimensionalContextrecord component.Returns the value of thedynamicPropertiesrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable Stringetag()Returns the value of theetagrecord component.final inthashCode()Returns a hash code value for this object.@Nullable Stringid()Returns the value of theidrecord component.@Nullable OffsetDateTimeReturns the value of thelastUpdatedrecord component.@Nullable StringReturns the value of thelastUpdatedByrecord component.@Nullable Stringtext()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
ID
ID, for queries: The ID of the annotation. -
TEXT
Text, for queries: The text of the annotation. -
CREATOR
Creator, for queries: The creator of the annotation. -
CREATED
Created, for queries: The date that the annotation was created. -
LAST_UPDATED_BY
LastUpdatedBy, for queries: The ID of the element that updated the annotation. -
LAST_UPDATED
LastUpdated, for queries: The date and time value of the last update of this annotation, with a time zone offset. -
APPLICATION_CONTEXT
ApplicationContext, for queries: An interface to the collection of configuration information for the annotation. (a navigation property, for$expand) -
DIMENSIONAL_CONTEXT
DimensionalContext, for queries: An interface to the collection of dimensions for the annotation. (a navigation property, for$expand) -
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 aAnnotationrecord class.- Parameters:
etag- the value for theetagrecord componentid- the value for theidrecord componenttext- the value for thetextrecord componentcreator- the value for thecreatorrecord componentcreated- the value for thecreatedrecord componentlastUpdatedBy- the value for thelastUpdatedByrecord componentlastUpdated- the value for thelastUpdatedrecord componentapplicationContext- the value for theapplicationContextrecord componentdimensionalContext- the value for thedimensionalContextrecord componentattachments- the value for theattachmentsrecord componentdynamicProperties- the value for thedynamicPropertiesrecord 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). -
etag
-
id
-
text
-
creator
-
created
-
lastUpdatedBy
Returns the value of thelastUpdatedByrecord component.- Returns:
- the value of the
lastUpdatedByrecord component
-
lastUpdated
Returns the value of thelastUpdatedrecord component.- Returns:
- the value of the
lastUpdatedrecord component
-
applicationContext
Returns the value of theapplicationContextrecord component.- Returns:
- the value of the
applicationContextrecord component
-
dimensionalContext
Returns the value of thedimensionalContextrecord component.- Returns:
- the value of the
dimensionalContextrecord component
-
attachments
Returns the value of theattachmentsrecord component.- Returns:
- the value of the
attachmentsrecord component
-
dynamicProperties
Returns the value of thedynamicPropertiesrecord component.- Returns:
- the value of the
dynamicPropertiesrecord component
-