# coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.
[docs]class RuleCounting(object):
def __init__(self, alarmRuleCount=None, disableRuleCount=None, normalRuleCount=None, product=None, totalRuleCount=None, unknownRuleCount=None):
"""
:param alarmRuleCount: (Optional) 处于报警状态的规则个数 status:2
:param disableRuleCount: (Optional) 未启用的规则 数量
:param normalRuleCount: (Optional) 处于正常状态的规则个数 status:1
:param product: (Optional) 产品标识
:param totalRuleCount: (Optional) 监控规则 总数
:param unknownRuleCount: (Optional) 处于数据不足状态的规则 个数 status:4
"""
self.alarmRuleCount = alarmRuleCount
self.disableRuleCount = disableRuleCount
self.normalRuleCount = normalRuleCount
self.product = product
self.totalRuleCount = totalRuleCount
self.unknownRuleCount = unknownRuleCount