You are here

class GetAttributesEnumeration in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/Tools/Model/GetAttributesEnumeration.php \Drupal\sendinblue\Tools\Model\GetAttributesEnumeration

Hierarchy

Expanded class hierarchy of GetAttributesEnumeration

File

src/Tools/Model/GetAttributesEnumeration.php, line 8

Namespace

Drupal\sendinblue\Tools\Model
View 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

Namesort descending Modifiers Type Description Overrides
GetAttributesEnumeration::$label public property @var string
GetAttributesEnumeration::$value public property @var int
GetAttributesEnumeration::getLabel public function
GetAttributesEnumeration::getValue public function
GetAttributesEnumeration::setLabel public function
GetAttributesEnumeration::setValue public function
GetAttributesEnumeration::__construct public function GetAttributesEnumeration constructor.