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.
9326 9327 9328 9329 9330 9331 9332 |
# File 'lib/v20200910/models.rb', line 9326 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
9324 9325 9326 |
# File 'lib/v20200910/models.rb', line 9324 def Index @Index end |
#Name ⇒ Object
9324 9325 9326 |
# File 'lib/v20200910/models.rb', line 9324 def Name @Name end |
#NormSize ⇒ Object
9324 9325 9326 |
# File 'lib/v20200910/models.rb', line 9324 def NormSize @NormSize end |
#Src ⇒ Object
9324 9325 9326 |
# File 'lib/v20200910/models.rb', line 9324 def Src @Src end |
#Value ⇒ Object
9324 9325 9326 |
# File 'lib/v20200910/models.rb', line 9324 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 |
# File 'lib/v20200910/models.rb', line 9334 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 |