Class: TencentCloud::Tke::V20180525::CreatePrometheusTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreatePrometheusTemplateRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CreatePrometheusTemplate请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(template = nil) ⇒ CreatePrometheusTemplateRequest
constructor
A new instance of CreatePrometheusTemplateRequest.
Constructor Details
#initialize(template = nil) ⇒ CreatePrometheusTemplateRequest
Returns a new instance of CreatePrometheusTemplateRequest.
3622 3623 3624 |
# File 'lib/v20180525/models.rb', line 3622 def initialize(template=nil) @Template = template end |
Instance Attribute Details
#Template ⇒ Object
3620 3621 3622 |
# File 'lib/v20180525/models.rb', line 3620 def Template @Template end |
Instance Method Details
#deserialize(params) ⇒ Object
3626 3627 3628 3629 3630 3631 |
# File 'lib/v20180525/models.rb', line 3626 def deserialize(params) unless params['Template'].nil? @Template = PrometheusTemplate.new @Template.deserialize(params['Template']) end end |