'AppId', 'broadCastStatistics' => 'BroadCastStatistics', 'broadCastType' => 'BroadCastType', 'groupId' => 'GroupId', 'userId' => 'UserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['AppId'] = $this->appId; } if (null !== $this->broadCastStatistics) { $res['BroadCastStatistics'] = $this->broadCastStatistics; } if (null !== $this->broadCastType) { $res['BroadCastType'] = $this->broadCastType; } if (null !== $this->groupId) { $res['GroupId'] = $this->groupId; } if (null !== $this->userId) { $res['UserId'] = $this->userId; } return $res; } /** * @param array $map * * @return LeaveMessageGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['AppId'])) { $model->appId = $map['AppId']; } if (isset($map['BroadCastStatistics'])) { $model->broadCastStatistics = $map['BroadCastStatistics']; } if (isset($map['BroadCastType'])) { $model->broadCastType = $map['BroadCastType']; } if (isset($map['GroupId'])) { $model->groupId = $map['GroupId']; } if (isset($map['UserId'])) { $model->userId = $map['UserId']; } return $model; } }