Eyebrow.php 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?php
  2. /*
  3. * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License");
  6. * you may not use this file except in compliance with the License.
  7. * You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. namespace TencentCloud\Iai\V20180301\Models;
  18. use TencentCloud\Common\AbstractModel;
  19. /**
  20. * 眉毛信息
  21. *
  22. * @method AttributeItem getEyebrowDensity() 获取眉毛浓密。
  23. AttributeItem对应的Type为 —— 0:淡眉,1:浓眉。
  24. * @method void setEyebrowDensity(AttributeItem $EyebrowDensity) 设置眉毛浓密。
  25. AttributeItem对应的Type为 —— 0:淡眉,1:浓眉。
  26. * @method AttributeItem getEyebrowCurve() 获取眉毛弯曲。
  27. AttributeItem对应的Type为 —— 0:不弯,1:弯眉。
  28. * @method void setEyebrowCurve(AttributeItem $EyebrowCurve) 设置眉毛弯曲。
  29. AttributeItem对应的Type为 —— 0:不弯,1:弯眉。
  30. * @method AttributeItem getEyebrowLength() 获取眉毛长短。
  31. AttributeItem对应的Type为 —— 0:短眉毛,1:长眉毛。
  32. * @method void setEyebrowLength(AttributeItem $EyebrowLength) 设置眉毛长短。
  33. AttributeItem对应的Type为 —— 0:短眉毛,1:长眉毛。
  34. */
  35. class Eyebrow extends AbstractModel
  36. {
  37. /**
  38. * @var AttributeItem 眉毛浓密。
  39. AttributeItem对应的Type为 —— 0:淡眉,1:浓眉。
  40. */
  41. public $EyebrowDensity;
  42. /**
  43. * @var AttributeItem 眉毛弯曲。
  44. AttributeItem对应的Type为 —— 0:不弯,1:弯眉。
  45. */
  46. public $EyebrowCurve;
  47. /**
  48. * @var AttributeItem 眉毛长短。
  49. AttributeItem对应的Type为 —— 0:短眉毛,1:长眉毛。
  50. */
  51. public $EyebrowLength;
  52. /**
  53. * @param AttributeItem $EyebrowDensity 眉毛浓密。
  54. AttributeItem对应的Type为 —— 0:淡眉,1:浓眉。
  55. * @param AttributeItem $EyebrowCurve 眉毛弯曲。
  56. AttributeItem对应的Type为 —— 0:不弯,1:弯眉。
  57. * @param AttributeItem $EyebrowLength 眉毛长短。
  58. AttributeItem对应的Type为 —— 0:短眉毛,1:长眉毛。
  59. */
  60. function __construct()
  61. {
  62. }
  63. /**
  64. * For internal only. DO NOT USE IT.
  65. */
  66. public function deserialize($param)
  67. {
  68. if ($param === null) {
  69. return;
  70. }
  71. if (array_key_exists("EyebrowDensity",$param) and $param["EyebrowDensity"] !== null) {
  72. $this->EyebrowDensity = new AttributeItem();
  73. $this->EyebrowDensity->deserialize($param["EyebrowDensity"]);
  74. }
  75. if (array_key_exists("EyebrowCurve",$param) and $param["EyebrowCurve"] !== null) {
  76. $this->EyebrowCurve = new AttributeItem();
  77. $this->EyebrowCurve->deserialize($param["EyebrowCurve"]);
  78. }
  79. if (array_key_exists("EyebrowLength",$param) and $param["EyebrowLength"] !== null) {
  80. $this->EyebrowLength = new AttributeItem();
  81. $this->EyebrowLength->deserialize($param["EyebrowLength"]);
  82. }
  83. }
  84. }