'CallbackAuthKey', 'callbackReqAuth' => 'CallbackReqAuth', 'domainName' => 'DomainName', 'ownerId' => 'OwnerId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackAuthKey) { $res['CallbackAuthKey'] = $this->callbackAuthKey; } if (null !== $this->callbackReqAuth) { $res['CallbackReqAuth'] = $this->callbackReqAuth; } if (null !== $this->domainName) { $res['DomainName'] = $this->domainName; } if (null !== $this->ownerId) { $res['OwnerId'] = $this->ownerId; } return $res; } /** * @param array $map * * @return SetSnapshotCallbackAuthRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['CallbackAuthKey'])) { $model->callbackAuthKey = $map['CallbackAuthKey']; } if (isset($map['CallbackReqAuth'])) { $model->callbackReqAuth = $map['CallbackReqAuth']; } if (isset($map['DomainName'])) { $model->domainName = $map['DomainName']; } if (isset($map['OwnerId'])) { $model->ownerId = $map['OwnerId']; } return $model; } }