Class: TencentCloud::Tke::V20180525::ModifyPrometheusTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyPrometheusTemplateRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyPrometheusTemplate请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templateid = nil, template = nil) ⇒ ModifyPrometheusTemplateRequest
constructor
A new instance of ModifyPrometheusTemplateRequest.
Constructor Details
#initialize(templateid = nil, template = nil) ⇒ ModifyPrometheusTemplateRequest
Returns a new instance of ModifyPrometheusTemplateRequest.
14806 14807 14808 14809 |
# File 'lib/v20180525/models.rb', line 14806 def initialize(templateid=nil, template=nil) @TemplateId = templateid @Template = template end |
Instance Attribute Details
#Template ⇒ Object
14804 14805 14806 |
# File 'lib/v20180525/models.rb', line 14804 def Template @Template end |
#TemplateId ⇒ Object
14804 14805 14806 |
# File 'lib/v20180525/models.rb', line 14804 def TemplateId @TemplateId end |
Instance Method Details
#deserialize(params) ⇒ Object
14811 14812 14813 14814 14815 14816 14817 |
# File 'lib/v20180525/models.rb', line 14811 def deserialize(params) @TemplateId = params['TemplateId'] unless params['Template'].nil? @Template = PrometheusTemplateModify.new @Template.deserialize(params['Template']) end end |