Class: TencentCloud::Mrs::V20200910::Size
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Size
- Defined in:
- lib/v20200910/models.rb
Overview
大小
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(index = nil, normsize = nil, src = nil, value = nil, name = nil) ⇒ Size
constructor
A new instance of Size.
Constructor Details
#initialize(index = nil, normsize = nil, src = nil, value = nil, name = nil) ⇒ Size
Returns a new instance of Size.
9353 9354 9355 9356 9357 9358 9359 |
# File 'lib/v20200910/models.rb', line 9353 def initialize(index=nil, normsize=nil, src=nil, value=nil, name=nil) @Index = index @NormSize = normsize @Src = src @Value = value @Name = name end |
Instance Attribute Details
#Index ⇒ Object
9351 9352 9353 |
# File 'lib/v20200910/models.rb', line 9351 def Index @Index end |
#Name ⇒ Object
9351 9352 9353 |
# File 'lib/v20200910/models.rb', line 9351 def Name @Name end |
#NormSize ⇒ Object
9351 9352 9353 |
# File 'lib/v20200910/models.rb', line 9351 def NormSize @NormSize end |
#Src ⇒ Object
9351 9352 9353 |
# File 'lib/v20200910/models.rb', line 9351 def Src @Src end |
#Value ⇒ Object
9351 9352 9353 |
# File 'lib/v20200910/models.rb', line 9351 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 |
# File 'lib/v20200910/models.rb', line 9361 def deserialize(params) @Index = params['Index'] unless params['NormSize'].nil? @NormSize = NormSize.new @NormSize.deserialize(params['NormSize']) end @Src = params['Src'] @Value = params['Value'] @Name = params['Name'] end |