Class: TencentCloud::Tke::V20180525::CreatePrometheusTempRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreatePrometheusTempRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CreatePrometheusTemp请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(template = nil) ⇒ CreatePrometheusTempRequest
constructor
A new instance of CreatePrometheusTempRequest.
Constructor Details
#initialize(template = nil) ⇒ CreatePrometheusTempRequest
Returns a new instance of CreatePrometheusTempRequest.
3583 3584 3585 |
# File 'lib/v20180525/models.rb', line 3583 def initialize(template=nil) @Template = template end |
Instance Attribute Details
#Template ⇒ Object
3581 3582 3583 |
# File 'lib/v20180525/models.rb', line 3581 def Template @Template end |
Instance Method Details
#deserialize(params) ⇒ Object
3587 3588 3589 3590 3591 3592 |
# File 'lib/v20180525/models.rb', line 3587 def deserialize(params) unless params['Template'].nil? @Template = PrometheusTemp.new @Template.deserialize(params['Template']) end end |