Class: TencentCloud::Tke::V20180525::ModifyPrometheusTempRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyPrometheusTempRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyPrometheusTemp请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templateid = nil, template = nil) ⇒ ModifyPrometheusTempRequest
constructor
A new instance of ModifyPrometheusTempRequest.
Constructor Details
#initialize(templateid = nil, template = nil) ⇒ ModifyPrometheusTempRequest
Returns a new instance of ModifyPrometheusTempRequest.
14767 14768 14769 14770 |
# File 'lib/v20180525/models.rb', line 14767 def initialize(templateid=nil, template=nil) @TemplateId = templateid @Template = template end |
Instance Attribute Details
#Template ⇒ Object
14765 14766 14767 |
# File 'lib/v20180525/models.rb', line 14765 def Template @Template end |
#TemplateId ⇒ Object
14765 14766 14767 |
# File 'lib/v20180525/models.rb', line 14765 def TemplateId @TemplateId end |
Instance Method Details
#deserialize(params) ⇒ Object
14772 14773 14774 14775 14776 14777 14778 |
# File 'lib/v20180525/models.rb', line 14772 def deserialize(params) @TemplateId = params['TemplateId'] unless params['Template'].nil? @Template = PrometheusTempModify.new @Template.deserialize(params['Template']) end end |