1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\CloudSecurityToken;
19
20class GoogleIdentityStsV1ExchangeTokenResponse extends \Google\Model
21{
22  protected $internal_gapi_mappings = [
23        "accessToken" => "access_token",
24        "expiresIn" => "expires_in",
25        "issuedTokenType" => "issued_token_type",
26        "tokenType" => "token_type",
27  ];
28  /**
29   * @var string
30   */
31  public $accessToken;
32  /**
33   * @var int
34   */
35  public $expiresIn;
36  /**
37   * @var string
38   */
39  public $issuedTokenType;
40  /**
41   * @var string
42   */
43  public $tokenType;
44
45  /**
46   * @param string
47   */
48  public function setAccessToken($accessToken)
49  {
50    $this->accessToken = $accessToken;
51  }
52  /**
53   * @return string
54   */
55  public function getAccessToken()
56  {
57    return $this->accessToken;
58  }
59  /**
60   * @param int
61   */
62  public function setExpiresIn($expiresIn)
63  {
64    $this->expiresIn = $expiresIn;
65  }
66  /**
67   * @return int
68   */
69  public function getExpiresIn()
70  {
71    return $this->expiresIn;
72  }
73  /**
74   * @param string
75   */
76  public function setIssuedTokenType($issuedTokenType)
77  {
78    $this->issuedTokenType = $issuedTokenType;
79  }
80  /**
81   * @return string
82   */
83  public function getIssuedTokenType()
84  {
85    return $this->issuedTokenType;
86  }
87  /**
88   * @param string
89   */
90  public function setTokenType($tokenType)
91  {
92    $this->tokenType = $tokenType;
93  }
94  /**
95   * @return string
96   */
97  public function getTokenType()
98  {
99    return $this->tokenType;
100  }
101}
102
103// Adding a class alias for backwards compatibility with the previous class name.
104class_alias(GoogleIdentityStsV1ExchangeTokenResponse::class, 'Google_Service_CloudSecurityToken_GoogleIdentityStsV1ExchangeTokenResponse');
105