Skip to content

Commit 56ae88f

Browse files
1 parent a10f390 commit 56ae88f

8 files changed

Lines changed: 427 additions & 1 deletion

File tree

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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\AndroidManagement;
19+
20+
class AddEsimParams extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $activationCode;
26+
/**
27+
* @var string
28+
*/
29+
public $activationState;
30+
31+
/**
32+
* @param string
33+
*/
34+
public function setActivationCode($activationCode)
35+
{
36+
$this->activationCode = $activationCode;
37+
}
38+
/**
39+
* @return string
40+
*/
41+
public function getActivationCode()
42+
{
43+
return $this->activationCode;
44+
}
45+
/**
46+
* @param string
47+
*/
48+
public function setActivationState($activationState)
49+
{
50+
$this->activationState = $activationState;
51+
}
52+
/**
53+
* @return string
54+
*/
55+
public function getActivationState()
56+
{
57+
return $this->activationState;
58+
}
59+
}
60+
61+
// Adding a class alias for backwards compatibility with the previous class name.
62+
class_alias(AddEsimParams::class, 'Google_Service_AndroidManagement_AddEsimParams');

src/AndroidManagement/Command.php

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
class Command extends \Google\Collection
2121
{
2222
protected $collection_key = 'resetPasswordFlags';
23+
protected $addEsimParamsType = AddEsimParams::class;
24+
protected $addEsimParamsDataType = '';
2325
protected $clearAppsDataParamsType = ClearAppsDataParams::class;
2426
protected $clearAppsDataParamsDataType = '';
2527
protected $clearAppsDataStatusType = ClearAppsDataStatus::class;
@@ -36,10 +38,14 @@ class Command extends \Google\Collection
3638
* @var string
3739
*/
3840
public $errorCode;
41+
protected $esimStatusType = EsimCommandStatus::class;
42+
protected $esimStatusDataType = '';
3943
/**
4044
* @var string
4145
*/
4246
public $newPassword;
47+
protected $removeEsimParamsType = RemoveEsimParams::class;
48+
protected $removeEsimParamsDataType = '';
4349
protected $requestDeviceInfoParamsType = RequestDeviceInfoParams::class;
4450
protected $requestDeviceInfoParamsDataType = '';
4551
protected $requestDeviceInfoStatusType = RequestDeviceInfoStatus::class;
@@ -65,6 +71,20 @@ class Command extends \Google\Collection
6571
*/
6672
public $userName;
6773

74+
/**
75+
* @param AddEsimParams
76+
*/
77+
public function setAddEsimParams(AddEsimParams $addEsimParams)
78+
{
79+
$this->addEsimParams = $addEsimParams;
80+
}
81+
/**
82+
* @return AddEsimParams
83+
*/
84+
public function getAddEsimParams()
85+
{
86+
return $this->addEsimParams;
87+
}
6888
/**
6989
* @param ClearAppsDataParams
7090
*/
@@ -135,6 +155,20 @@ public function getErrorCode()
135155
{
136156
return $this->errorCode;
137157
}
158+
/**
159+
* @param EsimCommandStatus
160+
*/
161+
public function setEsimStatus(EsimCommandStatus $esimStatus)
162+
{
163+
$this->esimStatus = $esimStatus;
164+
}
165+
/**
166+
* @return EsimCommandStatus
167+
*/
168+
public function getEsimStatus()
169+
{
170+
return $this->esimStatus;
171+
}
138172
/**
139173
* @param string
140174
*/
@@ -149,6 +183,20 @@ public function getNewPassword()
149183
{
150184
return $this->newPassword;
151185
}
186+
/**
187+
* @param RemoveEsimParams
188+
*/
189+
public function setRemoveEsimParams(RemoveEsimParams $removeEsimParams)
190+
{
191+
$this->removeEsimParams = $removeEsimParams;
192+
}
193+
/**
194+
* @return RemoveEsimParams
195+
*/
196+
public function getRemoveEsimParams()
197+
{
198+
return $this->removeEsimParams;
199+
}
152200
/**
153201
* @param RequestDeviceInfoParams
154202
*/
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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\AndroidManagement;
19+
20+
class EsimCommandStatus extends \Google\Model
21+
{
22+
protected $esimInfoType = EsimInfo::class;
23+
protected $esimInfoDataType = '';
24+
protected $internalErrorDetailsType = InternalErrorDetails::class;
25+
protected $internalErrorDetailsDataType = '';
26+
/**
27+
* @var string
28+
*/
29+
public $status;
30+
31+
/**
32+
* @param EsimInfo
33+
*/
34+
public function setEsimInfo(EsimInfo $esimInfo)
35+
{
36+
$this->esimInfo = $esimInfo;
37+
}
38+
/**
39+
* @return EsimInfo
40+
*/
41+
public function getEsimInfo()
42+
{
43+
return $this->esimInfo;
44+
}
45+
/**
46+
* @param InternalErrorDetails
47+
*/
48+
public function setInternalErrorDetails(InternalErrorDetails $internalErrorDetails)
49+
{
50+
$this->internalErrorDetails = $internalErrorDetails;
51+
}
52+
/**
53+
* @return InternalErrorDetails
54+
*/
55+
public function getInternalErrorDetails()
56+
{
57+
return $this->internalErrorDetails;
58+
}
59+
/**
60+
* @param string
61+
*/
62+
public function setStatus($status)
63+
{
64+
$this->status = $status;
65+
}
66+
/**
67+
* @return string
68+
*/
69+
public function getStatus()
70+
{
71+
return $this->status;
72+
}
73+
}
74+
75+
// Adding a class alias for backwards compatibility with the previous class name.
76+
class_alias(EsimCommandStatus::class, 'Google_Service_AndroidManagement_EsimCommandStatus');

src/AndroidManagement/EsimInfo.php

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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\AndroidManagement;
19+
20+
class EsimInfo extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $iccId;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setIccId($iccId)
31+
{
32+
$this->iccId = $iccId;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getIccId()
38+
{
39+
return $this->iccId;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(EsimInfo::class, 'Google_Service_AndroidManagement_EsimInfo');
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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\AndroidManagement;
19+
20+
class InternalErrorDetails extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $errorCode;
26+
/**
27+
* @var string
28+
*/
29+
public $errorCodeDetail;
30+
/**
31+
* @var string
32+
*/
33+
public $operationCode;
34+
/**
35+
* @var string
36+
*/
37+
public $operationCodeDetail;
38+
39+
/**
40+
* @param string
41+
*/
42+
public function setErrorCode($errorCode)
43+
{
44+
$this->errorCode = $errorCode;
45+
}
46+
/**
47+
* @return string
48+
*/
49+
public function getErrorCode()
50+
{
51+
return $this->errorCode;
52+
}
53+
/**
54+
* @param string
55+
*/
56+
public function setErrorCodeDetail($errorCodeDetail)
57+
{
58+
$this->errorCodeDetail = $errorCodeDetail;
59+
}
60+
/**
61+
* @return string
62+
*/
63+
public function getErrorCodeDetail()
64+
{
65+
return $this->errorCodeDetail;
66+
}
67+
/**
68+
* @param string
69+
*/
70+
public function setOperationCode($operationCode)
71+
{
72+
$this->operationCode = $operationCode;
73+
}
74+
/**
75+
* @return string
76+
*/
77+
public function getOperationCode()
78+
{
79+
return $this->operationCode;
80+
}
81+
/**
82+
* @param string
83+
*/
84+
public function setOperationCodeDetail($operationCodeDetail)
85+
{
86+
$this->operationCodeDetail = $operationCodeDetail;
87+
}
88+
/**
89+
* @return string
90+
*/
91+
public function getOperationCodeDetail()
92+
{
93+
return $this->operationCodeDetail;
94+
}
95+
}
96+
97+
// Adding a class alias for backwards compatibility with the previous class name.
98+
class_alias(InternalErrorDetails::class, 'Google_Service_AndroidManagement_InternalErrorDetails');

0 commit comments

Comments
 (0)