package bssopenapi

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

// Instance is a nested struct in bssopenapi response
type Instance struct {
	ExpectedReleaseTime string   `json:"ExpectedReleaseTime" xml:"ExpectedReleaseTime"`
	Region              string   `json:"Region" xml:"Region"`
	PackageType         string   `json:"PackageType" xml:"PackageType"`
	DeductType          string   `json:"DeductType" xml:"DeductType"`
	CreateTime          string   `json:"CreateTime" xml:"CreateTime"`
	OwnerId             int64    `json:"OwnerId" xml:"OwnerId"`
	TotalAmount         string   `json:"TotalAmount" xml:"TotalAmount"`
	RenewStatus         string   `json:"RenewStatus" xml:"RenewStatus"`
	SubStatus           string   `json:"SubStatus" xml:"SubStatus"`
	InstanceId          string   `json:"InstanceId" xml:"InstanceId"`
	TotalAmountUnit     string   `json:"TotalAmountUnit" xml:"TotalAmountUnit"`
	SubscriptionType    string   `json:"SubscriptionType" xml:"SubscriptionType"`
	RemainingAmountUnit string   `json:"RemainingAmountUnit" xml:"RemainingAmountUnit"`
	CommodityCode       string   `json:"CommodityCode" xml:"CommodityCode"`
	StopTime            string   `json:"StopTime" xml:"StopTime"`
	Seller              string   `json:"Seller" xml:"Seller"`
	Remark              string   `json:"Remark" xml:"Remark"`
	ProductType         string   `json:"ProductType" xml:"ProductType"`
	RenewalDurationUnit string   `json:"RenewalDurationUnit" xml:"RenewalDurationUnit"`
	RenewalDuration     int      `json:"RenewalDuration" xml:"RenewalDuration"`
	ProductCode         string   `json:"ProductCode" xml:"ProductCode"`
	EffectiveTime       string   `json:"EffectiveTime" xml:"EffectiveTime"`
	RemainingAmount     string   `json:"RemainingAmount" xml:"RemainingAmount"`
	ExpiryTime          string   `json:"ExpiryTime" xml:"ExpiryTime"`
	EndTime             string   `json:"EndTime" xml:"EndTime"`
	SellerId            int64    `json:"SellerId" xml:"SellerId"`
	InstanceID          string   `json:"InstanceID" xml:"InstanceID"`
	ReleaseTime         string   `json:"ReleaseTime" xml:"ReleaseTime"`
	Status              string   `json:"Status" xml:"Status"`
	ApplicableProducts  []string `json:"ApplicableProducts" xml:"ApplicableProducts"`
}
