Skip to main content

DecimalEnumAttributeDescriptor

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

Properties​

enumeration​

private \Google\Protobuf\Internal\RepeatedField $enumeration

Methods​

__construct​

Constructs an DecimalEnumAttributeDescriptor object with the specified parameters.

public __construct(string $displayName, string $technicalName, string|null $description, bool $required, \Google\Protobuf\Internal\RepeatedField $enumeration): mixed

Parameters:

ParameterTypeDescription
$displayNamestring
$technicalNamestring
$descriptionstring|null
$requiredbool
$enumeration\Google\Protobuf\Internal\RepeatedField

fromProto​

public static fromProto(\Bloock\DecimalEnumAttributeDefinition $res): \Bloock\Entity\Identity\DecimalEnumAttributeDescriptor
  • This method is static.

Parameters:

ParameterTypeDescription
$res\Bloock\DecimalEnumAttributeDefinition

toProto​

public toProto(): \Bloock\DecimalEnumAttributeDefinition

Inherited methods​

__construct​

public __construct(string $displayName, string $technicalName, string|null $description, bool $required): mixed

Parameters:

ParameterTypeDescription
$displayNamestring
$technicalNamestring
$descriptionstring|null
$requiredbool


Automatically generated on 2024-04-17