Record Class ChoreReference
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.ChoreReference
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchid- The ID of the entry.. Deprecated in TM1 schema 11.5.0.name- The name of the entry.attributes- The attributes of the entry.containedBy- The folder that contains the entries. (when expanded)localizedAttributes- Translated string values for properties of the entry. (when expanded)chore- The chore that is referenced. (when expanded)
- All Implemented Interfaces:
Entry
@Generated("io.skipcheck.tm1.codegen")
@Since("10.2.2.1")
public record ChoreReference(@Nullable String etag, @Nullable String id, @Nullable String name, @Nullable Attributes attributes, @Nullable Folder containedBy, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable Chore chore)
extends Record
implements Entry
A reference to a chore.
A kind of Entry, read and sent with @odata.type #ibm.tm1.api.v1.ChoreReference.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Entry
Entry.PlainModifier and TypeInterfaceDescriptionstatic final recordAEntrythat's no subtype (@odata.type#ibm.tm1.api.v1.Entry, or none), or of a subtype this client doesn't know: then only theEntryproperties are read. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyChore, for queries: The chore that is referenced.Fields inherited from interface Entry
ATTRIBUTES, CONTAINED_BY, ID, LOCALIZED_ATTRIBUTES, NAMEModifier and TypeFieldDescriptionstatic final ODataPropertyAttributes, for queries: The attributes of the entry.static final ODataPropertyContainedBy, for queries: The folder that contains the entries.static final ODataPropertyDeprecated.Deprecated in TM1 schema 11.5.0.static final ODataPropertyLocalizedAttributes, for queries: Translated string values for properties of the entry.static final ODataPropertyName, for queries: The name of the entry. -
Constructor Summary
ConstructorsConstructorDescriptionChoreReference(@Nullable String etag, @Nullable String id, @Nullable String name, @Nullable Attributes attributes, @Nullable Folder containedBy, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable Chore chore) Creates an instance of aChoreReferencerecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable AttributesReturns the value of theattributesrecord component.@Nullable Chorechore()Returns the value of thechorerecord component.@Nullable FolderReturns the value of thecontainedByrecord 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()Deprecated.@Nullable List<LocalizedAttributes> Returns the value of thelocalizedAttributesrecord component.@Nullable Stringname()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CHORE
Chore, for queries: The chore that is referenced. (a navigation property, for$expand)
-
-
Constructor Details
-
ChoreReference
public ChoreReference(@Nullable String etag, @Deprecated(since="11.5.0") @Nullable String id, @Nullable String name, @Nullable Attributes attributes, @Nullable Folder containedBy, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable Chore chore) Creates an instance of aChoreReferencerecord class.- Parameters:
etag- the value for theetagrecord componentid- the value for theidrecord componentname- the value for thenamerecord componentattributes- the value for theattributesrecord componentcontainedBy- the value for thecontainedByrecord componentlocalizedAttributes- the value for thelocalizedAttributesrecord componentchore- the value for thechorerecord 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
-
name
-
attributes
Returns the value of theattributesrecord component.- Specified by:
attributesin interfaceEntry- Returns:
- the value of the
attributesrecord component
-
containedBy
Returns the value of thecontainedByrecord component.- Specified by:
containedByin interfaceEntry- Returns:
- the value of the
containedByrecord component
-
localizedAttributes
Returns the value of thelocalizedAttributesrecord component.- Specified by:
localizedAttributesin interfaceEntry- Returns:
- the value of the
localizedAttributesrecord component
-
chore
-