Class: TencentCloud::Iotvideoindustry::V20201201::GetTimeTemplateByIdResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::GetTimeTemplateByIdResponse
- Defined in:
- lib/v20201201/models.rb
Overview
GetTimeTemplateById返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Template ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(template = nil, requestid = nil) ⇒ GetTimeTemplateByIdResponse
constructor
A new instance of GetTimeTemplateByIdResponse.
Constructor Details
#initialize(template = nil, requestid = nil) ⇒ GetTimeTemplateByIdResponse
Returns a new instance of GetTimeTemplateByIdResponse.
4639 4640 4641 4642 |
# File 'lib/v20201201/models.rb', line 4639 def initialize(template=nil, requestid=nil) @Template = template @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4637 4638 4639 |
# File 'lib/v20201201/models.rb', line 4637 def RequestId @RequestId end |
#Template ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4637 4638 4639 |
# File 'lib/v20201201/models.rb', line 4637 def Template @Template end |
Instance Method Details
#deserialize(params) ⇒ Object
4644 4645 4646 4647 4648 4649 4650 |
# File 'lib/v20201201/models.rb', line 4644 def deserialize(params) unless params['Template'].nil? @Template = TimeTemplateItem.new @Template.deserialize(params['Template']) end @RequestId = params['RequestId'] end |