Skip to main content

IntegerEnumAttributeDescriptor

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

Properties​

enumeration​

private \Google\Protobuf\Internal\RepeatedField $enumeration

Methods​

__construct​

Constructs an IntegerEnumAttributeDescriptor 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\IntegerEnumAttributeDefinition $res): \Bloock\Entity\Identity\IntegerEnumAttributeDescriptor
  • This method is static.

Parameters:

ParameterTypeDescription
$res\Bloock\IntegerEnumAttributeDefinition

toProto​

public toProto(): \Bloock\IntegerEnumAttributeDefinition

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