Class: TencentCloud::Monitor::V20180724::CreatePrometheusAlertPolicyResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::CreatePrometheusAlertPolicyResponse
- Defined in:
- lib/v20180724/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.
2685 2686 2687 2688 |
# File 'lib/v20180724/models.rb', line 2685 def initialize(id=nil, requestid=nil) @Id = id @RequestId = requestid end |
Instance Attribute Details
#Id ⇒ Object
2683 2684 2685 |
# File 'lib/v20180724/models.rb', line 2683 def Id @Id end |
#RequestId ⇒ Object
2683 2684 2685 |
# File 'lib/v20180724/models.rb', line 2683 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2690 2691 2692 2693 |
# File 'lib/v20180724/models.rb', line 2690 def deserialize(params) @Id = params['Id'] @RequestId = params['RequestId'] end |