Class: TencentCloud::Mrs::V20200910::Report
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Report
- Defined in:
- lib/v20200910/models.rb
Overview
报告类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, index = nil, src = nil, value = nil, coords = nil) ⇒ Report
constructor
A new instance of Report.
Constructor Details
#initialize(name = nil, index = nil, src = nil, value = nil, coords = nil) ⇒ Report
Returns a new instance of Report.
9110 9111 9112 9113 9114 9115 9116 |
# File 'lib/v20200910/models.rb', line 9110 def initialize(name=nil, index=nil, src=nil, value=nil, coords=nil) @Name = name @Index = index @Src = src @Value = value @Coords = coords end |
Instance Attribute Details
#Coords ⇒ Object
9108 9109 9110 |
# File 'lib/v20200910/models.rb', line 9108 def Coords @Coords end |
#Index ⇒ Object
9108 9109 9110 |
# File 'lib/v20200910/models.rb', line 9108 def Index @Index end |
#Name ⇒ Object
9108 9109 9110 |
# File 'lib/v20200910/models.rb', line 9108 def Name @Name end |
#Src ⇒ Object
9108 9109 9110 |
# File 'lib/v20200910/models.rb', line 9108 def Src @Src end |
#Value ⇒ Object
9108 9109 9110 |
# File 'lib/v20200910/models.rb', line 9108 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 |
# File 'lib/v20200910/models.rb', line 9118 def deserialize(params) @Name = params['Name'] @Index = params['Index'] @Src = params['Src'] @Value = params['Value'] unless params['Coords'].nil? @Coords = [] params['Coords'].each do |i| coord_tmp = Coord.new coord_tmp.deserialize(i) @Coords << coord_tmp end end end |