Class: TencentCloud::Mrs::V20200910::AspectRatio
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::AspectRatio
- Defined in:
- lib/v20200910/models.rb
Overview
纵横比
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(index = nil, number = nil, relation = nil, src = nil, value = nil) ⇒ AspectRatio
constructor
A new instance of AspectRatio.
Constructor Details
#initialize(index = nil, number = nil, relation = nil, src = nil, value = nil) ⇒ AspectRatio
Returns a new instance of AspectRatio.
103 104 105 106 107 108 109 |
# File 'lib/v20200910/models.rb', line 103 def initialize(index=nil, number=nil, relation=nil, src=nil, value=nil) @Index = index @Number = number @Relation = relation @Src = src @Value = value end |
Instance Attribute Details
#Index ⇒ Object
101 102 103 |
# File 'lib/v20200910/models.rb', line 101 def Index @Index end |
#Number ⇒ Object
101 102 103 |
# File 'lib/v20200910/models.rb', line 101 def Number @Number end |
#Relation ⇒ Object
101 102 103 |
# File 'lib/v20200910/models.rb', line 101 def Relation @Relation end |
#Src ⇒ Object
101 102 103 |
# File 'lib/v20200910/models.rb', line 101 def Src @Src end |
#Value ⇒ Object
101 102 103 |
# File 'lib/v20200910/models.rb', line 101 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
111 112 113 114 115 116 117 |
# File 'lib/v20200910/models.rb', line 111 def deserialize(params) @Index = params['Index'] @Number = params['Number'] @Relation = params['Relation'] @Src = params['Src'] @Value = params['Value'] end |