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 |
|
---|
18 | namespace Google\Service\PlayIntegrity;
|
---|
19 |
|
---|
20 | class TokenPayloadExternal extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $accountDetailsType = AccountDetails::class;
|
---|
23 | protected $accountDetailsDataType = '';
|
---|
24 | protected $appIntegrityType = AppIntegrity::class;
|
---|
25 | protected $appIntegrityDataType = '';
|
---|
26 | protected $deviceIntegrityType = DeviceIntegrity::class;
|
---|
27 | protected $deviceIntegrityDataType = '';
|
---|
28 | protected $environmentDetailsType = EnvironmentDetails::class;
|
---|
29 | protected $environmentDetailsDataType = '';
|
---|
30 | protected $requestDetailsType = RequestDetails::class;
|
---|
31 | protected $requestDetailsDataType = '';
|
---|
32 | protected $testingDetailsType = TestingDetails::class;
|
---|
33 | protected $testingDetailsDataType = '';
|
---|
34 |
|
---|
35 | /**
|
---|
36 | * @param AccountDetails
|
---|
37 | */
|
---|
38 | public function setAccountDetails(AccountDetails $accountDetails)
|
---|
39 | {
|
---|
40 | $this->accountDetails = $accountDetails;
|
---|
41 | }
|
---|
42 | /**
|
---|
43 | * @return AccountDetails
|
---|
44 | */
|
---|
45 | public function getAccountDetails()
|
---|
46 | {
|
---|
47 | return $this->accountDetails;
|
---|
48 | }
|
---|
49 | /**
|
---|
50 | * @param AppIntegrity
|
---|
51 | */
|
---|
52 | public function setAppIntegrity(AppIntegrity $appIntegrity)
|
---|
53 | {
|
---|
54 | $this->appIntegrity = $appIntegrity;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @return AppIntegrity
|
---|
58 | */
|
---|
59 | public function getAppIntegrity()
|
---|
60 | {
|
---|
61 | return $this->appIntegrity;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @param DeviceIntegrity
|
---|
65 | */
|
---|
66 | public function setDeviceIntegrity(DeviceIntegrity $deviceIntegrity)
|
---|
67 | {
|
---|
68 | $this->deviceIntegrity = $deviceIntegrity;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @return DeviceIntegrity
|
---|
72 | */
|
---|
73 | public function getDeviceIntegrity()
|
---|
74 | {
|
---|
75 | return $this->deviceIntegrity;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @param EnvironmentDetails
|
---|
79 | */
|
---|
80 | public function setEnvironmentDetails(EnvironmentDetails $environmentDetails)
|
---|
81 | {
|
---|
82 | $this->environmentDetails = $environmentDetails;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @return EnvironmentDetails
|
---|
86 | */
|
---|
87 | public function getEnvironmentDetails()
|
---|
88 | {
|
---|
89 | return $this->environmentDetails;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @param RequestDetails
|
---|
93 | */
|
---|
94 | public function setRequestDetails(RequestDetails $requestDetails)
|
---|
95 | {
|
---|
96 | $this->requestDetails = $requestDetails;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @return RequestDetails
|
---|
100 | */
|
---|
101 | public function getRequestDetails()
|
---|
102 | {
|
---|
103 | return $this->requestDetails;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @param TestingDetails
|
---|
107 | */
|
---|
108 | public function setTestingDetails(TestingDetails $testingDetails)
|
---|
109 | {
|
---|
110 | $this->testingDetails = $testingDetails;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @return TestingDetails
|
---|
114 | */
|
---|
115 | public function getTestingDetails()
|
---|
116 | {
|
---|
117 | return $this->testingDetails;
|
---|
118 | }
|
---|
119 | }
|
---|
120 |
|
---|
121 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
122 | class_alias(TokenPayloadExternal::class, 'Google_Service_PlayIntegrity_TokenPayloadExternal');
|
---|