class GetAttributesEnumeration in SendinBlue 8
Same name and namespace in other branches
- 8.2 src/Tools/Model/GetAttributesEnumeration.php \Drupal\sendinblue\Tools\Model\GetAttributesEnumeration
Hierarchy
- class \Drupal\sendinblue\Tools\Model\GetAttributesEnumeration
Expanded class hierarchy of GetAttributesEnumeration
File
- src/
Tools/ Model/ GetAttributesEnumeration.php, line 8
Namespace
Drupal\sendinblue\Tools\ModelView source
class GetAttributesEnumeration {
/**
* @var int*/
public $value;
/**
* @var string*/
public $label;
/**
* GetAttributesEnumeration constructor.
*
* @param int $value
*/
public function __construct(array $data = []) {
$this->value = $data['value'];
$this->label = $data['label'];
}
/**
* @return int
*/
public function getValue() : int {
return $this->value;
}
/**
* @param int $value
*/
public function setValue(int $value) {
$this->value = $value;
}
/**
* @return string
*/
public function getLabel() : string {
return $this->label;
}
/**
* @param string $label
*/
public function setLabel(string $label) {
$this->label = $label;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GetAttributesEnumeration:: |
public | property | @var string | |
GetAttributesEnumeration:: |
public | property | @var int | |
GetAttributesEnumeration:: |
public | function | ||
GetAttributesEnumeration:: |
public | function | ||
GetAttributesEnumeration:: |
public | function | ||
GetAttributesEnumeration:: |
public | function | ||
GetAttributesEnumeration:: |
public | function | GetAttributesEnumeration constructor. |