'RequestId', 'streamState' => 'StreamState', 'type' => 'Type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['RequestId'] = $this->requestId; } if (null !== $this->streamState) { $res['StreamState'] = $this->streamState; } if (null !== $this->type) { $res['Type'] = $this->type; } return $res; } /** * @param array $map * * @return DescribeLiveStreamStateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['RequestId'])) { $model->requestId = $map['RequestId']; } if (isset($map['StreamState'])) { $model->streamState = $map['StreamState']; } if (isset($map['Type'])) { $model->type = $map['Type']; } return $model; } }