63 lines
1.3 KiB
PHP
63 lines
1.3 KiB
PHP
<?php
|
|
|
|
// This file is auto-generated, don't edit it. Thanks.
|
|
|
|
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models;
|
|
|
|
use AlibabaCloud\Dara\Model;
|
|
|
|
class QueryMobilesCardSupportShrinkRequest extends Model
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $mobilesShrink;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $templateCode;
|
|
protected $_name = [
|
|
'mobilesShrink' => 'Mobiles',
|
|
'templateCode' => 'TemplateCode',
|
|
];
|
|
|
|
public function validate()
|
|
{
|
|
parent::validate();
|
|
}
|
|
|
|
public function toArray($noStream = false)
|
|
{
|
|
$res = [];
|
|
if (null !== $this->mobilesShrink) {
|
|
$res['Mobiles'] = $this->mobilesShrink;
|
|
}
|
|
|
|
if (null !== $this->templateCode) {
|
|
$res['TemplateCode'] = $this->templateCode;
|
|
}
|
|
|
|
return $res;
|
|
}
|
|
|
|
public function toMap($noStream = false)
|
|
{
|
|
return $this->toArray($noStream);
|
|
}
|
|
|
|
public static function fromMap($map = [])
|
|
{
|
|
$model = new self();
|
|
if (isset($map['Mobiles'])) {
|
|
$model->mobilesShrink = $map['Mobiles'];
|
|
}
|
|
|
|
if (isset($map['TemplateCode'])) {
|
|
$model->templateCode = $map['TemplateCode'];
|
|
}
|
|
|
|
return $model;
|
|
}
|
|
}
|