package cms

//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.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

// AlarmHistory is a nested struct in cms response
type AlarmHistory struct {
	Status          int                                     `json:"Status" xml:"Status"`
	MetricName      string                                  `json:"MetricName" xml:"MetricName"`
	EvaluationCount int                                     `json:"EvaluationCount" xml:"EvaluationCount"`
	State           string                                  `json:"State" xml:"State"`
	PreLevel        string                                  `json:"PreLevel" xml:"PreLevel"`
	Namespace       string                                  `json:"Namespace" xml:"Namespace"`
	Webhooks        string                                  `json:"Webhooks" xml:"Webhooks"`
	RuleName        string                                  `json:"RuleName" xml:"RuleName"`
	RuleId          string                                  `json:"RuleId" xml:"RuleId"`
	LastTime        int64                                   `json:"LastTime" xml:"LastTime"`
	Value           string                                  `json:"Value" xml:"Value"`
	Expression      string                                  `json:"Expression" xml:"Expression"`
	GroupId         string                                  `json:"GroupId" xml:"GroupId"`
	AlertTime       int64                                   `json:"AlertTime" xml:"AlertTime"`
	InstanceName    string                                  `json:"InstanceName" xml:"InstanceName"`
	Dimensions      string                                  `json:"Dimensions" xml:"Dimensions"`
	Level           string                                  `json:"Level" xml:"Level"`
	Contacts        ContactsInDescribeAlertHistoryList      `json:"Contacts" xml:"Contacts"`
	ContactALIIMs   ContactALIIMs                           `json:"ContactALIIMs" xml:"ContactALIIMs"`
	ContactMails    ContactMails                            `json:"ContactMails" xml:"ContactMails"`
	ContactSmses    ContactSmses                            `json:"ContactSmses" xml:"ContactSmses"`
	ContactGroups   ContactGroupsInDescribeAlertHistoryList `json:"ContactGroups" xml:"ContactGroups"`
}
