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