123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342 |
- <?php
- namespace TencentCloud\Iai\V20180301\Models;
- use TencentCloud\Common\AbstractModel;
- class FaceDetailAttributesInfo extends AbstractModel
- {
-
- public $Age;
-
- public $Beauty;
-
- public $Emotion;
-
- public $Eye;
-
- public $Eyebrow;
-
- public $Gender;
-
- public $Hair;
-
- public $Hat;
-
- public $HeadPose;
-
- public $Mask;
-
- public $Mouth;
-
- public $Moustache;
-
- public $Nose;
-
- public $Shape;
-
- public $Skin;
-
- public $Smile;
-
- function __construct()
- {
- }
-
- public function deserialize($param)
- {
- if ($param === null) {
- return;
- }
- if (array_key_exists("Age",$param) and $param["Age"] !== null) {
- $this->Age = $param["Age"];
- }
- if (array_key_exists("Beauty",$param) and $param["Beauty"] !== null) {
- $this->Beauty = $param["Beauty"];
- }
- if (array_key_exists("Emotion",$param) and $param["Emotion"] !== null) {
- $this->Emotion = new AttributeItem();
- $this->Emotion->deserialize($param["Emotion"]);
- }
- if (array_key_exists("Eye",$param) and $param["Eye"] !== null) {
- $this->Eye = new Eye();
- $this->Eye->deserialize($param["Eye"]);
- }
- if (array_key_exists("Eyebrow",$param) and $param["Eyebrow"] !== null) {
- $this->Eyebrow = new Eyebrow();
- $this->Eyebrow->deserialize($param["Eyebrow"]);
- }
- if (array_key_exists("Gender",$param) and $param["Gender"] !== null) {
- $this->Gender = new AttributeItem();
- $this->Gender->deserialize($param["Gender"]);
- }
- if (array_key_exists("Hair",$param) and $param["Hair"] !== null) {
- $this->Hair = new Hair();
- $this->Hair->deserialize($param["Hair"]);
- }
- if (array_key_exists("Hat",$param) and $param["Hat"] !== null) {
- $this->Hat = new Hat();
- $this->Hat->deserialize($param["Hat"]);
- }
- if (array_key_exists("HeadPose",$param) and $param["HeadPose"] !== null) {
- $this->HeadPose = new HeadPose();
- $this->HeadPose->deserialize($param["HeadPose"]);
- }
- if (array_key_exists("Mask",$param) and $param["Mask"] !== null) {
- $this->Mask = new AttributeItem();
- $this->Mask->deserialize($param["Mask"]);
- }
- if (array_key_exists("Mouth",$param) and $param["Mouth"] !== null) {
- $this->Mouth = new Mouth();
- $this->Mouth->deserialize($param["Mouth"]);
- }
- if (array_key_exists("Moustache",$param) and $param["Moustache"] !== null) {
- $this->Moustache = new AttributeItem();
- $this->Moustache->deserialize($param["Moustache"]);
- }
- if (array_key_exists("Nose",$param) and $param["Nose"] !== null) {
- $this->Nose = new AttributeItem();
- $this->Nose->deserialize($param["Nose"]);
- }
- if (array_key_exists("Shape",$param) and $param["Shape"] !== null) {
- $this->Shape = new AttributeItem();
- $this->Shape->deserialize($param["Shape"]);
- }
- if (array_key_exists("Skin",$param) and $param["Skin"] !== null) {
- $this->Skin = new AttributeItem();
- $this->Skin->deserialize($param["Skin"]);
- }
- if (array_key_exists("Smile",$param) and $param["Smile"] !== null) {
- $this->Smile = $param["Smile"];
- }
- }
- }
|