'CasterId', 'layoutId' => 'LayoutId', 'ownerId' => 'OwnerId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->casterId) { $res['CasterId'] = $this->casterId; } if (null !== $this->layoutId) { $res['LayoutId'] = $this->layoutId; } if (null !== $this->ownerId) { $res['OwnerId'] = $this->ownerId; } return $res; } /** * @param array $map * * @return DeleteStudioLayoutRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['CasterId'])) { $model->casterId = $map['CasterId']; } if (isset($map['LayoutId'])) { $model->layoutId = $map['LayoutId']; } if (isset($map['OwnerId'])) { $model->ownerId = $map['OwnerId']; } return $model; } }