'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; } }