'FaceInfos', 'imgHeight' => 'ImgHeight', 'imgWidth' => 'ImgWidth', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->faceInfos) { $res['FaceInfos'] = null !== $this->faceInfos ? $this->faceInfos->toMap() : null; } if (null !== $this->imgHeight) { $res['ImgHeight'] = $this->imgHeight; } if (null !== $this->imgWidth) { $res['ImgWidth'] = $this->imgWidth; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['FaceInfos'])) { $model->faceInfos = faceInfos::fromMap($map['FaceInfos']); } if (isset($map['ImgHeight'])) { $model->imgHeight = $map['ImgHeight']; } if (isset($map['ImgWidth'])) { $model->imgWidth = $map['ImgWidth']; } return $model; } }