Class: TencentCloud::Monitor::V20180724::UpdatePrometheusAlertGroupStateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::UpdatePrometheusAlertGroupStateRequest
- Defined in:
- lib/v20180724/models.rb
Overview
UpdatePrometheusAlertGroupState请求参数结构体
Instance Attribute Summary collapse
-
#GroupIds ⇒ Object
2 -- 启用 3 -- 禁用.
-
#GroupState ⇒ Object
2 -- 启用 3 -- 禁用.
-
#InstanceId ⇒ Object
2 -- 启用 3 -- 禁用.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, groupids = nil, groupstate = nil) ⇒ UpdatePrometheusAlertGroupStateRequest
constructor
A new instance of UpdatePrometheusAlertGroupStateRequest.
Constructor Details
#initialize(instanceid = nil, groupids = nil, groupstate = nil) ⇒ UpdatePrometheusAlertGroupStateRequest
Returns a new instance of UpdatePrometheusAlertGroupStateRequest.
16090 16091 16092 16093 16094 |
# File 'lib/v20180724/models.rb', line 16090 def initialize(instanceid=nil, groupids=nil, groupstate=nil) @InstanceId = instanceid @GroupIds = groupids @GroupState = groupstate end |
Instance Attribute Details
#GroupIds ⇒ Object
2 -- 启用 3 -- 禁用
16088 16089 16090 |
# File 'lib/v20180724/models.rb', line 16088 def GroupIds @GroupIds end |
#GroupState ⇒ Object
2 -- 启用 3 -- 禁用
16088 16089 16090 |
# File 'lib/v20180724/models.rb', line 16088 def GroupState @GroupState end |
#InstanceId ⇒ Object
2 -- 启用 3 -- 禁用
16088 16089 16090 |
# File 'lib/v20180724/models.rb', line 16088 def InstanceId @InstanceId end |
Instance Method Details
#deserialize(params) ⇒ Object
16096 16097 16098 16099 16100 |
# File 'lib/v20180724/models.rb', line 16096 def deserialize(params) @InstanceId = params['InstanceId'] @GroupIds = params['GroupIds'] @GroupState = params['GroupState'] end |