@bloock/sdk / IntegerAttributeDescriptor
Class: IntegerAttributeDescriptor
Represents a descriptor for an attribute with an integer value.
Hierarchy
-
↳
IntegerAttributeDescriptor
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new IntegerAttributeDescriptor(displayName
, technicalName
, description
, required
): IntegerAttributeDescriptor
Constructs an AttributeDescriptor object with the specified parameters.
Parameters
Name | Type |
---|---|
displayName | string |
technicalName | string |
description | string |
required | boolean |
Returns
Inherited from
AttributeDescriptor.constructor
Defined in
entity/identity/attribute_descriptor.ts:29
Properties
description
• Optional
description: string
Is a description providing additional information about the attribute.
Inherited from
AttributeDescriptor.description
Defined in
entity/identity/attribute_descriptor.ts:16
displayName
• displayName: string
Is the human-readable display name of the attribute.
Inherited from
AttributeDescriptor.displayName
Defined in
entity/identity/attribute_descriptor.ts:8
required
• required: boolean
Specifies whether the attribute is required.
Inherited from
Defined in
entity/identity/attribute_descriptor.ts:20
technicalName
• technicalName: string
Is the identifier for the attribute.
Inherited from
AttributeDescriptor.technicalName
Defined in
entity/identity/attribute_descriptor.ts:12
Methods
toProto
▸ toProto(): IntegerAttributeDefinition
Returns
IntegerAttributeDefinition
Defined in
entity/identity/integer_attribute_descriptor.ts:8
fromProto
▸ fromProto(r
): IntegerAttributeDescriptor
Parameters
Name | Type |
---|---|
r | IntegerAttributeDefinition |