Class: TencentCloud::Tke::V20180525::CreatePrometheusAlertPolicyResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreatePrometheusAlertPolicyResponse
- Defined in:
- lib/v20180525/models.rb
Overview
CreatePrometheusAlertPolicy返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, requestid = nil) ⇒ CreatePrometheusAlertPolicyResponse
constructor
A new instance of CreatePrometheusAlertPolicyResponse.
Constructor Details
#initialize(id = nil, requestid = nil) ⇒ CreatePrometheusAlertPolicyResponse
Returns a new instance of CreatePrometheusAlertPolicyResponse.
3274 3275 3276 3277 |
# File 'lib/v20180525/models.rb', line 3274 def initialize(id=nil, requestid=nil) @Id = id @RequestId = requestid end |
Instance Attribute Details
#Id ⇒ Object
3272 3273 3274 |
# File 'lib/v20180525/models.rb', line 3272 def Id @Id end |
#RequestId ⇒ Object
3272 3273 3274 |
# File 'lib/v20180525/models.rb', line 3272 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3279 3280 3281 3282 |
# File 'lib/v20180525/models.rb', line 3279 def deserialize(params) @Id = params['Id'] @RequestId = params['RequestId'] end |