123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <?php
- // This file is auto-generated, don't edit it. Thanks.
- namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
- use AlibabaCloud\Tea\Model;
- class DeleteSmsSignRequest extends Model
- {
- /**
- * @var int
- */
- public $ownerId;
- /**
- * @var string
- */
- public $resourceOwnerAccount;
- /**
- * @var int
- */
- public $resourceOwnerId;
- /**
- * @var string
- */
- public $signName;
- protected $_name = [
- 'ownerId' => 'OwnerId',
- 'resourceOwnerAccount' => 'ResourceOwnerAccount',
- 'resourceOwnerId' => 'ResourceOwnerId',
- 'signName' => 'SignName',
- ];
- public function validate()
- {
- }
- public function toMap()
- {
- $res = [];
- if (null !== $this->ownerId) {
- $res['OwnerId'] = $this->ownerId;
- }
- if (null !== $this->resourceOwnerAccount) {
- $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount;
- }
- if (null !== $this->resourceOwnerId) {
- $res['ResourceOwnerId'] = $this->resourceOwnerId;
- }
- if (null !== $this->signName) {
- $res['SignName'] = $this->signName;
- }
- return $res;
- }
- /**
- * @param array $map
- *
- * @return DeleteSmsSignRequest
- */
- public static function fromMap($map = [])
- {
- $model = new self();
- if (isset($map['OwnerId'])) {
- $model->ownerId = $map['OwnerId'];
- }
- if (isset($map['ResourceOwnerAccount'])) {
- $model->resourceOwnerAccount = $map['ResourceOwnerAccount'];
- }
- if (isset($map['ResourceOwnerId'])) {
- $model->resourceOwnerId = $map['ResourceOwnerId'];
- }
- if (isset($map['SignName'])) {
- $model->signName = $map['SignName'];
- }
- return $model;
- }
- }
|