Record Class Folder
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.Folder
- 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)contents- A collection of entries that are in the folder. (when expanded)privateContents- A collection of private entries that are in the folder. (when expanded)
- All Implemented Interfaces:
Entry
@Generated("io.skipcheck.tm1.codegen")
@Since("10.2.2.1")
public record Folder(@Nullable String etag, @Nullable String id, @Nullable String name, @Nullable Attributes attributes, @Nullable Folder containedBy, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable List<Entry> contents, @Nullable List<Entry> privateContents)
extends Record
implements Entry
A container for related TM1 objects.
A kind of Entry, read and sent with @odata.type #ibm.tm1.api.v1.Folder.
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 ODataPropertyContents, for queries: A collection of entries that are in the folder.static final ODataPropertyPrivateContents, for queries: A collection of private entries that are in the folder.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
ConstructorsConstructorDescriptionFolder(@Nullable String etag, @Nullable String id, @Nullable String name, @Nullable Attributes attributes, @Nullable Folder containedBy, @Nullable List<LocalizedAttributes> localizedAttributes, @Nullable List<Entry> contents, @Nullable List<Entry> privateContents) Creates an instance of aFolderrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable AttributesReturns the value of theattributesrecord component.@Nullable FolderReturns the value of thecontainedByrecord component.contents()Returns the value of thecontentsrecord 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.Returns the value of theprivateContentsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CONTENTS
Contents, for queries: A collection of entries that are in the folder. (a navigation property, for$expand) -
PRIVATE_CONTENTS
PrivateContents, for queries: A collection of private entries that are in the folder. (a navigation property, for$expand)
-
-
Constructor Details
-
Folder
public Folder(@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 List<Entry> contents, @Nullable List<Entry> privateContents) Creates an instance of aFolderrecord 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 componentcontents- the value for thecontentsrecord componentprivateContents- the value for theprivateContentsrecord 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
-
contents
-
privateContents
Returns the value of theprivateContentsrecord component.- Returns:
- the value of the
privateContentsrecord component
-