// 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.

package models


type DescribeAlarmHistoryDetail struct {

    /* 报警规则ID (Optional) */
    AlarmId string `json:"alarmId"`

    /* 资源维度 (Optional) */
    Dimension interface{} `json:"dimension"`

    /* 告警持续次数 (Optional) */
    DurationTimes int64 `json:"durationTimes"`

    /* 命名空间 (Optional) */
    Namespace string `json:"namespace"`

    /* 命名空间名称 (Optional) */
    NamespaceName string `json:"namespaceName"`

    /* 告警持续时间，单位分钟 (Optional) */
    NoticeDurationTime int64 `json:"noticeDurationTime"`

    /* 触发的告警级别。从低到高分别为‘common’, ‘critical’, ‘fatal’ (Optional) */
    NoticeLevelTriggered string `json:"noticeLevelTriggered"`

    /* 告警时间 (Optional) */
    NoticeTime string `json:"noticeTime"`

    /* 告警通知人 (Optional) */
    Receivers []NoticeReceiver `json:"receivers"`

    /* 规则绑定资源所在地域 (Optional) */
    Region string `json:"region"`

    /*  (Optional) */
    Rule CustomRuleDetail `json:"rule"`

    /* 告警类型  1-告警恢复  2-告警 4-数据不足 (Optional) */
    Status int64 `json:"status"`

    /* 告警值 (Optional) */
    Value float64 `json:"value"`
}
