1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- // This file is auto-generated, don't edit it. Thanks.
- namespace AlibabaCloud\SDK\Sts\V20150401\Models\AssumeRoleResponseBody;
- use AlibabaCloud\Tea\Model;
- class assumedRoleUser extends Model
- {
- /**
- * @var string
- */
- public $arn;
- /**
- * @var string
- */
- public $assumedRoleId;
- protected $_name = [
- 'arn' => 'Arn',
- 'assumedRoleId' => 'AssumedRoleId',
- ];
- public function validate()
- {
- }
- public function toMap()
- {
- $res = [];
- if (null !== $this->arn) {
- $res['Arn'] = $this->arn;
- }
- if (null !== $this->assumedRoleId) {
- $res['AssumedRoleId'] = $this->assumedRoleId;
- }
- return $res;
- }
- /**
- * @param array $map
- *
- * @return assumedRoleUser
- */
- public static function fromMap($map = [])
- {
- $model = new self();
- if (isset($map['Arn'])) {
- $model->arn = $map['Arn'];
- }
- if (isset($map['AssumedRoleId'])) {
- $model->assumedRoleId = $map['AssumedRoleId'];
- }
- return $model;
- }
- }
|