| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class InitializeResponse extends Response |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string|null |
||
| 15 | * @SerializedName("Token") |
||
| 16 | * @Type("string") |
||
| 17 | */ |
||
| 18 | private $token; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var \DateTime|null |
||
| 22 | * @SerializedName("Expiration") |
||
| 23 | * @Type("DateTime<'Y-m-d\TH:i:s.uT'>") |
||
| 24 | */ |
||
| 25 | private $expiration; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string|null |
||
| 29 | * @SerializedName("RedirectUrl") |
||
| 30 | * @Type("string") |
||
| 31 | */ |
||
| 32 | private $redirectUrl; |
||
| 33 | |||
| 34 | public function getToken(): ?string |
||
| 35 | { |
||
| 36 | return $this->token; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getExpiration(): ?\DateTime |
||
| 40 | { |
||
| 41 | return $this->expiration; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function getRedirectUrl(): ?string |
||
| 47 | } |
||
| 48 | } |
||
| 49 |