Class: TencentCloud::Iotvideoindustry::V20201201::GetTimeTemplatesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::GetTimeTemplatesResponse
- Defined in:
- lib/v20201201/models.rb
Overview
GetTimeTemplates返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Templates ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templates = nil, totalcount = nil, requestid = nil) ⇒ GetTimeTemplatesResponse
constructor
A new instance of GetTimeTemplatesResponse.
Constructor Details
#initialize(templates = nil, totalcount = nil, requestid = nil) ⇒ GetTimeTemplatesResponse
Returns a new instance of GetTimeTemplatesResponse.
4676 4677 4678 4679 4680 |
# File 'lib/v20201201/models.rb', line 4676 def initialize(templates=nil, totalcount=nil, requestid=nil) @Templates = templates @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4674 4675 4676 |
# File 'lib/v20201201/models.rb', line 4674 def RequestId @RequestId end |
#Templates ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4674 4675 4676 |
# File 'lib/v20201201/models.rb', line 4674 def Templates @Templates end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4674 4675 4676 |
# File 'lib/v20201201/models.rb', line 4674 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 |
# File 'lib/v20201201/models.rb', line 4682 def deserialize(params) unless params['Templates'].nil? @Templates = [] params['Templates'].each do |i| timetemplateitem_tmp = TimeTemplateItem.new timetemplateitem_tmp.deserialize(i) @Templates << timetemplateitem_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |