'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; } }