Class: TencentCloud::Bda::V20200324::AttributesOptions
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bda::V20200324::AttributesOptions
- Defined in:
- lib/v20200324/models.rb
Overview
返回人体属性选项,此值不填则为不需要返回,可以选择的值为以下六个。Age、Bag、Gender、Orientation、UpperBodyCloth、LowerBodyCloth,详细的解释请看对象描述需注意本接口最多返回面积最大的 5 个人体属性信息,超过 5 个人体(第 6 个及以后的人体)的人体属性不具备参考意义。
Instance Attribute Summary collapse
- #Age ⇒ Object
- #Bag ⇒ Object
- #Gender ⇒ Object
- #LowerBodyCloth ⇒ Object
- #Orientation ⇒ Object
- #UpperBodyCloth ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(age = nil, bag = nil, gender = nil, orientation = nil, upperbodycloth = nil, lowerbodycloth = nil) ⇒ AttributesOptions
constructor
A new instance of AttributesOptions.
Constructor Details
#initialize(age = nil, bag = nil, gender = nil, orientation = nil, upperbodycloth = nil, lowerbodycloth = nil) ⇒ AttributesOptions
Returns a new instance of AttributesOptions.
60 61 62 63 64 65 66 67 |
# File 'lib/v20200324/models.rb', line 60 def initialize(age=nil, bag=nil, gender=nil, orientation=nil, upperbodycloth=nil, lowerbodycloth=nil) @Age = age @Bag = bag @Gender = gender @Orientation = orientation @UpperBodyCloth = upperbodycloth @LowerBodyCloth = lowerbodycloth end |
Instance Attribute Details
#Age ⇒ Object
58 59 60 |
# File 'lib/v20200324/models.rb', line 58 def Age @Age end |
#Bag ⇒ Object
58 59 60 |
# File 'lib/v20200324/models.rb', line 58 def Bag @Bag end |
#Gender ⇒ Object
58 59 60 |
# File 'lib/v20200324/models.rb', line 58 def Gender @Gender end |
#LowerBodyCloth ⇒ Object
58 59 60 |
# File 'lib/v20200324/models.rb', line 58 def LowerBodyCloth @LowerBodyCloth end |
#Orientation ⇒ Object
58 59 60 |
# File 'lib/v20200324/models.rb', line 58 def Orientation @Orientation end |
#UpperBodyCloth ⇒ Object
58 59 60 |
# File 'lib/v20200324/models.rb', line 58 def UpperBodyCloth @UpperBodyCloth end |
Instance Method Details
#deserialize(params) ⇒ Object
69 70 71 72 73 74 75 76 |
# File 'lib/v20200324/models.rb', line 69 def deserialize(params) @Age = params['Age'] @Bag = params['Bag'] @Gender = params['Gender'] @Orientation = params['Orientation'] @UpperBodyCloth = params['UpperBodyCloth'] @LowerBodyCloth = params['LowerBodyCloth'] end |