You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
think-library/vendor/alibabacloud/dysmsapi-20170525/src/Models/QuerySendDetailsRequest.php

132 lines
3.0 KiB

<?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 int
*/
public $ownerId;
/**
* @var string
*/
public $resourceOwnerAccount;
/**
* @var int
*/
public $resourceOwnerId;
/**
* @var string
*/
public $phoneNumber;
/**
* @var string
*/
public $bizId;
/**
* @var string
*/
public $sendDate;
/**
* @var int
*/
public $pageSize;
/**
* @var int
*/
public $currentPage;
protected $_name = [
'ownerId' => 'OwnerId',
'resourceOwnerAccount' => 'ResourceOwnerAccount',
'resourceOwnerId' => 'ResourceOwnerId',
'phoneNumber' => 'PhoneNumber',
'bizId' => 'BizId',
'sendDate' => 'SendDate',
'pageSize' => 'PageSize',
'currentPage' => 'CurrentPage',
];
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->phoneNumber) {
$res['PhoneNumber'] = $this->phoneNumber;
}
if (null !== $this->bizId) {
$res['BizId'] = $this->bizId;
}
if (null !== $this->sendDate) {
$res['SendDate'] = $this->sendDate;
}
if (null !== $this->pageSize) {
$res['PageSize'] = $this->pageSize;
}
if (null !== $this->currentPage) {
$res['CurrentPage'] = $this->currentPage;
}
return $res;
}
/**
* @param array $map
*
* @return QuerySendDetailsRequest
*/
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['PhoneNumber'])) {
$model->phoneNumber = $map['PhoneNumber'];
}
if (isset($map['BizId'])) {
$model->bizId = $map['BizId'];
}
if (isset($map['SendDate'])) {
$model->sendDate = $map['SendDate'];
}
if (isset($map['PageSize'])) {
$model->pageSize = $map['PageSize'];
}
if (isset($map['CurrentPage'])) {
$model->currentPage = $map['CurrentPage'];
}
return $model;
}
}