| 1: | <?php |
| 2: | namespace Hyperwallet\Model; |
| 3: | |
| 4: | /** |
| 5: | * Represents a V4 Authentication Token |
| 6: | * |
| 7: | * @property string $value The client token value |
| 8: | |
| 9: | * |
| 10: | * @package Hyperwallet\Model |
| 11: | */ |
| 12: | |
| 13: | class AuthenticationToken extends BaseModel { |
| 14: | |
| 15: | /** |
| 16: | * @internal |
| 17: | * |
| 18: | * Read only fields |
| 19: | * |
| 20: | * @var string[] |
| 21: | */ |
| 22: | private static $READ_ONLY_FIELDS = array('value'); |
| 23: | |
| 24: | /** |
| 25: | * Creates a instance of AuthenticationToken |
| 26: | * |
| 27: | * @param string[] $properties The default properties |
| 28: | */ |
| 29: | public function __construct(array $properties = array()) { |
| 30: | parent::__construct(self::$READ_ONLY_FIELDS, $properties); |
| 31: | } |
| 32: | |
| 33: | /** |
| 34: | * Get the client token value |
| 35: | * |
| 36: | * @return string |
| 37: | */ |
| 38: | public function getValue() { |
| 39: | return $this->value; |
| 40: | } |
| 41: | |
| 42: | } |
| 43: |