├── bootstrap.php ├── .gitignore ├── autoload.php ├── README-CN.md ├── composer.json ├── README.md └── src └── Models ├── SendLogisticsSmsResponseBody └── data.php ├── QueryCardSmsTemplateRequest.php ├── SubmitSmsQualificationRequest ├── otherFiles.php └── businessLicensePics.php ├── UpdateSmsQualificationRequest ├── otherFiles.php └── businessLicensePics.php ├── CreateCardSmsTemplateResponseBody └── data.php ├── TagResourcesRequest └── tag.php ├── ListTagResourcesRequest └── tag.php ├── CheckMobilesCardSupportResponseBody ├── data │ └── queryResult.php └── data.php ├── QueryMobilesCardSupportResponseBody ├── data │ └── queryResult.php └── data.php ├── GetSmsSignResponseBody ├── auditInfo.php └── signIspRegisterDetailList │ └── registerStatusReasons.php ├── GetSmsTemplateResponseBody ├── auditInfo.php ├── fileUrlList.php └── moreDataFileUrlList.php ├── QuerySingleSmsQualificationResponseBody └── data │ ├── otherFiles.php │ └── businessLicensePics.php ├── AddSmsSignRequest └── signFileList.php ├── ModifySmsSignRequest └── signFileList.php ├── GetMediaResourceIdResponseBody └── data.php ├── TagResourcesResponseBody.php ├── UntagResourcesResponseBody.php ├── DeleteShortUrlResponseBody.php ├── ConversionDataIntlResponseBody.php ├── SmsConversionIntlResponseBody.php ├── SendCardSmsRequest └── cardObjects.php ├── AddShortUrlResponseBody └── data.php ├── QueryMobilesCardSupportShrinkRequest.php ├── QuerySmsSignListResponseBody └── smsSignList │ └── reason.php ├── QuerySmsTemplateListResponseBody └── smsTemplateList │ └── reason.php ├── ListTagResourcesResponseBody ├── tagResources.php └── tagResources │ └── tagResource.php ├── VerifyLogisticsSmsMailNoResponseBody └── data.php ├── QuerySendDetailsResponseBody └── smsSendDetailDTOs.php ├── SendSmsResponseBody.php ├── SendBatchSmsResponseBody.php ├── AddSmsSignResponseBody.php ├── DeleteSmsSignResponseBody.php ├── ModifySmsSignResponseBody.php ├── AddSmsTemplateResponseBody.php ├── DeleteSmsTemplateResponseBody.php ├── ModifySmsTemplateResponseBody.php ├── QueryCardSmsTemplateReportResponseBody └── data.php ├── CreateCardSmsTemplateShrinkRequest.php ├── QueryCardSmsTemplateResponseBody └── data.php ├── GetSmsSignRequest.php ├── QuerySmsSignRequest.php ├── RequiredPhoneCodeRequest.php ├── DeleteSmsSignRequest.php ├── QueryShortUrlRequest.php ├── GetSmsOcrOssInfoRequest.php ├── QuerySendStatisticsResponseBody └── data.php ├── DeleteShortUrlRequest.php ├── GetOSSInfoForUploadFileRequest.php ├── GetQualificationOssInfoRequest.php ├── AddShortUrlResponseBody.php ├── SendCardSmsResponseBody.php ├── QueryShortUrlResponseBody.php ├── GetCardSmsLinkResponseBody.php ├── GetSmsTemplateRequest.php ├── DeleteSmsTemplateRequest.php ├── QuerySmsTemplateRequest.php ├── SendBatchCardSmsResponseBody.php ├── GetMediaResourceIdResponseBody.php ├── QueryCardSmsTemplateResponseBody.php ├── QuerySendStatisticsResponseBody.php ├── CreateCardSmsTemplateResponseBody.php ├── CheckMobilesCardSupportResponseBody.php ├── QueryMobilesCardSupportResponseBody.php ├── GetOSSInfoForCardTemplateResponseBody.php ├── QueryCardSmsTemplateReportResponseBody.php ├── SendSmsResponse.php ├── ListTagResourcesResponseBody.php ├── AddSmsSignResponse.php ├── GetSmsSignResponse.php ├── AddShortUrlResponse.php ├── SendCardSmsResponse.php ├── CreateSmsSignResponse.php ├── DeleteSmsSignResponse.php ├── ModifySmsSignResponse.php ├── QueryShortUrlResponse.php ├── QuerySmsSignResponse.php ├── SendBatchSmsResponse.php ├── TagResourcesResponse.php ├── UpdateSmsSignResponse.php ├── AddExtCodeSignResponse.php ├── AddSmsTemplateResponse.php ├── DeleteShortUrlResponse.php ├── GetCardSmsLinkResponse.php ├── GetSmsTemplateResponse.php ├── UntagResourcesResponse.php ├── ValidPhoneCodeResponse.php ├── GetSmsOcrOssInfoResponse.php ├── ListTagResourcesResponse.php ├── QueryExtCodeSignResponse.php ├── QuerySendDetailsResponse.php ├── QuerySmsSignListResponse.php ├── QuerySmsTemplateResponse.php └── SendBatchCardSmsResponse.php /bootstrap.php: -------------------------------------------------------------------------------- 1 | 5.5", 29 | "alibabacloud/darabonba": "^1.0.0", 30 | "alibabacloud/openapi-core": "^1.0.0" 31 | }, 32 | "prefer-stable": true 33 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | English | [简体中文](README-CN.md) 2 | 3 | ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg) 4 | 5 | # Alibaba Cloud Dysmsapi SDK for PHP 6 | 7 | ## Installation 8 | 9 | ### Composer 10 | 11 | ```bash 12 | composer require alibabacloud/dysmsapi-20170525 13 | ``` 14 | 15 | ## Issues 16 | 17 | [Opening an Issue](https://github.com/aliyun/alibabacloud-php-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately. 18 | 19 | ## Usage 20 | 21 | [Quick Examples](https://github.com/aliyun/alibabacloud-php-sdk/blob/master/docs/0-Examples-EN.md#quick-examples) 22 | 23 | ## Changelog 24 | 25 | Detailed changes for each release are documented in the [release notes](./ChangeLog.txt). 26 | 27 | ## References 28 | 29 | * [Latest Release](https://github.com/aliyun/alibabacloud-php-sdk/) 30 | 31 | ## License 32 | 33 | [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) 34 | 35 | Copyright (c) 2009-present, Alibaba Cloud All rights reserved. 36 | -------------------------------------------------------------------------------- /src/Models/SendLogisticsSmsResponseBody/data.php: -------------------------------------------------------------------------------- 1 | 'BizId', 17 | ]; 18 | 19 | public function validate() 20 | { 21 | parent::validate(); 22 | } 23 | 24 | public function toArray($noStream = false) 25 | { 26 | $res = []; 27 | if (null !== $this->bizId) { 28 | $res['BizId'] = $this->bizId; 29 | } 30 | 31 | return $res; 32 | } 33 | 34 | public function toMap($noStream = false) 35 | { 36 | return $this->toArray($noStream); 37 | } 38 | 39 | public static function fromMap($map = []) 40 | { 41 | $model = new self(); 42 | if (isset($map['BizId'])) { 43 | $model->bizId = $map['BizId']; 44 | } 45 | 46 | return $model; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/Models/QueryCardSmsTemplateRequest.php: -------------------------------------------------------------------------------- 1 | 'TemplateCode', 17 | ]; 18 | 19 | public function validate() 20 | { 21 | parent::validate(); 22 | } 23 | 24 | public function toArray($noStream = false) 25 | { 26 | $res = []; 27 | if (null !== $this->templateCode) { 28 | $res['TemplateCode'] = $this->templateCode; 29 | } 30 | 31 | return $res; 32 | } 33 | 34 | public function toMap($noStream = false) 35 | { 36 | return $this->toArray($noStream); 37 | } 38 | 39 | public static function fromMap($map = []) 40 | { 41 | $model = new self(); 42 | if (isset($map['TemplateCode'])) { 43 | $model->templateCode = $map['TemplateCode']; 44 | } 45 | 46 | return $model; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/Models/SubmitSmsQualificationRequest/otherFiles.php: -------------------------------------------------------------------------------- 1 | 'LicensePic', 17 | ]; 18 | 19 | public function validate() 20 | { 21 | parent::validate(); 22 | } 23 | 24 | public function toArray($noStream = false) 25 | { 26 | $res = []; 27 | if (null !== $this->licensePic) { 28 | $res['LicensePic'] = $this->licensePic; 29 | } 30 | 31 | return $res; 32 | } 33 | 34 | public function toMap($noStream = false) 35 | { 36 | return $this->toArray($noStream); 37 | } 38 | 39 | public static function fromMap($map = []) 40 | { 41 | $model = new self(); 42 | if (isset($map['LicensePic'])) { 43 | $model->licensePic = $map['LicensePic']; 44 | } 45 | 46 | return $model; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/Models/UpdateSmsQualificationRequest/otherFiles.php: -------------------------------------------------------------------------------- 1 | 'LicensePic', 17 | ]; 18 | 19 | public function validate() 20 | { 21 | parent::validate(); 22 | } 23 | 24 | public function toArray($noStream = false) 25 | { 26 | $res = []; 27 | if (null !== $this->licensePic) { 28 | $res['LicensePic'] = $this->licensePic; 29 | } 30 | 31 | return $res; 32 | } 33 | 34 | public function toMap($noStream = false) 35 | { 36 | return $this->toArray($noStream); 37 | } 38 | 39 | public static function fromMap($map = []) 40 | { 41 | $model = new self(); 42 | if (isset($map['LicensePic'])) { 43 | $model->licensePic = $map['LicensePic']; 44 | } 45 | 46 | return $model; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/Models/CreateCardSmsTemplateResponseBody/data.php: -------------------------------------------------------------------------------- 1 | 'TemplateCode', 17 | ]; 18 | 19 | public function validate() 20 | { 21 | parent::validate(); 22 | } 23 | 24 | public function toArray($noStream = false) 25 | { 26 | $res = []; 27 | if (null !== $this->templateCode) { 28 | $res['TemplateCode'] = $this->templateCode; 29 | } 30 | 31 | return $res; 32 | } 33 | 34 | public function toMap($noStream = false) 35 | { 36 | return $this->toArray($noStream); 37 | } 38 | 39 | public static function fromMap($map = []) 40 | { 41 | $model = new self(); 42 | if (isset($map['TemplateCode'])) { 43 | $model->templateCode = $map['TemplateCode']; 44 | } 45 | 46 | return $model; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/Models/TagResourcesRequest/tag.php: -------------------------------------------------------------------------------- 1 | 'Key', 22 | 'value' => 'Value', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->key) { 34 | $res['Key'] = $this->key; 35 | } 36 | 37 | if (null !== $this->value) { 38 | $res['Value'] = $this->value; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['Key'])) { 53 | $model->key = $map['Key']; 54 | } 55 | 56 | if (isset($map['Value'])) { 57 | $model->value = $map['Value']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/ListTagResourcesRequest/tag.php: -------------------------------------------------------------------------------- 1 | 'Key', 22 | 'value' => 'Value', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->key) { 34 | $res['Key'] = $this->key; 35 | } 36 | 37 | if (null !== $this->value) { 38 | $res['Value'] = $this->value; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['Key'])) { 53 | $model->key = $map['Key']; 54 | } 55 | 56 | if (isset($map['Value'])) { 57 | $model->value = $map['Value']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/CheckMobilesCardSupportResponseBody/data/queryResult.php: -------------------------------------------------------------------------------- 1 | 'mobile', 22 | 'support' => 'support', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->mobile) { 34 | $res['mobile'] = $this->mobile; 35 | } 36 | 37 | if (null !== $this->support) { 38 | $res['support'] = $this->support; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['mobile'])) { 53 | $model->mobile = $map['mobile']; 54 | } 55 | 56 | if (isset($map['support'])) { 57 | $model->support = $map['support']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/QueryMobilesCardSupportResponseBody/data/queryResult.php: -------------------------------------------------------------------------------- 1 | 'Mobile', 22 | 'support' => 'Support', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->mobile) { 34 | $res['Mobile'] = $this->mobile; 35 | } 36 | 37 | if (null !== $this->support) { 38 | $res['Support'] = $this->support; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['Mobile'])) { 53 | $model->mobile = $map['Mobile']; 54 | } 55 | 56 | if (isset($map['Support'])) { 57 | $model->support = $map['Support']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/SubmitSmsQualificationRequest/businessLicensePics.php: -------------------------------------------------------------------------------- 1 | 'LicensePic', 22 | 'type' => 'Type', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->licensePic) { 34 | $res['LicensePic'] = $this->licensePic; 35 | } 36 | 37 | if (null !== $this->type) { 38 | $res['Type'] = $this->type; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['LicensePic'])) { 53 | $model->licensePic = $map['LicensePic']; 54 | } 55 | 56 | if (isset($map['Type'])) { 57 | $model->type = $map['Type']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/UpdateSmsQualificationRequest/businessLicensePics.php: -------------------------------------------------------------------------------- 1 | 'LicensePic', 22 | 'type' => 'Type', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->licensePic) { 34 | $res['LicensePic'] = $this->licensePic; 35 | } 36 | 37 | if (null !== $this->type) { 38 | $res['Type'] = $this->type; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['LicensePic'])) { 53 | $model->licensePic = $map['LicensePic']; 54 | } 55 | 56 | if (isset($map['Type'])) { 57 | $model->type = $map['Type']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/GetSmsSignResponseBody/auditInfo.php: -------------------------------------------------------------------------------- 1 | 'AuditDate', 22 | 'rejectInfo' => 'RejectInfo', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->auditDate) { 34 | $res['AuditDate'] = $this->auditDate; 35 | } 36 | 37 | if (null !== $this->rejectInfo) { 38 | $res['RejectInfo'] = $this->rejectInfo; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['AuditDate'])) { 53 | $model->auditDate = $map['AuditDate']; 54 | } 55 | 56 | if (isset($map['RejectInfo'])) { 57 | $model->rejectInfo = $map['RejectInfo']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/GetSmsTemplateResponseBody/auditInfo.php: -------------------------------------------------------------------------------- 1 | 'AuditDate', 22 | 'rejectInfo' => 'RejectInfo', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->auditDate) { 34 | $res['AuditDate'] = $this->auditDate; 35 | } 36 | 37 | if (null !== $this->rejectInfo) { 38 | $res['RejectInfo'] = $this->rejectInfo; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['AuditDate'])) { 53 | $model->auditDate = $map['AuditDate']; 54 | } 55 | 56 | if (isset($map['RejectInfo'])) { 57 | $model->rejectInfo = $map['RejectInfo']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/QuerySingleSmsQualificationResponseBody/data/otherFiles.php: -------------------------------------------------------------------------------- 1 | 'LicensePic', 22 | 'picUrl' => 'PicUrl', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->licensePic) { 34 | $res['LicensePic'] = $this->licensePic; 35 | } 36 | 37 | if (null !== $this->picUrl) { 38 | $res['PicUrl'] = $this->picUrl; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['LicensePic'])) { 53 | $model->licensePic = $map['LicensePic']; 54 | } 55 | 56 | if (isset($map['PicUrl'])) { 57 | $model->picUrl = $map['PicUrl']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/AddSmsSignRequest/signFileList.php: -------------------------------------------------------------------------------- 1 | 'FileContents', 22 | 'fileSuffix' => 'FileSuffix', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->fileContents) { 34 | $res['FileContents'] = $this->fileContents; 35 | } 36 | 37 | if (null !== $this->fileSuffix) { 38 | $res['FileSuffix'] = $this->fileSuffix; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['FileContents'])) { 53 | $model->fileContents = $map['FileContents']; 54 | } 55 | 56 | if (isset($map['FileSuffix'])) { 57 | $model->fileSuffix = $map['FileSuffix']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/ModifySmsSignRequest/signFileList.php: -------------------------------------------------------------------------------- 1 | 'FileContents', 22 | 'fileSuffix' => 'FileSuffix', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->fileContents) { 34 | $res['FileContents'] = $this->fileContents; 35 | } 36 | 37 | if (null !== $this->fileSuffix) { 38 | $res['FileSuffix'] = $this->fileSuffix; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['FileContents'])) { 53 | $model->fileContents = $map['FileContents']; 54 | } 55 | 56 | if (isset($map['FileSuffix'])) { 57 | $model->fileSuffix = $map['FileSuffix']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/GetMediaResourceIdResponseBody/data.php: -------------------------------------------------------------------------------- 1 | 'ResUrlDownload', 22 | 'resourceId' => 'ResourceId', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | parent::validate(); 28 | } 29 | 30 | public function toArray($noStream = false) 31 | { 32 | $res = []; 33 | if (null !== $this->resUrlDownload) { 34 | $res['ResUrlDownload'] = $this->resUrlDownload; 35 | } 36 | 37 | if (null !== $this->resourceId) { 38 | $res['ResourceId'] = $this->resourceId; 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['ResUrlDownload'])) { 53 | $model->resUrlDownload = $map['ResUrlDownload']; 54 | } 55 | 56 | if (isset($map['ResourceId'])) { 57 | $model->resourceId = $map['ResourceId']; 58 | } 59 | 60 | return $model; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/Models/GetSmsTemplateResponseBody/fileUrlList.php: -------------------------------------------------------------------------------- 1 | 'FileUrl', 17 | ]; 18 | 19 | public function validate() 20 | { 21 | if (\is_array($this->fileUrl)) { 22 | Model::validateArray($this->fileUrl); 23 | } 24 | parent::validate(); 25 | } 26 | 27 | public function toArray($noStream = false) 28 | { 29 | $res = []; 30 | if (null !== $this->fileUrl) { 31 | if (\is_array($this->fileUrl)) { 32 | $res['FileUrl'] = []; 33 | $n1 = 0; 34 | foreach ($this->fileUrl as $item1) { 35 | $res['FileUrl'][$n1] = $item1; 36 | ++$n1; 37 | } 38 | } 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['FileUrl'])) { 53 | if (!empty($map['FileUrl'])) { 54 | $model->fileUrl = []; 55 | $n1 = 0; 56 | foreach ($map['FileUrl'] as $item1) { 57 | $model->fileUrl[$n1] = $item1; 58 | ++$n1; 59 | } 60 | } 61 | } 62 | 63 | return $model; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/Models/TagResourcesResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 27 | 'data' => 'Data', 28 | 'requestId' => 'RequestId', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->code) { 40 | $res['Code'] = $this->code; 41 | } 42 | 43 | if (null !== $this->data) { 44 | $res['Data'] = $this->data; 45 | } 46 | 47 | if (null !== $this->requestId) { 48 | $res['RequestId'] = $this->requestId; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['Code'])) { 63 | $model->code = $map['Code']; 64 | } 65 | 66 | if (isset($map['Data'])) { 67 | $model->data = $map['Data']; 68 | } 69 | 70 | if (isset($map['RequestId'])) { 71 | $model->requestId = $map['RequestId']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/UntagResourcesResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 27 | 'data' => 'Data', 28 | 'requestId' => 'RequestId', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->code) { 40 | $res['Code'] = $this->code; 41 | } 42 | 43 | if (null !== $this->data) { 44 | $res['Data'] = $this->data; 45 | } 46 | 47 | if (null !== $this->requestId) { 48 | $res['RequestId'] = $this->requestId; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['Code'])) { 63 | $model->code = $map['Code']; 64 | } 65 | 66 | if (isset($map['Data'])) { 67 | $model->data = $map['Data']; 68 | } 69 | 70 | if (isset($map['RequestId'])) { 71 | $model->requestId = $map['RequestId']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/DeleteShortUrlResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 27 | 'message' => 'Message', 28 | 'requestId' => 'RequestId', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->code) { 40 | $res['Code'] = $this->code; 41 | } 42 | 43 | if (null !== $this->message) { 44 | $res['Message'] = $this->message; 45 | } 46 | 47 | if (null !== $this->requestId) { 48 | $res['RequestId'] = $this->requestId; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['Code'])) { 63 | $model->code = $map['Code']; 64 | } 65 | 66 | if (isset($map['Message'])) { 67 | $model->message = $map['Message']; 68 | } 69 | 70 | if (isset($map['RequestId'])) { 71 | $model->requestId = $map['RequestId']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/ConversionDataIntlResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 27 | 'message' => 'Message', 28 | 'requestId' => 'RequestId', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->code) { 40 | $res['Code'] = $this->code; 41 | } 42 | 43 | if (null !== $this->message) { 44 | $res['Message'] = $this->message; 45 | } 46 | 47 | if (null !== $this->requestId) { 48 | $res['RequestId'] = $this->requestId; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['Code'])) { 63 | $model->code = $map['Code']; 64 | } 65 | 66 | if (isset($map['Message'])) { 67 | $model->message = $map['Message']; 68 | } 69 | 70 | if (isset($map['RequestId'])) { 71 | $model->requestId = $map['RequestId']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/SmsConversionIntlResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 27 | 'message' => 'Message', 28 | 'requestId' => 'RequestId', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->code) { 40 | $res['Code'] = $this->code; 41 | } 42 | 43 | if (null !== $this->message) { 44 | $res['Message'] = $this->message; 45 | } 46 | 47 | if (null !== $this->requestId) { 48 | $res['RequestId'] = $this->requestId; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['Code'])) { 63 | $model->code = $map['Code']; 64 | } 65 | 66 | if (isset($map['Message'])) { 67 | $model->message = $map['Message']; 68 | } 69 | 70 | if (isset($map['RequestId'])) { 71 | $model->requestId = $map['RequestId']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/SendCardSmsRequest/cardObjects.php: -------------------------------------------------------------------------------- 1 | 'customUrl', 27 | 'dyncParams' => 'dyncParams', 28 | 'mobile' => 'mobile', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->customUrl) { 40 | $res['customUrl'] = $this->customUrl; 41 | } 42 | 43 | if (null !== $this->dyncParams) { 44 | $res['dyncParams'] = $this->dyncParams; 45 | } 46 | 47 | if (null !== $this->mobile) { 48 | $res['mobile'] = $this->mobile; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['customUrl'])) { 63 | $model->customUrl = $map['customUrl']; 64 | } 65 | 66 | if (isset($map['dyncParams'])) { 67 | $model->dyncParams = $map['dyncParams']; 68 | } 69 | 70 | if (isset($map['mobile'])) { 71 | $model->mobile = $map['mobile']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/AddShortUrlResponseBody/data.php: -------------------------------------------------------------------------------- 1 | 'ExpireDate', 27 | 'shortUrl' => 'ShortUrl', 28 | 'sourceUrl' => 'SourceUrl', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->expireDate) { 40 | $res['ExpireDate'] = $this->expireDate; 41 | } 42 | 43 | if (null !== $this->shortUrl) { 44 | $res['ShortUrl'] = $this->shortUrl; 45 | } 46 | 47 | if (null !== $this->sourceUrl) { 48 | $res['SourceUrl'] = $this->sourceUrl; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['ExpireDate'])) { 63 | $model->expireDate = $map['ExpireDate']; 64 | } 65 | 66 | if (isset($map['ShortUrl'])) { 67 | $model->shortUrl = $map['ShortUrl']; 68 | } 69 | 70 | if (isset($map['SourceUrl'])) { 71 | $model->sourceUrl = $map['SourceUrl']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/QuerySingleSmsQualificationResponseBody/data/businessLicensePics.php: -------------------------------------------------------------------------------- 1 | 'LicensePic', 27 | 'picUrl' => 'PicUrl', 28 | 'type' => 'Type', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->licensePic) { 40 | $res['LicensePic'] = $this->licensePic; 41 | } 42 | 43 | if (null !== $this->picUrl) { 44 | $res['PicUrl'] = $this->picUrl; 45 | } 46 | 47 | if (null !== $this->type) { 48 | $res['Type'] = $this->type; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['LicensePic'])) { 63 | $model->licensePic = $map['LicensePic']; 64 | } 65 | 66 | if (isset($map['PicUrl'])) { 67 | $model->picUrl = $map['PicUrl']; 68 | } 69 | 70 | if (isset($map['Type'])) { 71 | $model->type = $map['Type']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/GetSmsTemplateResponseBody/moreDataFileUrlList.php: -------------------------------------------------------------------------------- 1 | 'MoreDataFileUrl', 17 | ]; 18 | 19 | public function validate() 20 | { 21 | if (\is_array($this->moreDataFileUrl)) { 22 | Model::validateArray($this->moreDataFileUrl); 23 | } 24 | parent::validate(); 25 | } 26 | 27 | public function toArray($noStream = false) 28 | { 29 | $res = []; 30 | if (null !== $this->moreDataFileUrl) { 31 | if (\is_array($this->moreDataFileUrl)) { 32 | $res['MoreDataFileUrl'] = []; 33 | $n1 = 0; 34 | foreach ($this->moreDataFileUrl as $item1) { 35 | $res['MoreDataFileUrl'][$n1] = $item1; 36 | ++$n1; 37 | } 38 | } 39 | } 40 | 41 | return $res; 42 | } 43 | 44 | public function toMap($noStream = false) 45 | { 46 | return $this->toArray($noStream); 47 | } 48 | 49 | public static function fromMap($map = []) 50 | { 51 | $model = new self(); 52 | if (isset($map['MoreDataFileUrl'])) { 53 | if (!empty($map['MoreDataFileUrl'])) { 54 | $model->moreDataFileUrl = []; 55 | $n1 = 0; 56 | foreach ($map['MoreDataFileUrl'] as $item1) { 57 | $model->moreDataFileUrl[$n1] = $item1; 58 | ++$n1; 59 | } 60 | } 61 | } 62 | 63 | return $model; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/Models/QueryMobilesCardSupportShrinkRequest.php: -------------------------------------------------------------------------------- 1 | 'EncryptType', 27 | 'mobilesShrink' => 'Mobiles', 28 | 'templateCode' => 'TemplateCode', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->encryptType) { 40 | $res['EncryptType'] = $this->encryptType; 41 | } 42 | 43 | if (null !== $this->mobilesShrink) { 44 | $res['Mobiles'] = $this->mobilesShrink; 45 | } 46 | 47 | if (null !== $this->templateCode) { 48 | $res['TemplateCode'] = $this->templateCode; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['EncryptType'])) { 63 | $model->encryptType = $map['EncryptType']; 64 | } 65 | 66 | if (isset($map['Mobiles'])) { 67 | $model->mobilesShrink = $map['Mobiles']; 68 | } 69 | 70 | if (isset($map['TemplateCode'])) { 71 | $model->templateCode = $map['TemplateCode']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/QuerySmsSignListResponseBody/smsSignList/reason.php: -------------------------------------------------------------------------------- 1 | 'RejectDate', 27 | 'rejectInfo' => 'RejectInfo', 28 | 'rejectSubInfo' => 'RejectSubInfo', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->rejectDate) { 40 | $res['RejectDate'] = $this->rejectDate; 41 | } 42 | 43 | if (null !== $this->rejectInfo) { 44 | $res['RejectInfo'] = $this->rejectInfo; 45 | } 46 | 47 | if (null !== $this->rejectSubInfo) { 48 | $res['RejectSubInfo'] = $this->rejectSubInfo; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['RejectDate'])) { 63 | $model->rejectDate = $map['RejectDate']; 64 | } 65 | 66 | if (isset($map['RejectInfo'])) { 67 | $model->rejectInfo = $map['RejectInfo']; 68 | } 69 | 70 | if (isset($map['RejectSubInfo'])) { 71 | $model->rejectSubInfo = $map['RejectSubInfo']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/QuerySmsTemplateListResponseBody/smsTemplateList/reason.php: -------------------------------------------------------------------------------- 1 | 'RejectDate', 27 | 'rejectInfo' => 'RejectInfo', 28 | 'rejectSubInfo' => 'RejectSubInfo', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->rejectDate) { 40 | $res['RejectDate'] = $this->rejectDate; 41 | } 42 | 43 | if (null !== $this->rejectInfo) { 44 | $res['RejectInfo'] = $this->rejectInfo; 45 | } 46 | 47 | if (null !== $this->rejectSubInfo) { 48 | $res['RejectSubInfo'] = $this->rejectSubInfo; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['RejectDate'])) { 63 | $model->rejectDate = $map['RejectDate']; 64 | } 65 | 66 | if (isset($map['RejectInfo'])) { 67 | $model->rejectInfo = $map['RejectInfo']; 68 | } 69 | 70 | if (isset($map['RejectSubInfo'])) { 71 | $model->rejectSubInfo = $map['RejectSubInfo']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/CheckMobilesCardSupportResponseBody/data.php: -------------------------------------------------------------------------------- 1 | 'queryResult', 18 | ]; 19 | 20 | public function validate() 21 | { 22 | if (\is_array($this->queryResult)) { 23 | Model::validateArray($this->queryResult); 24 | } 25 | parent::validate(); 26 | } 27 | 28 | public function toArray($noStream = false) 29 | { 30 | $res = []; 31 | if (null !== $this->queryResult) { 32 | if (\is_array($this->queryResult)) { 33 | $res['queryResult'] = []; 34 | $n1 = 0; 35 | foreach ($this->queryResult as $item1) { 36 | $res['queryResult'][$n1] = null !== $item1 ? $item1->toArray($noStream) : $item1; 37 | ++$n1; 38 | } 39 | } 40 | } 41 | 42 | return $res; 43 | } 44 | 45 | public function toMap($noStream = false) 46 | { 47 | return $this->toArray($noStream); 48 | } 49 | 50 | public static function fromMap($map = []) 51 | { 52 | $model = new self(); 53 | if (isset($map['queryResult'])) { 54 | if (!empty($map['queryResult'])) { 55 | $model->queryResult = []; 56 | $n1 = 0; 57 | foreach ($map['queryResult'] as $item1) { 58 | $model->queryResult[$n1] = queryResult::fromMap($item1); 59 | ++$n1; 60 | } 61 | } 62 | } 63 | 64 | return $model; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/Models/ListTagResourcesResponseBody/tagResources.php: -------------------------------------------------------------------------------- 1 | 'TagResource', 18 | ]; 19 | 20 | public function validate() 21 | { 22 | if (\is_array($this->tagResource)) { 23 | Model::validateArray($this->tagResource); 24 | } 25 | parent::validate(); 26 | } 27 | 28 | public function toArray($noStream = false) 29 | { 30 | $res = []; 31 | if (null !== $this->tagResource) { 32 | if (\is_array($this->tagResource)) { 33 | $res['TagResource'] = []; 34 | $n1 = 0; 35 | foreach ($this->tagResource as $item1) { 36 | $res['TagResource'][$n1] = null !== $item1 ? $item1->toArray($noStream) : $item1; 37 | ++$n1; 38 | } 39 | } 40 | } 41 | 42 | return $res; 43 | } 44 | 45 | public function toMap($noStream = false) 46 | { 47 | return $this->toArray($noStream); 48 | } 49 | 50 | public static function fromMap($map = []) 51 | { 52 | $model = new self(); 53 | if (isset($map['TagResource'])) { 54 | if (!empty($map['TagResource'])) { 55 | $model->tagResource = []; 56 | $n1 = 0; 57 | foreach ($map['TagResource'] as $item1) { 58 | $model->tagResource[$n1] = tagResource::fromMap($item1); 59 | ++$n1; 60 | } 61 | } 62 | } 63 | 64 | return $model; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/Models/QueryMobilesCardSupportResponseBody/data.php: -------------------------------------------------------------------------------- 1 | 'QueryResult', 18 | ]; 19 | 20 | public function validate() 21 | { 22 | if (\is_array($this->queryResult)) { 23 | Model::validateArray($this->queryResult); 24 | } 25 | parent::validate(); 26 | } 27 | 28 | public function toArray($noStream = false) 29 | { 30 | $res = []; 31 | if (null !== $this->queryResult) { 32 | if (\is_array($this->queryResult)) { 33 | $res['QueryResult'] = []; 34 | $n1 = 0; 35 | foreach ($this->queryResult as $item1) { 36 | $res['QueryResult'][$n1] = null !== $item1 ? $item1->toArray($noStream) : $item1; 37 | ++$n1; 38 | } 39 | } 40 | } 41 | 42 | return $res; 43 | } 44 | 45 | public function toMap($noStream = false) 46 | { 47 | return $this->toArray($noStream); 48 | } 49 | 50 | public static function fromMap($map = []) 51 | { 52 | $model = new self(); 53 | if (isset($map['QueryResult'])) { 54 | if (!empty($map['QueryResult'])) { 55 | $model->queryResult = []; 56 | $n1 = 0; 57 | foreach ($map['QueryResult'] as $item1) { 58 | $model->queryResult[$n1] = queryResult::fromMap($item1); 59 | ++$n1; 60 | } 61 | } 62 | } 63 | 64 | return $model; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/Models/VerifyLogisticsSmsMailNoResponseBody/data.php: -------------------------------------------------------------------------------- 1 | 'ExpressCompanyCode', 27 | 'mobileSuffix' => 'MobileSuffix', 28 | 'verifyResult' => 'VerifyResult', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | parent::validate(); 34 | } 35 | 36 | public function toArray($noStream = false) 37 | { 38 | $res = []; 39 | if (null !== $this->expressCompanyCode) { 40 | $res['ExpressCompanyCode'] = $this->expressCompanyCode; 41 | } 42 | 43 | if (null !== $this->mobileSuffix) { 44 | $res['MobileSuffix'] = $this->mobileSuffix; 45 | } 46 | 47 | if (null !== $this->verifyResult) { 48 | $res['VerifyResult'] = $this->verifyResult; 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['ExpressCompanyCode'])) { 63 | $model->expressCompanyCode = $map['ExpressCompanyCode']; 64 | } 65 | 66 | if (isset($map['MobileSuffix'])) { 67 | $model->mobileSuffix = $map['MobileSuffix']; 68 | } 69 | 70 | if (isset($map['VerifyResult'])) { 71 | $model->verifyResult = $map['VerifyResult']; 72 | } 73 | 74 | return $model; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/Models/QuerySendDetailsResponseBody/smsSendDetailDTOs.php: -------------------------------------------------------------------------------- 1 | 'SmsSendDetailDTO', 18 | ]; 19 | 20 | public function validate() 21 | { 22 | if (\is_array($this->smsSendDetailDTO)) { 23 | Model::validateArray($this->smsSendDetailDTO); 24 | } 25 | parent::validate(); 26 | } 27 | 28 | public function toArray($noStream = false) 29 | { 30 | $res = []; 31 | if (null !== $this->smsSendDetailDTO) { 32 | if (\is_array($this->smsSendDetailDTO)) { 33 | $res['SmsSendDetailDTO'] = []; 34 | $n1 = 0; 35 | foreach ($this->smsSendDetailDTO as $item1) { 36 | $res['SmsSendDetailDTO'][$n1] = null !== $item1 ? $item1->toArray($noStream) : $item1; 37 | ++$n1; 38 | } 39 | } 40 | } 41 | 42 | return $res; 43 | } 44 | 45 | public function toMap($noStream = false) 46 | { 47 | return $this->toArray($noStream); 48 | } 49 | 50 | public static function fromMap($map = []) 51 | { 52 | $model = new self(); 53 | if (isset($map['SmsSendDetailDTO'])) { 54 | if (!empty($map['SmsSendDetailDTO'])) { 55 | $model->smsSendDetailDTO = []; 56 | $n1 = 0; 57 | foreach ($map['SmsSendDetailDTO'] as $item1) { 58 | $model->smsSendDetailDTO[$n1] = smsSendDetailDTO::fromMap($item1); 59 | ++$n1; 60 | } 61 | } 62 | } 63 | 64 | return $model; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /src/Models/SendSmsResponseBody.php: -------------------------------------------------------------------------------- 1 | 'BizId', 32 | 'code' => 'Code', 33 | 'message' => 'Message', 34 | 'requestId' => 'RequestId', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->bizId) { 46 | $res['BizId'] = $this->bizId; 47 | } 48 | 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->message) { 54 | $res['Message'] = $this->message; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['BizId'])) { 73 | $model->bizId = $map['BizId']; 74 | } 75 | 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Message'])) { 81 | $model->message = $map['Message']; 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/SendBatchSmsResponseBody.php: -------------------------------------------------------------------------------- 1 | 'BizId', 32 | 'code' => 'Code', 33 | 'message' => 'Message', 34 | 'requestId' => 'RequestId', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->bizId) { 46 | $res['BizId'] = $this->bizId; 47 | } 48 | 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->message) { 54 | $res['Message'] = $this->message; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['BizId'])) { 73 | $model->bizId = $map['BizId']; 74 | } 75 | 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Message'])) { 81 | $model->message = $map['Message']; 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/AddSmsSignResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 32 | 'message' => 'Message', 33 | 'requestId' => 'RequestId', 34 | 'signName' => 'SignName', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->code) { 46 | $res['Code'] = $this->code; 47 | } 48 | 49 | if (null !== $this->message) { 50 | $res['Message'] = $this->message; 51 | } 52 | 53 | if (null !== $this->requestId) { 54 | $res['RequestId'] = $this->requestId; 55 | } 56 | 57 | if (null !== $this->signName) { 58 | $res['SignName'] = $this->signName; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['Code'])) { 73 | $model->code = $map['Code']; 74 | } 75 | 76 | if (isset($map['Message'])) { 77 | $model->message = $map['Message']; 78 | } 79 | 80 | if (isset($map['RequestId'])) { 81 | $model->requestId = $map['RequestId']; 82 | } 83 | 84 | if (isset($map['SignName'])) { 85 | $model->signName = $map['SignName']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/DeleteSmsSignResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 32 | 'message' => 'Message', 33 | 'requestId' => 'RequestId', 34 | 'signName' => 'SignName', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->code) { 46 | $res['Code'] = $this->code; 47 | } 48 | 49 | if (null !== $this->message) { 50 | $res['Message'] = $this->message; 51 | } 52 | 53 | if (null !== $this->requestId) { 54 | $res['RequestId'] = $this->requestId; 55 | } 56 | 57 | if (null !== $this->signName) { 58 | $res['SignName'] = $this->signName; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['Code'])) { 73 | $model->code = $map['Code']; 74 | } 75 | 76 | if (isset($map['Message'])) { 77 | $model->message = $map['Message']; 78 | } 79 | 80 | if (isset($map['RequestId'])) { 81 | $model->requestId = $map['RequestId']; 82 | } 83 | 84 | if (isset($map['SignName'])) { 85 | $model->signName = $map['SignName']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/ModifySmsSignResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 32 | 'message' => 'Message', 33 | 'requestId' => 'RequestId', 34 | 'signName' => 'SignName', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->code) { 46 | $res['Code'] = $this->code; 47 | } 48 | 49 | if (null !== $this->message) { 50 | $res['Message'] = $this->message; 51 | } 52 | 53 | if (null !== $this->requestId) { 54 | $res['RequestId'] = $this->requestId; 55 | } 56 | 57 | if (null !== $this->signName) { 58 | $res['SignName'] = $this->signName; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['Code'])) { 73 | $model->code = $map['Code']; 74 | } 75 | 76 | if (isset($map['Message'])) { 77 | $model->message = $map['Message']; 78 | } 79 | 80 | if (isset($map['RequestId'])) { 81 | $model->requestId = $map['RequestId']; 82 | } 83 | 84 | if (isset($map['SignName'])) { 85 | $model->signName = $map['SignName']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/AddSmsTemplateResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 32 | 'message' => 'Message', 33 | 'requestId' => 'RequestId', 34 | 'templateCode' => 'TemplateCode', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->code) { 46 | $res['Code'] = $this->code; 47 | } 48 | 49 | if (null !== $this->message) { 50 | $res['Message'] = $this->message; 51 | } 52 | 53 | if (null !== $this->requestId) { 54 | $res['RequestId'] = $this->requestId; 55 | } 56 | 57 | if (null !== $this->templateCode) { 58 | $res['TemplateCode'] = $this->templateCode; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['Code'])) { 73 | $model->code = $map['Code']; 74 | } 75 | 76 | if (isset($map['Message'])) { 77 | $model->message = $map['Message']; 78 | } 79 | 80 | if (isset($map['RequestId'])) { 81 | $model->requestId = $map['RequestId']; 82 | } 83 | 84 | if (isset($map['TemplateCode'])) { 85 | $model->templateCode = $map['TemplateCode']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/DeleteSmsTemplateResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 32 | 'message' => 'Message', 33 | 'requestId' => 'RequestId', 34 | 'templateCode' => 'TemplateCode', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->code) { 46 | $res['Code'] = $this->code; 47 | } 48 | 49 | if (null !== $this->message) { 50 | $res['Message'] = $this->message; 51 | } 52 | 53 | if (null !== $this->requestId) { 54 | $res['RequestId'] = $this->requestId; 55 | } 56 | 57 | if (null !== $this->templateCode) { 58 | $res['TemplateCode'] = $this->templateCode; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['Code'])) { 73 | $model->code = $map['Code']; 74 | } 75 | 76 | if (isset($map['Message'])) { 77 | $model->message = $map['Message']; 78 | } 79 | 80 | if (isset($map['RequestId'])) { 81 | $model->requestId = $map['RequestId']; 82 | } 83 | 84 | if (isset($map['TemplateCode'])) { 85 | $model->templateCode = $map['TemplateCode']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/ModifySmsTemplateResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 32 | 'message' => 'Message', 33 | 'requestId' => 'RequestId', 34 | 'templateCode' => 'TemplateCode', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->code) { 46 | $res['Code'] = $this->code; 47 | } 48 | 49 | if (null !== $this->message) { 50 | $res['Message'] = $this->message; 51 | } 52 | 53 | if (null !== $this->requestId) { 54 | $res['RequestId'] = $this->requestId; 55 | } 56 | 57 | if (null !== $this->templateCode) { 58 | $res['TemplateCode'] = $this->templateCode; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['Code'])) { 73 | $model->code = $map['Code']; 74 | } 75 | 76 | if (isset($map['Message'])) { 77 | $model->message = $map['Message']; 78 | } 79 | 80 | if (isset($map['RequestId'])) { 81 | $model->requestId = $map['RequestId']; 82 | } 83 | 84 | if (isset($map['TemplateCode'])) { 85 | $model->templateCode = $map['TemplateCode']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/QueryCardSmsTemplateReportResponseBody/data.php: -------------------------------------------------------------------------------- 1 | 'model', 17 | ]; 18 | 19 | public function validate() 20 | { 21 | if (\is_array($this->model)) { 22 | Model::validateArray($this->model); 23 | } 24 | parent::validate(); 25 | } 26 | 27 | public function toArray($noStream = false) 28 | { 29 | $res = []; 30 | if (null !== $this->model) { 31 | if (\is_array($this->model)) { 32 | $res['model'] = []; 33 | $n1 = 0; 34 | foreach ($this->model as $item1) { 35 | if (\is_array($item1)) { 36 | $res['model'][$n1] = []; 37 | foreach ($item1 as $key2 => $value2) { 38 | $res['model'][$n1][$key2] = $value2; 39 | } 40 | } 41 | ++$n1; 42 | } 43 | } 44 | } 45 | 46 | return $res; 47 | } 48 | 49 | public function toMap($noStream = false) 50 | { 51 | return $this->toArray($noStream); 52 | } 53 | 54 | public static function fromMap($map = []) 55 | { 56 | $model = new self(); 57 | if (isset($map['model'])) { 58 | if (!empty($map['model'])) { 59 | $model->model = []; 60 | $n1 = 0; 61 | foreach ($map['model'] as $item1) { 62 | if (!empty($item1)) { 63 | $model->model[$n1] = []; 64 | foreach ($item1 as $key2 => $value2) { 65 | $model->model[$n1][$key2] = $value2; 66 | } 67 | } 68 | ++$n1; 69 | } 70 | } 71 | } 72 | 73 | return $model; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /src/Models/CreateCardSmsTemplateShrinkRequest.php: -------------------------------------------------------------------------------- 1 | 'Factorys', 32 | 'memo' => 'Memo', 33 | 'templateShrink' => 'Template', 34 | 'templateName' => 'TemplateName', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->factorys) { 46 | $res['Factorys'] = $this->factorys; 47 | } 48 | 49 | if (null !== $this->memo) { 50 | $res['Memo'] = $this->memo; 51 | } 52 | 53 | if (null !== $this->templateShrink) { 54 | $res['Template'] = $this->templateShrink; 55 | } 56 | 57 | if (null !== $this->templateName) { 58 | $res['TemplateName'] = $this->templateName; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['Factorys'])) { 73 | $model->factorys = $map['Factorys']; 74 | } 75 | 76 | if (isset($map['Memo'])) { 77 | $model->memo = $map['Memo']; 78 | } 79 | 80 | if (isset($map['Template'])) { 81 | $model->templateShrink = $map['Template']; 82 | } 83 | 84 | if (isset($map['TemplateName'])) { 85 | $model->templateName = $map['TemplateName']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/ListTagResourcesResponseBody/tagResources/tagResource.php: -------------------------------------------------------------------------------- 1 | 'ResourceId', 32 | 'resourceType' => 'ResourceType', 33 | 'tagKey' => 'TagKey', 34 | 'tagValue' => 'TagValue', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->resourceId) { 46 | $res['ResourceId'] = $this->resourceId; 47 | } 48 | 49 | if (null !== $this->resourceType) { 50 | $res['ResourceType'] = $this->resourceType; 51 | } 52 | 53 | if (null !== $this->tagKey) { 54 | $res['TagKey'] = $this->tagKey; 55 | } 56 | 57 | if (null !== $this->tagValue) { 58 | $res['TagValue'] = $this->tagValue; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['ResourceId'])) { 73 | $model->resourceId = $map['ResourceId']; 74 | } 75 | 76 | if (isset($map['ResourceType'])) { 77 | $model->resourceType = $map['ResourceType']; 78 | } 79 | 80 | if (isset($map['TagKey'])) { 81 | $model->tagKey = $map['TagKey']; 82 | } 83 | 84 | if (isset($map['TagValue'])) { 85 | $model->tagValue = $map['TagValue']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/QueryCardSmsTemplateResponseBody/data.php: -------------------------------------------------------------------------------- 1 | 'Templates', 17 | ]; 18 | 19 | public function validate() 20 | { 21 | if (\is_array($this->templates)) { 22 | Model::validateArray($this->templates); 23 | } 24 | parent::validate(); 25 | } 26 | 27 | public function toArray($noStream = false) 28 | { 29 | $res = []; 30 | if (null !== $this->templates) { 31 | if (\is_array($this->templates)) { 32 | $res['Templates'] = []; 33 | $n1 = 0; 34 | foreach ($this->templates as $item1) { 35 | if (\is_array($item1)) { 36 | $res['Templates'][$n1] = []; 37 | foreach ($item1 as $key2 => $value2) { 38 | $res['Templates'][$n1][$key2] = $value2; 39 | } 40 | } 41 | ++$n1; 42 | } 43 | } 44 | } 45 | 46 | return $res; 47 | } 48 | 49 | public function toMap($noStream = false) 50 | { 51 | return $this->toArray($noStream); 52 | } 53 | 54 | public static function fromMap($map = []) 55 | { 56 | $model = new self(); 57 | if (isset($map['Templates'])) { 58 | if (!empty($map['Templates'])) { 59 | $model->templates = []; 60 | $n1 = 0; 61 | foreach ($map['Templates'] as $item1) { 62 | if (!empty($item1)) { 63 | $model->templates[$n1] = []; 64 | foreach ($item1 as $key2 => $value2) { 65 | $model->templates[$n1][$key2] = $value2; 66 | } 67 | } 68 | ++$n1; 69 | } 70 | } 71 | } 72 | 73 | return $model; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /src/Models/GetSmsSignResponseBody/signIspRegisterDetailList/registerStatusReasons.php: -------------------------------------------------------------------------------- 1 | 'ReasonCode', 22 | 'reasonDescList' => 'ReasonDescList', 23 | ]; 24 | 25 | public function validate() 26 | { 27 | if (\is_array($this->reasonDescList)) { 28 | Model::validateArray($this->reasonDescList); 29 | } 30 | parent::validate(); 31 | } 32 | 33 | public function toArray($noStream = false) 34 | { 35 | $res = []; 36 | if (null !== $this->reasonCode) { 37 | $res['ReasonCode'] = $this->reasonCode; 38 | } 39 | 40 | if (null !== $this->reasonDescList) { 41 | if (\is_array($this->reasonDescList)) { 42 | $res['ReasonDescList'] = []; 43 | $n1 = 0; 44 | foreach ($this->reasonDescList as $item1) { 45 | $res['ReasonDescList'][$n1] = $item1; 46 | ++$n1; 47 | } 48 | } 49 | } 50 | 51 | return $res; 52 | } 53 | 54 | public function toMap($noStream = false) 55 | { 56 | return $this->toArray($noStream); 57 | } 58 | 59 | public static function fromMap($map = []) 60 | { 61 | $model = new self(); 62 | if (isset($map['ReasonCode'])) { 63 | $model->reasonCode = $map['ReasonCode']; 64 | } 65 | 66 | if (isset($map['ReasonDescList'])) { 67 | if (!empty($map['ReasonDescList'])) { 68 | $model->reasonDescList = []; 69 | $n1 = 0; 70 | foreach ($map['ReasonDescList'] as $item1) { 71 | $model->reasonDescList[$n1] = $item1; 72 | ++$n1; 73 | } 74 | } 75 | } 76 | 77 | return $model; 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /src/Models/GetSmsSignRequest.php: -------------------------------------------------------------------------------- 1 | 'OwnerId', 32 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 33 | 'resourceOwnerId' => 'ResourceOwnerId', 34 | 'signName' => 'SignName', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->ownerId) { 46 | $res['OwnerId'] = $this->ownerId; 47 | } 48 | 49 | if (null !== $this->resourceOwnerAccount) { 50 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 51 | } 52 | 53 | if (null !== $this->resourceOwnerId) { 54 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 55 | } 56 | 57 | if (null !== $this->signName) { 58 | $res['SignName'] = $this->signName; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['OwnerId'])) { 73 | $model->ownerId = $map['OwnerId']; 74 | } 75 | 76 | if (isset($map['ResourceOwnerAccount'])) { 77 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerId'])) { 81 | $model->resourceOwnerId = $map['ResourceOwnerId']; 82 | } 83 | 84 | if (isset($map['SignName'])) { 85 | $model->signName = $map['SignName']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/QuerySmsSignRequest.php: -------------------------------------------------------------------------------- 1 | 'OwnerId', 32 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 33 | 'resourceOwnerId' => 'ResourceOwnerId', 34 | 'signName' => 'SignName', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->ownerId) { 46 | $res['OwnerId'] = $this->ownerId; 47 | } 48 | 49 | if (null !== $this->resourceOwnerAccount) { 50 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 51 | } 52 | 53 | if (null !== $this->resourceOwnerId) { 54 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 55 | } 56 | 57 | if (null !== $this->signName) { 58 | $res['SignName'] = $this->signName; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['OwnerId'])) { 73 | $model->ownerId = $map['OwnerId']; 74 | } 75 | 76 | if (isset($map['ResourceOwnerAccount'])) { 77 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerId'])) { 81 | $model->resourceOwnerId = $map['ResourceOwnerId']; 82 | } 83 | 84 | if (isset($map['SignName'])) { 85 | $model->signName = $map['SignName']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/RequiredPhoneCodeRequest.php: -------------------------------------------------------------------------------- 1 | 'OwnerId', 32 | 'phoneNo' => 'PhoneNo', 33 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 34 | 'resourceOwnerId' => 'ResourceOwnerId', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->ownerId) { 46 | $res['OwnerId'] = $this->ownerId; 47 | } 48 | 49 | if (null !== $this->phoneNo) { 50 | $res['PhoneNo'] = $this->phoneNo; 51 | } 52 | 53 | if (null !== $this->resourceOwnerAccount) { 54 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 55 | } 56 | 57 | if (null !== $this->resourceOwnerId) { 58 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['OwnerId'])) { 73 | $model->ownerId = $map['OwnerId']; 74 | } 75 | 76 | if (isset($map['PhoneNo'])) { 77 | $model->phoneNo = $map['PhoneNo']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerAccount'])) { 81 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 82 | } 83 | 84 | if (isset($map['ResourceOwnerId'])) { 85 | $model->resourceOwnerId = $map['ResourceOwnerId']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/DeleteSmsSignRequest.php: -------------------------------------------------------------------------------- 1 | 'OwnerId', 32 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 33 | 'resourceOwnerId' => 'ResourceOwnerId', 34 | 'signName' => 'SignName', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->ownerId) { 46 | $res['OwnerId'] = $this->ownerId; 47 | } 48 | 49 | if (null !== $this->resourceOwnerAccount) { 50 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 51 | } 52 | 53 | if (null !== $this->resourceOwnerId) { 54 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 55 | } 56 | 57 | if (null !== $this->signName) { 58 | $res['SignName'] = $this->signName; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['OwnerId'])) { 73 | $model->ownerId = $map['OwnerId']; 74 | } 75 | 76 | if (isset($map['ResourceOwnerAccount'])) { 77 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerId'])) { 81 | $model->resourceOwnerId = $map['ResourceOwnerId']; 82 | } 83 | 84 | if (isset($map['SignName'])) { 85 | $model->signName = $map['SignName']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/QueryShortUrlRequest.php: -------------------------------------------------------------------------------- 1 | 'OwnerId', 32 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 33 | 'resourceOwnerId' => 'ResourceOwnerId', 34 | 'shortUrl' => 'ShortUrl', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->ownerId) { 46 | $res['OwnerId'] = $this->ownerId; 47 | } 48 | 49 | if (null !== $this->resourceOwnerAccount) { 50 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 51 | } 52 | 53 | if (null !== $this->resourceOwnerId) { 54 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 55 | } 56 | 57 | if (null !== $this->shortUrl) { 58 | $res['ShortUrl'] = $this->shortUrl; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['OwnerId'])) { 73 | $model->ownerId = $map['OwnerId']; 74 | } 75 | 76 | if (isset($map['ResourceOwnerAccount'])) { 77 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerId'])) { 81 | $model->resourceOwnerId = $map['ResourceOwnerId']; 82 | } 83 | 84 | if (isset($map['ShortUrl'])) { 85 | $model->shortUrl = $map['ShortUrl']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/GetSmsOcrOssInfoRequest.php: -------------------------------------------------------------------------------- 1 | 'OwnerId', 32 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 33 | 'resourceOwnerId' => 'ResourceOwnerId', 34 | 'taskType' => 'TaskType', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->ownerId) { 46 | $res['OwnerId'] = $this->ownerId; 47 | } 48 | 49 | if (null !== $this->resourceOwnerAccount) { 50 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 51 | } 52 | 53 | if (null !== $this->resourceOwnerId) { 54 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 55 | } 56 | 57 | if (null !== $this->taskType) { 58 | $res['TaskType'] = $this->taskType; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['OwnerId'])) { 73 | $model->ownerId = $map['OwnerId']; 74 | } 75 | 76 | if (isset($map['ResourceOwnerAccount'])) { 77 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerId'])) { 81 | $model->resourceOwnerId = $map['ResourceOwnerId']; 82 | } 83 | 84 | if (isset($map['TaskType'])) { 85 | $model->taskType = $map['TaskType']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/QuerySendStatisticsResponseBody/data.php: -------------------------------------------------------------------------------- 1 | 'TargetList', 23 | 'totalSize' => 'TotalSize', 24 | ]; 25 | 26 | public function validate() 27 | { 28 | if (\is_array($this->targetList)) { 29 | Model::validateArray($this->targetList); 30 | } 31 | parent::validate(); 32 | } 33 | 34 | public function toArray($noStream = false) 35 | { 36 | $res = []; 37 | if (null !== $this->targetList) { 38 | if (\is_array($this->targetList)) { 39 | $res['TargetList'] = []; 40 | $n1 = 0; 41 | foreach ($this->targetList as $item1) { 42 | $res['TargetList'][$n1] = null !== $item1 ? $item1->toArray($noStream) : $item1; 43 | ++$n1; 44 | } 45 | } 46 | } 47 | 48 | if (null !== $this->totalSize) { 49 | $res['TotalSize'] = $this->totalSize; 50 | } 51 | 52 | return $res; 53 | } 54 | 55 | public function toMap($noStream = false) 56 | { 57 | return $this->toArray($noStream); 58 | } 59 | 60 | public static function fromMap($map = []) 61 | { 62 | $model = new self(); 63 | if (isset($map['TargetList'])) { 64 | if (!empty($map['TargetList'])) { 65 | $model->targetList = []; 66 | $n1 = 0; 67 | foreach ($map['TargetList'] as $item1) { 68 | $model->targetList[$n1] = targetList::fromMap($item1); 69 | ++$n1; 70 | } 71 | } 72 | } 73 | 74 | if (isset($map['TotalSize'])) { 75 | $model->totalSize = $map['TotalSize']; 76 | } 77 | 78 | return $model; 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /src/Models/DeleteShortUrlRequest.php: -------------------------------------------------------------------------------- 1 | 'OwnerId', 32 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 33 | 'resourceOwnerId' => 'ResourceOwnerId', 34 | 'sourceUrl' => 'SourceUrl', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->ownerId) { 46 | $res['OwnerId'] = $this->ownerId; 47 | } 48 | 49 | if (null !== $this->resourceOwnerAccount) { 50 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 51 | } 52 | 53 | if (null !== $this->resourceOwnerId) { 54 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 55 | } 56 | 57 | if (null !== $this->sourceUrl) { 58 | $res['SourceUrl'] = $this->sourceUrl; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['OwnerId'])) { 73 | $model->ownerId = $map['OwnerId']; 74 | } 75 | 76 | if (isset($map['ResourceOwnerAccount'])) { 77 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerId'])) { 81 | $model->resourceOwnerId = $map['ResourceOwnerId']; 82 | } 83 | 84 | if (isset($map['SourceUrl'])) { 85 | $model->sourceUrl = $map['SourceUrl']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/GetOSSInfoForUploadFileRequest.php: -------------------------------------------------------------------------------- 1 | 'BizType', 32 | 'ownerId' => 'OwnerId', 33 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 34 | 'resourceOwnerId' => 'ResourceOwnerId', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->bizType) { 46 | $res['BizType'] = $this->bizType; 47 | } 48 | 49 | if (null !== $this->ownerId) { 50 | $res['OwnerId'] = $this->ownerId; 51 | } 52 | 53 | if (null !== $this->resourceOwnerAccount) { 54 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 55 | } 56 | 57 | if (null !== $this->resourceOwnerId) { 58 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['BizType'])) { 73 | $model->bizType = $map['BizType']; 74 | } 75 | 76 | if (isset($map['OwnerId'])) { 77 | $model->ownerId = $map['OwnerId']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerAccount'])) { 81 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 82 | } 83 | 84 | if (isset($map['ResourceOwnerId'])) { 85 | $model->resourceOwnerId = $map['ResourceOwnerId']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/GetQualificationOssInfoRequest.php: -------------------------------------------------------------------------------- 1 | 'BizType', 32 | 'ownerId' => 'OwnerId', 33 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 34 | 'resourceOwnerId' => 'ResourceOwnerId', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->bizType) { 46 | $res['BizType'] = $this->bizType; 47 | } 48 | 49 | if (null !== $this->ownerId) { 50 | $res['OwnerId'] = $this->ownerId; 51 | } 52 | 53 | if (null !== $this->resourceOwnerAccount) { 54 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 55 | } 56 | 57 | if (null !== $this->resourceOwnerId) { 58 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['BizType'])) { 73 | $model->bizType = $map['BizType']; 74 | } 75 | 76 | if (isset($map['OwnerId'])) { 77 | $model->ownerId = $map['OwnerId']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerAccount'])) { 81 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 82 | } 83 | 84 | if (isset($map['ResourceOwnerId'])) { 85 | $model->resourceOwnerId = $map['ResourceOwnerId']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/AddShortUrlResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'message' => 'Message', 35 | 'requestId' => 'RequestId', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->message) { 58 | $res['Message'] = $this->message; 59 | } 60 | 61 | if (null !== $this->requestId) { 62 | $res['RequestId'] = $this->requestId; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['Message'])) { 85 | $model->message = $map['Message']; 86 | } 87 | 88 | if (isset($map['RequestId'])) { 89 | $model->requestId = $map['RequestId']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/SendCardSmsResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'requestId' => 'RequestId', 35 | 'success' => 'Success', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | if (null !== $this->success) { 62 | $res['Success'] = $this->success; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | if (isset($map['Success'])) { 89 | $model->success = $map['Success']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/QueryShortUrlResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'message' => 'Message', 35 | 'requestId' => 'RequestId', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->message) { 58 | $res['Message'] = $this->message; 59 | } 60 | 61 | if (null !== $this->requestId) { 62 | $res['RequestId'] = $this->requestId; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['Message'])) { 85 | $model->message = $map['Message']; 86 | } 87 | 88 | if (isset($map['RequestId'])) { 89 | $model->requestId = $map['RequestId']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/GetCardSmsLinkResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'requestId' => 'RequestId', 35 | 'success' => 'Success', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | if (null !== $this->success) { 62 | $res['Success'] = $this->success; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | if (isset($map['Success'])) { 89 | $model->success = $map['Success']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/GetSmsTemplateRequest.php: -------------------------------------------------------------------------------- 1 | 'OwnerId', 32 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 33 | 'resourceOwnerId' => 'ResourceOwnerId', 34 | 'templateCode' => 'TemplateCode', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->ownerId) { 46 | $res['OwnerId'] = $this->ownerId; 47 | } 48 | 49 | if (null !== $this->resourceOwnerAccount) { 50 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 51 | } 52 | 53 | if (null !== $this->resourceOwnerId) { 54 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 55 | } 56 | 57 | if (null !== $this->templateCode) { 58 | $res['TemplateCode'] = $this->templateCode; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['OwnerId'])) { 73 | $model->ownerId = $map['OwnerId']; 74 | } 75 | 76 | if (isset($map['ResourceOwnerAccount'])) { 77 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerId'])) { 81 | $model->resourceOwnerId = $map['ResourceOwnerId']; 82 | } 83 | 84 | if (isset($map['TemplateCode'])) { 85 | $model->templateCode = $map['TemplateCode']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/DeleteSmsTemplateRequest.php: -------------------------------------------------------------------------------- 1 | 'OwnerId', 32 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 33 | 'resourceOwnerId' => 'ResourceOwnerId', 34 | 'templateCode' => 'TemplateCode', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->ownerId) { 46 | $res['OwnerId'] = $this->ownerId; 47 | } 48 | 49 | if (null !== $this->resourceOwnerAccount) { 50 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 51 | } 52 | 53 | if (null !== $this->resourceOwnerId) { 54 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 55 | } 56 | 57 | if (null !== $this->templateCode) { 58 | $res['TemplateCode'] = $this->templateCode; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['OwnerId'])) { 73 | $model->ownerId = $map['OwnerId']; 74 | } 75 | 76 | if (isset($map['ResourceOwnerAccount'])) { 77 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerId'])) { 81 | $model->resourceOwnerId = $map['ResourceOwnerId']; 82 | } 83 | 84 | if (isset($map['TemplateCode'])) { 85 | $model->templateCode = $map['TemplateCode']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/QuerySmsTemplateRequest.php: -------------------------------------------------------------------------------- 1 | 'OwnerId', 32 | 'resourceOwnerAccount' => 'ResourceOwnerAccount', 33 | 'resourceOwnerId' => 'ResourceOwnerId', 34 | 'templateCode' => 'TemplateCode', 35 | ]; 36 | 37 | public function validate() 38 | { 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->ownerId) { 46 | $res['OwnerId'] = $this->ownerId; 47 | } 48 | 49 | if (null !== $this->resourceOwnerAccount) { 50 | $res['ResourceOwnerAccount'] = $this->resourceOwnerAccount; 51 | } 52 | 53 | if (null !== $this->resourceOwnerId) { 54 | $res['ResourceOwnerId'] = $this->resourceOwnerId; 55 | } 56 | 57 | if (null !== $this->templateCode) { 58 | $res['TemplateCode'] = $this->templateCode; 59 | } 60 | 61 | return $res; 62 | } 63 | 64 | public function toMap($noStream = false) 65 | { 66 | return $this->toArray($noStream); 67 | } 68 | 69 | public static function fromMap($map = []) 70 | { 71 | $model = new self(); 72 | if (isset($map['OwnerId'])) { 73 | $model->ownerId = $map['OwnerId']; 74 | } 75 | 76 | if (isset($map['ResourceOwnerAccount'])) { 77 | $model->resourceOwnerAccount = $map['ResourceOwnerAccount']; 78 | } 79 | 80 | if (isset($map['ResourceOwnerId'])) { 81 | $model->resourceOwnerId = $map['ResourceOwnerId']; 82 | } 83 | 84 | if (isset($map['TemplateCode'])) { 85 | $model->templateCode = $map['TemplateCode']; 86 | } 87 | 88 | return $model; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Models/SendBatchCardSmsResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'requestId' => 'RequestId', 35 | 'success' => 'Success', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | if (null !== $this->success) { 62 | $res['Success'] = $this->success; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | if (isset($map['Success'])) { 89 | $model->success = $map['Success']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/GetMediaResourceIdResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'requestId' => 'RequestId', 35 | 'success' => 'Success', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | if (null !== $this->success) { 62 | $res['Success'] = $this->success; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | if (isset($map['Success'])) { 89 | $model->success = $map['Success']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/QueryCardSmsTemplateResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'requestId' => 'RequestId', 35 | 'success' => 'Success', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | if (null !== $this->success) { 62 | $res['Success'] = $this->success; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | if (isset($map['Success'])) { 89 | $model->success = $map['Success']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/QuerySendStatisticsResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'message' => 'Message', 35 | 'requestId' => 'RequestId', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->message) { 58 | $res['Message'] = $this->message; 59 | } 60 | 61 | if (null !== $this->requestId) { 62 | $res['RequestId'] = $this->requestId; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['Message'])) { 85 | $model->message = $map['Message']; 86 | } 87 | 88 | if (isset($map['RequestId'])) { 89 | $model->requestId = $map['RequestId']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/CreateCardSmsTemplateResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'requestId' => 'RequestId', 35 | 'success' => 'Success', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | if (null !== $this->success) { 62 | $res['Success'] = $this->success; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | if (isset($map['Success'])) { 89 | $model->success = $map['Success']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/CheckMobilesCardSupportResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'requestId' => 'RequestId', 35 | 'success' => 'Success', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | if (null !== $this->success) { 62 | $res['Success'] = $this->success; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | if (isset($map['Success'])) { 89 | $model->success = $map['Success']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/QueryMobilesCardSupportResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'requestId' => 'RequestId', 35 | 'success' => 'Success', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | if (null !== $this->success) { 62 | $res['Success'] = $this->success; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | if (isset($map['Success'])) { 89 | $model->success = $map['Success']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/GetOSSInfoForCardTemplateResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'requestId' => 'RequestId', 35 | 'success' => 'Success', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | if (null !== $this->success) { 62 | $res['Success'] = $this->success; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | if (isset($map['Success'])) { 89 | $model->success = $map['Success']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/QueryCardSmsTemplateReportResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'data' => 'Data', 34 | 'requestId' => 'RequestId', 35 | 'success' => 'Success', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->data) { 41 | $this->data->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->data) { 54 | $res['Data'] = null !== $this->data ? $this->data->toArray($noStream) : $this->data; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | if (null !== $this->success) { 62 | $res['Success'] = $this->success; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['Data'])) { 81 | $model->data = data::fromMap($map['Data']); 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | if (isset($map['Success'])) { 89 | $model->success = $map['Success']; 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/SendSmsResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = SendSmsResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/ListTagResourcesResponseBody.php: -------------------------------------------------------------------------------- 1 | 'Code', 33 | 'nextToken' => 'NextToken', 34 | 'requestId' => 'RequestId', 35 | 'tagResources' => 'TagResources', 36 | ]; 37 | 38 | public function validate() 39 | { 40 | if (null !== $this->tagResources) { 41 | $this->tagResources->validate(); 42 | } 43 | parent::validate(); 44 | } 45 | 46 | public function toArray($noStream = false) 47 | { 48 | $res = []; 49 | if (null !== $this->code) { 50 | $res['Code'] = $this->code; 51 | } 52 | 53 | if (null !== $this->nextToken) { 54 | $res['NextToken'] = $this->nextToken; 55 | } 56 | 57 | if (null !== $this->requestId) { 58 | $res['RequestId'] = $this->requestId; 59 | } 60 | 61 | if (null !== $this->tagResources) { 62 | $res['TagResources'] = null !== $this->tagResources ? $this->tagResources->toArray($noStream) : $this->tagResources; 63 | } 64 | 65 | return $res; 66 | } 67 | 68 | public function toMap($noStream = false) 69 | { 70 | return $this->toArray($noStream); 71 | } 72 | 73 | public static function fromMap($map = []) 74 | { 75 | $model = new self(); 76 | if (isset($map['Code'])) { 77 | $model->code = $map['Code']; 78 | } 79 | 80 | if (isset($map['NextToken'])) { 81 | $model->nextToken = $map['NextToken']; 82 | } 83 | 84 | if (isset($map['RequestId'])) { 85 | $model->requestId = $map['RequestId']; 86 | } 87 | 88 | if (isset($map['TagResources'])) { 89 | $model->tagResources = tagResources::fromMap($map['TagResources']); 90 | } 91 | 92 | return $model; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /src/Models/AddSmsSignResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = AddSmsSignResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/GetSmsSignResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = GetSmsSignResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/AddShortUrlResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = AddShortUrlResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/SendCardSmsResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = SendCardSmsResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/CreateSmsSignResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = CreateSmsSignResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/DeleteSmsSignResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = DeleteSmsSignResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/ModifySmsSignResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = ModifySmsSignResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/QueryShortUrlResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = QueryShortUrlResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/QuerySmsSignResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = QuerySmsSignResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/SendBatchSmsResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = SendBatchSmsResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/TagResourcesResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = TagResourcesResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/UpdateSmsSignResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = UpdateSmsSignResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/AddExtCodeSignResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = AddExtCodeSignResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/AddSmsTemplateResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = AddSmsTemplateResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/DeleteShortUrlResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = DeleteShortUrlResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/GetCardSmsLinkResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = GetCardSmsLinkResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/GetSmsTemplateResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = GetSmsTemplateResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/UntagResourcesResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = UntagResourcesResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/ValidPhoneCodeResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = ValidPhoneCodeResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/GetSmsOcrOssInfoResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = GetSmsOcrOssInfoResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/ListTagResourcesResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = ListTagResourcesResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/QueryExtCodeSignResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = QueryExtCodeSignResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/QuerySendDetailsResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = QuerySendDetailsResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/QuerySmsSignListResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = QuerySmsSignListResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/QuerySmsTemplateResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = QuerySmsTemplateResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /src/Models/SendBatchCardSmsResponse.php: -------------------------------------------------------------------------------- 1 | 'headers', 27 | 'statusCode' => 'statusCode', 28 | 'body' => 'body', 29 | ]; 30 | 31 | public function validate() 32 | { 33 | if (\is_array($this->headers)) { 34 | Model::validateArray($this->headers); 35 | } 36 | if (null !== $this->body) { 37 | $this->body->validate(); 38 | } 39 | parent::validate(); 40 | } 41 | 42 | public function toArray($noStream = false) 43 | { 44 | $res = []; 45 | if (null !== $this->headers) { 46 | if (\is_array($this->headers)) { 47 | $res['headers'] = []; 48 | foreach ($this->headers as $key1 => $value1) { 49 | $res['headers'][$key1] = $value1; 50 | } 51 | } 52 | } 53 | 54 | if (null !== $this->statusCode) { 55 | $res['statusCode'] = $this->statusCode; 56 | } 57 | 58 | if (null !== $this->body) { 59 | $res['body'] = null !== $this->body ? $this->body->toArray($noStream) : $this->body; 60 | } 61 | 62 | return $res; 63 | } 64 | 65 | public function toMap($noStream = false) 66 | { 67 | return $this->toArray($noStream); 68 | } 69 | 70 | public static function fromMap($map = []) 71 | { 72 | $model = new self(); 73 | if (isset($map['headers'])) { 74 | if (!empty($map['headers'])) { 75 | $model->headers = []; 76 | foreach ($map['headers'] as $key1 => $value1) { 77 | $model->headers[$key1] = $value1; 78 | } 79 | } 80 | } 81 | 82 | if (isset($map['statusCode'])) { 83 | $model->statusCode = $map['statusCode']; 84 | } 85 | 86 | if (isset($map['body'])) { 87 | $model->body = SendBatchCardSmsResponseBody::fromMap($map['body']); 88 | } 89 | 90 | return $model; 91 | } 92 | } 93 | --------------------------------------------------------------------------------