Class: TencentCloud::Bda::V20200324::UpperBodyCloth
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bda::V20200324::UpperBodyCloth
- Defined in:
- lib/v20200324/models.rb
Overview
上衣属性信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(texture = nil, color = nil, sleeve = nil) ⇒ UpperBodyCloth
constructor
A new instance of UpperBodyCloth.
Constructor Details
#initialize(texture = nil, color = nil, sleeve = nil) ⇒ UpperBodyCloth
Returns a new instance of UpperBodyCloth.
1710 1711 1712 1713 1714 |
# File 'lib/v20200324/models.rb', line 1710 def initialize(texture=nil, color=nil, sleeve=nil) @Texture = texture @Color = color @Sleeve = sleeve end |
Instance Attribute Details
#Color ⇒ Object
1708 1709 1710 |
# File 'lib/v20200324/models.rb', line 1708 def Color @Color end |
#Sleeve ⇒ Object
1708 1709 1710 |
# File 'lib/v20200324/models.rb', line 1708 def Sleeve @Sleeve end |
#Texture ⇒ Object
1708 1709 1710 |
# File 'lib/v20200324/models.rb', line 1708 def Texture @Texture end |
Instance Method Details
#deserialize(params) ⇒ Object
1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 |
# File 'lib/v20200324/models.rb', line 1716 def deserialize(params) unless params['Texture'].nil? @Texture = UpperBodyClothTexture.new @Texture.deserialize(params['Texture']) end unless params['Color'].nil? @Color = UpperBodyClothColor.new @Color.deserialize(params['Color']) end unless params['Sleeve'].nil? @Sleeve = UpperBodyClothSleeve.new @Sleeve.deserialize(params['Sleeve']) end end |