Skip to main content

@bloock/sdk / IntegerEnumAttributeDescriptor

Class: IntegerEnumAttributeDescriptor

Represents a descriptor for an attribute with an integer enum value.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new IntegerEnumAttributeDescriptor(displayName, technicalName, description, required, enumeration): IntegerEnumAttributeDescriptor

Constructs an IntegerEnumAttributeDescriptor object with the specified parameters.

Parameters

NameType
displayNamestring
technicalNamestring
descriptionstring
requiredboolean
enumerationnumber[]

Returns

IntegerEnumAttributeDescriptor

Overrides

AttributeDescriptor.constructor

Defined in

entity/identity/integer_enum_attribute_descriptor.ts:18

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


enumeration

enumeration: number[]

Defined in

entity/identity/integer_enum_attribute_descriptor.ts:8


required

required: boolean

Specifies whether the attribute is required.

Inherited from

AttributeDescriptor.required

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(): IntegerEnumAttributeDefinition

Returns

IntegerEnumAttributeDefinition

Defined in

entity/identity/integer_enum_attribute_descriptor.ts:29


fromProto

fromProto(r): IntegerEnumAttributeDescriptor

Parameters

NameType
rIntegerEnumAttributeDefinition

Returns

IntegerEnumAttributeDescriptor

Defined in

entity/identity/integer_enum_attribute_descriptor.ts:39