1package ecs
2
3//Licensed under the Apache License, Version 2.0 (the "License");
4//you may not use this file except in compliance with the License.
5//You may obtain a copy of the License at
6//
7//http://www.apache.org/licenses/LICENSE-2.0
8//
9//Unless required by applicable law or agreed to in writing, software
10//distributed under the License is distributed on an "AS IS" BASIS,
11//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//See the License for the specific language governing permissions and
13//limitations under the License.
14//
15// Code generated by Alibaba Cloud SDK Code Generator.
16// Changes may cause incorrect behavior and will be lost if the code is regenerated.
17
18// Demand is a nested struct in ecs response
19type Demand struct {
20	ZoneId             string      `json:"ZoneId" xml:"ZoneId"`
21	DemandTime         string      `json:"DemandTime" xml:"DemandTime"`
22	InstanceTypeFamily string      `json:"InstanceTypeFamily" xml:"InstanceTypeFamily"`
23	DemandId           string      `json:"DemandId" xml:"DemandId"`
24	DemandName         string      `json:"DemandName" xml:"DemandName"`
25	Comment            string      `json:"Comment" xml:"Comment"`
26	DemandDescription  string      `json:"DemandDescription" xml:"DemandDescription"`
27	InstanceType       string      `json:"InstanceType" xml:"InstanceType"`
28	InstanceChargeType string      `json:"InstanceChargeType" xml:"InstanceChargeType"`
29	Period             int         `json:"Period" xml:"Period"`
30	PeriodUnit         string      `json:"PeriodUnit" xml:"PeriodUnit"`
31	StartTime          string      `json:"StartTime" xml:"StartTime"`
32	EndTime            string      `json:"EndTime" xml:"EndTime"`
33	DemandStatus       string      `json:"DemandStatus" xml:"DemandStatus"`
34	TotalAmount        int         `json:"TotalAmount" xml:"TotalAmount"`
35	AvailableAmount    int         `json:"AvailableAmount" xml:"AvailableAmount"`
36	UsedAmount         int         `json:"UsedAmount" xml:"UsedAmount"`
37	DeliveringAmount   int         `json:"DeliveringAmount" xml:"DeliveringAmount"`
38	SupplyInfos        SupplyInfos `json:"SupplyInfos" xml:"SupplyInfos"`
39}
40