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

72 lines
1.4 KiB

<?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Dysmsapi\V20170525\Models\SendMessageToGlobeResponseBody;
use AlibabaCloud\Tea\Model;
class numberDetail extends Model
{
/**
* @var string
*/
public $country;
/**
* @var string
*/
public $carrier;
/**
* @var string
*/
public $region;
protected $_name = [
'country' => 'Country',
'carrier' => 'Carrier',
'region' => 'Region',
];
public function validate()
{
}
public function toMap()
{
$res = [];
if (null !== $this->country) {
$res['Country'] = $this->country;
}
if (null !== $this->carrier) {
$res['Carrier'] = $this->carrier;
}
if (null !== $this->region) {
$res['Region'] = $this->region;
}
return $res;
}
/**
* @param array $map
*
* @return numberDetail
*/
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['Country'])) {
$model->country = $map['Country'];
}
if (isset($map['Carrier'])) {
$model->carrier = $map['Carrier'];
}
if (isset($map['Region'])) {
$model->region = $map['Region'];
}
return $model;
}
}