$mediaId], $attributes)); !empty($type) && $this->setType($type); } /** * @return string * */ public function getMediaId(): string { $this->checkRequiredAttributes(); return $this->get('media_id'); } public function toXmlArray() { return [ Str::studly($this->getType()) => [ 'MediaId' => $this->get('media_id'), ], ]; } }