You are here

GetAttributesEnumeration.php in SendinBlue 8

Same filename and directory in other branches
  1. 8.2 src/Tools/Model/GetAttributesEnumeration.php

File

src/Tools/Model/GetAttributesEnumeration.php
View source
<?php

namespace Drupal\sendinblue\Tools\Model;


/**
 *
 */
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;
  }

}

Classes