Record Class AttributeDefinition
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.AttributeDefinition
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchname- The name of the attribute.type- The type of the attribute.
@Generated("io.skipcheck.tm1.codegen")
@Since("10.2.2.1")
public record AttributeDefinition(@Nullable String etag, @Nullable String name, @Nullable AttributeType type)
extends Record
An interface to describe an attribute.
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 ODataPropertyName, for queries: The name of the attribute.static final ODataPropertyType, for queries: The type of the attribute. -
Constructor Summary
ConstructorsConstructorDescriptionAttributeDefinition(@Nullable String etag, @Nullable String name, @Nullable AttributeType type) Creates an instance of aAttributeDefinitionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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 Stringname()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.@Nullable AttributeTypetype()Returns the value of thetyperecord component.
-
Field Details
-
NAME
Name, for queries: The name of the attribute. -
TYPE
Type, for queries: The type of the attribute.
-
-
Constructor Details
-
AttributeDefinition
public AttributeDefinition(@Nullable String etag, @Nullable String name, @Nullable AttributeType type) Creates an instance of aAttributeDefinitionrecord class.
-
-
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
-
name
-
type
-