123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- <?php
- namespace AlibabaCloud\Dysmsapi\V20170525;
- use AlibabaCloud\Client\Resolver\ApiResolver;
- /**
- * @method AddSmsSign addSmsSign(array $options = [])
- * @method AddSmsTemplate addSmsTemplate(array $options = [])
- * @method DeleteSmsSign deleteSmsSign(array $options = [])
- * @method DeleteSmsTemplate deleteSmsTemplate(array $options = [])
- * @method ModifySmsSign modifySmsSign(array $options = [])
- * @method ModifySmsTemplate modifySmsTemplate(array $options = [])
- * @method QuerySendDetails querySendDetails(array $options = [])
- * @method QuerySmsSign querySmsSign(array $options = [])
- * @method QuerySmsTemplate querySmsTemplate(array $options = [])
- * @method SendBatchSms sendBatchSms(array $options = [])
- * @method SendSms sendSms(array $options = [])
- */
- class DysmsapiApiResolver extends ApiResolver
- {
- }
- class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
- {
- /** @var string */
- public $product = 'Dysmsapi';
- /** @var string */
- public $version = '2017-05-25';
- /** @var string */
- public $method = 'POST';
- /** @var string */
- public $serviceCode = 'dysms';
- }
- /**
- * @method string getResourceOwnerId()
- * @method $this withResourceOwnerId($value)
- * @method string getRemark()
- * @method $this withRemark($value)
- * @method string getSignName()
- * @method $this withSignName($value)
- * @method array getSignFileList()
- * @method string getResourceOwnerAccount()
- * @method $this withResourceOwnerAccount($value)
- * @method string getOwnerId()
- * @method $this withOwnerId($value)
- * @method string getSignSource()
- * @method $this withSignSource($value)
- */
- class AddSmsSign extends Rpc
- {
- /**
- * @param array $signFileList
- *
- * @return $this
- */
- public function withSignFileList(array $signFileList)
- {
- $this->data['SignFileList'] = $signFileList;
- foreach ($signFileList as $depth1 => $depth1Value) {
- $this->options['query']['SignFileList.' . ($depth1 + 1) . '.FileContents'] = $depth1Value['FileContents'];
- $this->options['query']['SignFileList.' . ($depth1 + 1) . '.FileSuffix'] = $depth1Value['FileSuffix'];
- }
- return $this;
- }
- }
- /**
- * @method string getResourceOwnerId()
- * @method $this withResourceOwnerId($value)
- * @method string getRemark()
- * @method $this withRemark($value)
- * @method string getTemplateType()
- * @method $this withTemplateType($value)
- * @method string getTemplateName()
- * @method $this withTemplateName($value)
- * @method string getResourceOwnerAccount()
- * @method $this withResourceOwnerAccount($value)
- * @method string getOwnerId()
- * @method $this withOwnerId($value)
- * @method string getTemplateContent()
- * @method $this withTemplateContent($value)
- */
- class AddSmsTemplate extends Rpc
- {
- }
- /**
- * @method string getResourceOwnerId()
- * @method $this withResourceOwnerId($value)
- * @method string getResourceOwnerAccount()
- * @method $this withResourceOwnerAccount($value)
- * @method string getOwnerId()
- * @method $this withOwnerId($value)
- * @method string getSignName()
- * @method $this withSignName($value)
- */
- class DeleteSmsSign extends Rpc
- {
- }
- /**
- * @method string getResourceOwnerId()
- * @method $this withResourceOwnerId($value)
- * @method string getResourceOwnerAccount()
- * @method $this withResourceOwnerAccount($value)
- * @method string getOwnerId()
- * @method $this withOwnerId($value)
- * @method string getTemplateCode()
- * @method $this withTemplateCode($value)
- */
- class DeleteSmsTemplate extends Rpc
- {
- }
- /**
- * @method string getResourceOwnerId()
- * @method $this withResourceOwnerId($value)
- * @method string getRemark()
- * @method $this withRemark($value)
- * @method string getSignName()
- * @method $this withSignName($value)
- * @method array getSignFileList()
- * @method string getResourceOwnerAccount()
- * @method $this withResourceOwnerAccount($value)
- * @method string getOwnerId()
- * @method $this withOwnerId($value)
- * @method string getSignSource()
- * @method $this withSignSource($value)
- */
- class ModifySmsSign extends Rpc
- {
- /**
- * @param array $signFileList
- *
- * @return $this
- */
- public function withSignFileList(array $signFileList)
- {
- $this->data['SignFileList'] = $signFileList;
- foreach ($signFileList as $depth1 => $depth1Value) {
- $this->options['query']['SignFileList.' . ($depth1 + 1) . '.FileContents'] = $depth1Value['FileContents'];
- $this->options['query']['SignFileList.' . ($depth1 + 1) . '.FileSuffix'] = $depth1Value['FileSuffix'];
- }
- return $this;
- }
- }
- /**
- * @method string getResourceOwnerId()
- * @method $this withResourceOwnerId($value)
- * @method string getRemark()
- * @method $this withRemark($value)
- * @method string getTemplateType()
- * @method $this withTemplateType($value)
- * @method string getTemplateName()
- * @method $this withTemplateName($value)
- * @method string getResourceOwnerAccount()
- * @method $this withResourceOwnerAccount($value)
- * @method string getOwnerId()
- * @method $this withOwnerId($value)
- * @method string getTemplateContent()
- * @method $this withTemplateContent($value)
- * @method string getTemplateCode()
- * @method $this withTemplateCode($value)
- */
- class ModifySmsTemplate extends Rpc
- {
- }
- /**
- * @method string getResourceOwnerId()
- * @method $this withResourceOwnerId($value)
- * @method string getPhoneNumber()
- * @method $this withPhoneNumber($value)
- * @method string getSendDate()
- * @method $this withSendDate($value)
- * @method string getPageSize()
- * @method $this withPageSize($value)
- * @method string getResourceOwnerAccount()
- * @method $this withResourceOwnerAccount($value)
- * @method string getCurrentPage()
- * @method $this withCurrentPage($value)
- * @method string getOwnerId()
- * @method $this withOwnerId($value)
- * @method string getBizId()
- * @method $this withBizId($value)
- */
- class QuerySendDetails extends Rpc
- {
- }
- /**
- * @method string getResourceOwnerId()
- * @method $this withResourceOwnerId($value)
- * @method string getResourceOwnerAccount()
- * @method $this withResourceOwnerAccount($value)
- * @method string getOwnerId()
- * @method $this withOwnerId($value)
- * @method string getSignName()
- * @method $this withSignName($value)
- */
- class QuerySmsSign extends Rpc
- {
- }
- /**
- * @method string getResourceOwnerId()
- * @method $this withResourceOwnerId($value)
- * @method string getResourceOwnerAccount()
- * @method $this withResourceOwnerAccount($value)
- * @method string getOwnerId()
- * @method $this withOwnerId($value)
- * @method string getTemplateCode()
- * @method $this withTemplateCode($value)
- */
- class QuerySmsTemplate extends Rpc
- {
- }
- /**
- * @method string getResourceOwnerId()
- * @method $this withResourceOwnerId($value)
- * @method string getTemplateParamJson()
- * @method $this withTemplateParamJson($value)
- * @method string getResourceOwnerAccount()
- * @method $this withResourceOwnerAccount($value)
- * @method string getOwnerId()
- * @method $this withOwnerId($value)
- * @method string getSmsUpExtendCodeJson()
- * @method $this withSmsUpExtendCodeJson($value)
- * @method string getSignNameJson()
- * @method $this withSignNameJson($value)
- * @method string getTemplateCode()
- * @method $this withTemplateCode($value)
- * @method string getPhoneNumberJson()
- * @method $this withPhoneNumberJson($value)
- */
- class SendBatchSms extends Rpc
- {
- }
- /**
- * @method string getResourceOwnerId()
- * @method $this withResourceOwnerId($value)
- * @method string getSmsUpExtendCode()
- * @method $this withSmsUpExtendCode($value)
- * @method string getSignName()
- * @method $this withSignName($value)
- * @method string getResourceOwnerAccount()
- * @method $this withResourceOwnerAccount($value)
- * @method string getPhoneNumbers()
- * @method $this withPhoneNumbers($value)
- * @method string getOwnerId()
- * @method $this withOwnerId($value)
- * @method string getOutId()
- * @method $this withOutId($value)
- * @method string getTemplateCode()
- * @method $this withTemplateCode($value)
- * @method string getTemplateParam()
- * @method $this withTemplateParam($value)
- */
- class SendSms extends Rpc
- {
- }
|