Class: TencentCloud::Bda::V20200324::LowerBodyCloth

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200324/models.rb

Overview

下衣属性信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(color = nil, length = nil, type = nil) ⇒ LowerBodyCloth

Returns a new instance of LowerBodyCloth.



1073
1074
1075
1076
1077
# File 'lib/v20200324/models.rb', line 1073

def initialize(color=nil, length=nil, type=nil)
  @Color = color
  @Length = length
  @Type = type
end

Instance Attribute Details

#ColorObject

Parameters:

  • Color:

    下衣颜色信息。

  • Length:

    下衣长度信息 。

  • Type:

    下衣类型信息。



1071
1072
1073
# File 'lib/v20200324/models.rb', line 1071

def Color
  @Color
end

#LengthObject

Parameters:

  • Color:

    下衣颜色信息。

  • Length:

    下衣长度信息 。

  • Type:

    下衣类型信息。



1071
1072
1073
# File 'lib/v20200324/models.rb', line 1071

def Length
  @Length
end

#TypeObject

Parameters:

  • Color:

    下衣颜色信息。

  • Length:

    下衣长度信息 。

  • Type:

    下衣类型信息。



1071
1072
1073
# File 'lib/v20200324/models.rb', line 1071

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
# File 'lib/v20200324/models.rb', line 1079

def deserialize(params)
  unless params['Color'].nil?
    @Color = LowerBodyClothColor.new
    @Color.deserialize(params['Color'])
  end
  unless params['Length'].nil?
    @Length = LowerBodyClothLength.new
    @Length.deserialize(params['Length'])
  end
  unless params['Type'].nil?
    @Type = LowerBodyClothType.new
    @Type.deserialize(params['Type'])
  end
end