Class: TencentCloud::Iotvideoindustry::V20201201::DescribeMonitorDataByDateResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeMonitorDataByDateResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeMonitorDataByDate返回参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ DescribeMonitorDataByDateResponse
constructor
A new instance of DescribeMonitorDataByDateResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ DescribeMonitorDataByDateResponse
Returns a new instance of DescribeMonitorDataByDateResponse.
3236 3237 3238 3239 |
# File 'lib/v20201201/models.rb', line 3236 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3234 3235 3236 |
# File 'lib/v20201201/models.rb', line 3234 def Data @Data end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3234 3235 3236 |
# File 'lib/v20201201/models.rb', line 3234 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 |
# File 'lib/v20201201/models.rb', line 3241 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| recordstatistic_tmp = RecordStatistic.new recordstatistic_tmp.deserialize(i) @Data << recordstatistic_tmp end end @RequestId = params['RequestId'] end |