144 lines
3.2 KiB
PHP
144 lines
3.2 KiB
PHP
<?php
|
|
|
|
// This file is auto-generated, don't edit it. Thanks.
|
|
|
|
namespace AlibabaCloud\SDK\Live\V20161101\Models;
|
|
|
|
use AlibabaCloud\Tea\Model;
|
|
|
|
class AddLiveDomainRequest extends Model
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $checkUrl;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $domainName;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $liveDomainType;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $ownerAccount;
|
|
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $ownerId;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $region;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $scope;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $securityToken;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $topLevelDomain;
|
|
protected $_name = [
|
|
'checkUrl' => 'CheckUrl',
|
|
'domainName' => 'DomainName',
|
|
'liveDomainType' => 'LiveDomainType',
|
|
'ownerAccount' => 'OwnerAccount',
|
|
'ownerId' => 'OwnerId',
|
|
'region' => 'Region',
|
|
'scope' => 'Scope',
|
|
'securityToken' => 'SecurityToken',
|
|
'topLevelDomain' => 'TopLevelDomain',
|
|
];
|
|
|
|
public function validate()
|
|
{
|
|
}
|
|
|
|
public function toMap()
|
|
{
|
|
$res = [];
|
|
if (null !== $this->checkUrl) {
|
|
$res['CheckUrl'] = $this->checkUrl;
|
|
}
|
|
if (null !== $this->domainName) {
|
|
$res['DomainName'] = $this->domainName;
|
|
}
|
|
if (null !== $this->liveDomainType) {
|
|
$res['LiveDomainType'] = $this->liveDomainType;
|
|
}
|
|
if (null !== $this->ownerAccount) {
|
|
$res['OwnerAccount'] = $this->ownerAccount;
|
|
}
|
|
if (null !== $this->ownerId) {
|
|
$res['OwnerId'] = $this->ownerId;
|
|
}
|
|
if (null !== $this->region) {
|
|
$res['Region'] = $this->region;
|
|
}
|
|
if (null !== $this->scope) {
|
|
$res['Scope'] = $this->scope;
|
|
}
|
|
if (null !== $this->securityToken) {
|
|
$res['SecurityToken'] = $this->securityToken;
|
|
}
|
|
if (null !== $this->topLevelDomain) {
|
|
$res['TopLevelDomain'] = $this->topLevelDomain;
|
|
}
|
|
|
|
return $res;
|
|
}
|
|
|
|
/**
|
|
* @param array $map
|
|
*
|
|
* @return AddLiveDomainRequest
|
|
*/
|
|
public static function fromMap($map = [])
|
|
{
|
|
$model = new self();
|
|
if (isset($map['CheckUrl'])) {
|
|
$model->checkUrl = $map['CheckUrl'];
|
|
}
|
|
if (isset($map['DomainName'])) {
|
|
$model->domainName = $map['DomainName'];
|
|
}
|
|
if (isset($map['LiveDomainType'])) {
|
|
$model->liveDomainType = $map['LiveDomainType'];
|
|
}
|
|
if (isset($map['OwnerAccount'])) {
|
|
$model->ownerAccount = $map['OwnerAccount'];
|
|
}
|
|
if (isset($map['OwnerId'])) {
|
|
$model->ownerId = $map['OwnerId'];
|
|
}
|
|
if (isset($map['Region'])) {
|
|
$model->region = $map['Region'];
|
|
}
|
|
if (isset($map['Scope'])) {
|
|
$model->scope = $map['Scope'];
|
|
}
|
|
if (isset($map['SecurityToken'])) {
|
|
$model->securityToken = $map['SecurityToken'];
|
|
}
|
|
if (isset($map['TopLevelDomain'])) {
|
|
$model->topLevelDomain = $map['TopLevelDomain'];
|
|
}
|
|
|
|
return $model;
|
|
}
|
|
}
|