package ess

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

// ScalingActivity is a nested struct in ess response
type ScalingActivity struct {
	Progress              int                  `json:"Progress" xml:"Progress"`
	ScalingInstanceNumber int                  `json:"ScalingInstanceNumber" xml:"ScalingInstanceNumber"`
	AttachedCapacity      string               `json:"AttachedCapacity" xml:"AttachedCapacity"`
	TotalCapacity         string               `json:"TotalCapacity" xml:"TotalCapacity"`
	ScalingGroupId        string               `json:"ScalingGroupId" xml:"ScalingGroupId"`
	AutoCreatedCapacity   string               `json:"AutoCreatedCapacity" xml:"AutoCreatedCapacity"`
	EndTime               string               `json:"EndTime" xml:"EndTime"`
	StartTime             string               `json:"StartTime" xml:"StartTime"`
	Description           string               `json:"Description" xml:"Description"`
	StatusCode            string               `json:"StatusCode" xml:"StatusCode"`
	Cause                 string               `json:"Cause" xml:"Cause"`
	ScalingActivityId     string               `json:"ScalingActivityId" xml:"ScalingActivityId"`
	StatusMessage         string               `json:"StatusMessage" xml:"StatusMessage"`
	CreatedCapacity       int                  `json:"CreatedCapacity" xml:"CreatedCapacity"`
	DestroyedCapacity     int                  `json:"DestroyedCapacity" xml:"DestroyedCapacity"`
	StartedCapacity       int                  `json:"StartedCapacity" xml:"StartedCapacity"`
	StoppedCapacity       int                  `json:"StoppedCapacity" xml:"StoppedCapacity"`
	ErrorCode             string               `json:"ErrorCode" xml:"ErrorCode"`
	ErrorMessage          string               `json:"ErrorMessage" xml:"ErrorMessage"`
	Detail                string               `json:"Detail" xml:"Detail"`
	TriggerSourceType     string               `json:"TriggerSourceType" xml:"TriggerSourceType"`
	TriggerSourceId       string               `json:"TriggerSourceId" xml:"TriggerSourceId"`
	ActivityMetadata      string               `json:"ActivityMetadata" xml:"ActivityMetadata"`
	InstanceRefreshTaskId string               `json:"InstanceRefreshTaskId" xml:"InstanceRefreshTaskId"`
	CreatedInstances      CreatedInstances     `json:"CreatedInstances" xml:"CreatedInstances"`
	DestroyedInstances    DestroyedInstances   `json:"DestroyedInstances" xml:"DestroyedInstances"`
	StartedInstances      StartedInstances     `json:"StartedInstances" xml:"StartedInstances"`
	StoppedInstances      StoppedInstances     `json:"StoppedInstances" xml:"StoppedInstances"`
	LifecycleHookContext  LifecycleHookContext `json:"LifecycleHookContext" xml:"LifecycleHookContext"`
	ErrorMessages         ErrorMessages        `json:"ErrorMessages" xml:"ErrorMessages"`
}
