Record Class Entry.Plain
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Entry.Plain
- 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)
- All Implemented Interfaces:
Entry
- Enclosing interface:
Entry
@Generated("io.skipcheck.tm1.codegen")
public static record Entry.Plain(@Nullable String etag, @Nullable String id, @Nullable String name, @Nullable Attributes attributes, @Nullable Folder containedBy, @Nullable List<LocalizedAttributes> localizedAttributes)
extends Record
implements Entry
A
Entry that's no subtype (@odata.type #ibm.tm1.api.v1.Entry, or none), or of a subtype this client doesn't know: then only the Entry properties are read.
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
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
ConstructorsConstructorDescriptionPlain(@Nullable String etag, @Nullable String id, @Nullable String name, @Nullable Attributes attributes, @Nullable Folder containedBy, @Nullable List<LocalizedAttributes> localizedAttributes) Creates an instance of aPlainrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable AttributesReturns the value of theattributesrecord 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.
-
Constructor Details
-
Plain
public Plain(@Nullable String etag, @Deprecated(since="11.5.0") @Nullable String id, @Nullable String name, @Nullable Attributes attributes, @Nullable Folder containedBy, @Nullable List<LocalizedAttributes> localizedAttributes) Creates an instance of aPlainrecord 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 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
-