'AudioLayers', 'casterId' => 'CasterId', 'followEnable' => 'FollowEnable', 'mixList' => 'MixList', 'requestId' => 'RequestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->audioLayers) { $res['AudioLayers'] = null !== $this->audioLayers ? $this->audioLayers->toMap() : null; } if (null !== $this->casterId) { $res['CasterId'] = $this->casterId; } if (null !== $this->followEnable) { $res['FollowEnable'] = $this->followEnable; } if (null !== $this->mixList) { $res['MixList'] = null !== $this->mixList ? $this->mixList->toMap() : null; } if (null !== $this->requestId) { $res['RequestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return DescribeCasterSceneAudioResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['AudioLayers'])) { $model->audioLayers = audioLayers::fromMap($map['AudioLayers']); } if (isset($map['CasterId'])) { $model->casterId = $map['CasterId']; } if (isset($map['FollowEnable'])) { $model->followEnable = $map['FollowEnable']; } if (isset($map['MixList'])) { $model->mixList = mixList::fromMap($map['MixList']); } if (isset($map['RequestId'])) { $model->requestId = $map['RequestId']; } return $model; } }