models

package
v1.50.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrearInfoVo added in v1.13.0

type ArrearInfoVo struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 首次欠费时间 (Optional) */
	FirstArrearDate string `json:"firstArrearDate"`

	/* 欠费天数 (Optional) */
	ArrearDays int `json:"arrearDays"`
}

type BillQueryCondition

type BillQueryCondition struct {

	/* 查询类别   1:资源账单   2:消费记录  */
	QueryType int `json:"queryType"`

	/* 用户pin  */
	Pin string `json:"pin"`

	/* appCode  */
	AppCode string `json:"appCode"`

	/* serviceCode  */
	ServiceCode string `json:"serviceCode"`

	/* 计费类型  */
	BillingType int `json:"billingType"`

	/* 支付类型  */
	PayType int `json:"payType"`

	/* 支付状态  */
	PayState int `json:"payState"`

	/* 1按账期、2按消费时间  */
	TimeType int `json:"timeType"`

	/* 开始时间  */
	StartTime string `json:"startTime"`

	/* 结束时间  */
	EndTime string `json:"endTime"`

	/* 是否忽略0元账单  */
	IgnoreZero int `json:"ignoreZero"`

	/* 资源id  */
	ResourceId string `json:"resourceId"`

	/* 站点  */
	Site int `json:"site"`

	/* 角色  */
	Role int `json:"role"`

	/* 区域  */
	Region string `json:"region"`
}

type BillStatisticsInfoVo

type BillStatisticsInfoVo struct {

	/* 总金额 (Optional) */
	TotalFee int `json:"totalFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 优惠券支付金额 (Optional) */
	CashCouponPayFee int `json:"cashCouponPayFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 账单金额 (Optional) */
	BillFee int `json:"billFee"`

	/* 折扣金额 (Optional) */
	DiscountFee int `json:"discountFee"`
}

type BillSummary added in v1.6.0

type BillSummary struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线代码名称 (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品代码名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 费用类型 (Optional) */
	ActionTypeName string `json:"actionTypeName"`

	/* 规格 (Optional) */
	Formula string `json:"formula"`

	/* 计费开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 计费结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 账单生成时间 (Optional) */
	BillTime string `json:"billTime"`

	/* 账单总额 (Optional) */
	TotalFee int `json:"totalFee"`

	/* 优惠金额 (Optional) */
	DiscountFee int `json:"discountFee"`

	/* 优惠后总价金额 (Optional) */
	RealTotalFee int `json:"realTotalFee"`

	/* 代金券支付金额 (Optional) */
	CashCouponPayFee int `json:"cashCouponPayFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 标签明细 (Optional) */
	TagDetails []ResourceTagVo `json:"tagDetails"`
}

type CompatibleBill

type CompatibleBill struct {

	/* 账单ID (Optional) */
	BillId int `json:"billId"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 站点 (Optional) */
	Site int `json:"site"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* appCodeName (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* serviceCodeName (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 规格 (Optional) */
	Formula string `json:"formula"`

	/* 规格 (Optional) */
	FormulaStr string `json:"formulaStr"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 账单金额 (Optional) */
	BillFee int `json:"billFee"`

	/* 账单金额(保留小数点后2位) (Optional) */
	BillFee2 int `json:"billFee2"`

	/* 折扣金额 (Optional) */
	DiscountFee int `json:"discountFee"`

	/* 代金券id (Optional) */
	CouponId string `json:"couponId"`

	/* 优惠券金额 (Optional) */
	CouponFee int `json:"couponFee"`

	/* 优惠后金额 (Optional) */
	ActualFee int `json:"actualFee"`

	/* 代金券金额 (Optional) */
	CashCouponFee int `json:"cashCouponFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 支付状态 (Optional) */
	PaySate int `json:"paySate"`

	/* 1:老计费   2:新计费 (Optional) */
	SystemType int `json:"systemType"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`
}

type ConsumeBillQueryResultItem

type ConsumeBillQueryResultItem struct {

	/* 账单id (Optional) */
	BillId int `json:"billId"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* appCodeName (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* serviceCodeName (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 账单开始时间 (Optional) */
	BillStart string `json:"billStart"`

	/* 账单结束时间 (Optional) */
	BillEnd string `json:"billEnd"`

	/* 结算时间 (Optional) */
	SettleTime string `json:"settleTime"`

	/* 账单日期 (Optional) */
	BillTime string `json:"billTime"`

	/* 账单金额 (Optional) */
	BillFee int `json:"billFee"`

	/* 账单总额 (Optional) */
	TotalFee int `json:"totalFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 代金券支付金额 (Optional) */
	CashCouponPayFee int `json:"cashCouponPayFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 折扣金额 (Optional) */
	DiscountFee int `json:"discountFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 支付状态 (Optional) */
	PayState int `json:"payState"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 新老计费标识(1:老计费   2:新计费) (Optional) */
	SystemType int `json:"systemType"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 规格 (Optional) */
	Formula string `json:"formula"`

	/* 规格 (Optional) */
	FormulaStr string `json:"formulaStr"`

	/* 标签明细 (Optional) */
	TagDetails []ResourceTagVo `json:"tagDetails"`
}

type ConsumeRecord

type ConsumeRecord struct {

	/* 消费记录数据库唯一id (Optional) */
	Id int `json:"id"`

	/* 消费记录id (Optional) */
	BillingRecordId int `json:"billingRecordId"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 规格 (Optional) */
	Formula string `json:"formula"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 价格快照 (Optional) */
	PriceSnapShot string `json:"priceSnapShot"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 创建日期 (Optional) */
	CreateTime string `json:"createTime"`

	/* 账单金额 (Optional) */
	BillFee int `json:"billFee"`

	/* 账单金额保留小数点后2位 (Optional) */
	BillFee2 int `json:"billFee2"`

	/* 折扣金额 (Optional) */
	DiscountFee int `json:"discountFee"`

	/* 优惠券id (Optional) */
	CouponId string `json:"couponId"`

	/* 优惠金额 (Optional) */
	CouponFee int `json:"couponFee"`

	/* 交易单号 (Optional) */
	TransactionNo string `json:"transactionNo"`

	/* null (Optional) */
	IsBillGenerated int `json:"isBillGenerated"`

	/* 子账单id (Optional) */
	SubBillId int `json:"subBillId"`

	/* 退款单号 (Optional) */
	RefundNo string `json:"refundNo"`

	/* 优惠后金额 (Optional) */
	ActualFee int `json:"actualFee"`

	/* 规格名称 (Optional) */
	FormulaName string `json:"formulaName"`
}

type Consumption

type Consumption struct {

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 支付类型 (Optional) */
	PayType int `json:"payType"`

	/* 优惠后金额 (Optional) */
	ActualFee int `json:"actualFee"`

	/* 现金支付 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 余额支付 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 优惠券支付金额 (Optional) */
	CashCouponPayFee int `json:"cashCouponPayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 分组显示值 (Optional) */
	GroupTagValue string `json:"groupTagValue"`
}

type ConsumptionProduct

type ConsumptionProduct struct {

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* appCodeName (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* serviceCodeName (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 优惠后金额 (Optional) */
	ActualFee int `json:"actualFee"`

	/* 现金支付 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 余额支付 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 代金券支付金额 (Optional) */
	CashCouponPayFee int `json:"cashCouponPayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/*  (Optional) */
	ProductDetails []Consumption `json:"productDetails"`

	/*  (Optional) */
	ProductDetailList interface{} `json:"productDetailList"`

	/* 分组显示值 (Optional) */
	GroupTagValue string `json:"groupTagValue"`
}

type EbsBillVo added in v1.13.0

type EbsBillVo struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 数据源ID (Optional) */
	DataSourceId string `json:"dataSourceId"`

	/* 业务线 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 费用时间 (Optional) */
	ChargeTime string `json:"chargeTime"`

	/* 支付金额 (Optional) */
	PayFee int `json:"payFee"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 采购价格 (Optional) */
	PurchasePrice int `json:"purchasePrice"`

	/* 供应商 (Optional) */
	Supplier string `json:"supplier"`

	/* 核算组织 (Optional) */
	Org string `json:"org"`

	/* 用费分组 (Optional) */
	UserGroup int `json:"userGroup"`

	/* 域名订单ID (Optional) */
	DomainOrderId string `json:"domainOrderId"`

	/* 交易方名称 (Optional) */
	TraderName string `json:"traderName"`

	/* 订单类型 (Optional) */
	OrderType string `json:"orderType"`

	/* 税率 (Optional) */
	TaxRate int `json:"taxRate"`

	/* 部门 (Optional) */
	DeptNo string `json:"deptNo"`

	/* 返回编码0成功 (Optional) */
	Code int `json:"code"`

	/* 返回消息 (Optional) */
	Message string `json:"message"`
}

type EbsBillVoRequest added in v1.13.0

type EbsBillVoRequest struct {

	/* 核算账单列表 (Optional) */
	EbsBillVoList []EbsBillVo `json:"ebsBillVoList"`
}

type EbsSeperateBillVo added in v1.13.0

type EbsSeperateBillVo struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 数据源ID (Optional) */
	DataSourceId string `json:"dataSourceId"`

	/* 业务线 (Optional) */
	AppCode string `json:"appCode"`

	/* 费用时间 (Optional) */
	ChargeTime string `json:"chargeTime"`

	/* 总金额 (Optional) */
	TotalFee int `json:"totalFee"`

	/* 分摊金额 (Optional) */
	SeperateFee int `json:"seperateFee"`

	/* 核算组织 (Optional) */
	Org string `json:"org"`

	/* 用户分组 (Optional) */
	UserGroup int `json:"userGroup"`

	/* 交易方名称 (Optional) */
	TraderName string `json:"traderName"`

	/* 订单类型 (Optional) */
	OrderType string `json:"orderType"`

	/* 成本金额 (Optional) */
	CostFee int `json:"costFee"`

	/* 税率 (Optional) */
	TaxRate int `json:"taxRate"`

	/* 部门 (Optional) */
	DeptNo string `json:"deptNo"`

	/* 部门 (Optional) */
	SourceId string `json:"sourceId"`

	/* 返回编码0成功 (Optional) */
	Code int `json:"code"`

	/* 返回消息 (Optional) */
	Message string `json:"message"`
}

type EbsSeperateBillVoRequest added in v1.13.0

type EbsSeperateBillVoRequest struct {

	/* 核算分摊账单列表 (Optional) */
	EbsSeperateBillVoList []EbsSeperateBillVo `json:"ebsSeperateBillVoList"`
}

type Formula

type Formula struct {

	/* 计费项别名 (Optional) */
	Key *string `json:"key"`

	/* 用量 (Optional) */
	Value *float64 `json:"value"`

	/* 单位 (Optional) */
	Unit *string `json:"unit"`

	/* 计费项数量 (Optional) */
	Number *float64 `json:"number"`
}

type OrderCompensateFeeVo

type OrderCompensateFeeVo struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 应用码 (Optional) */
	AppCode string `json:"appCode"`

	/* 服务码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 资源区域 (Optional) */
	Region string `json:"region"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 计算总价 (Optional) */
	TotalFee int `json:"totalFee"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 4:一次性 (Optional) */
	BillingType int `json:"billingType"`
}

type OrderPrice

type OrderPrice struct {

	/* 折扣前总价 (Optional) */
	TotalPrice int `json:"totalPrice"`

	/* 折扣前总价4位 (Optional) */
	TotalPriceScale4 int `json:"totalPriceScale4"`

	/* 折扣后订单价格 (Optional) */
	DiscountedTotalPrice int `json:"discountedTotalPrice"`

	/* 总折扣金额 (Optional) */
	TotalDiscount int `json:"totalDiscount"`

	/* 计算完价格后的详细订单列表 (Optional) */
	List []OrderPriceDetail `json:"list"`

	/* 订单原价 包年时 一年原价为12个月价格,totalPrice为10个月价格 (Optional) */
	TotalOriginalPrice int `json:"totalOriginalPrice"`

	/* 参与优惠的明细 (Optional) */
	FavorableInfos int `json:"favorableInfos"`

	/* 备注 (Optional) */
	Remark int `json:"remark"`
}

type OrderPriceDetail

type OrderPriceDetail struct {

	/* 折扣前总价 (Optional) */
	Price int `json:"price"`

	/* 四位小数价格 (Optional) */
	PriceScale4 int `json:"priceScale4"`

	/* 折扣金额 (Optional) */
	Discount int `json:"discount"`

	/* 折扣后订单金额 (Optional) */
	DiscountedPrice int `json:"discountedPrice"`

	/* 订单原价 包年时 一年原价为12个月价格,totalPrice为10个月价格 (Optional) */
	OriginalPrice int `json:"originalPrice"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 业务线 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 站点  0:主站  其他:专有云 (Optional) */
	Site int `json:"site"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 计费类型1:按配置2:按用量3:包年包月 (Optional) */
	BillingType int `json:"billingType"`

	/* 时长 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 时长类型 1:小时2:天3:月4:年 (Optional) */
	TimeUnit int `json:"timeUnit"`

	/* 网络类型 0:non1:非BGP2:BGP (Optional) */
	NetworkOperator int `json:"networkOperator"`

	/* 配置信息 (Optional) */
	Formula []Formula `json:"formula"`

	/* FavorableInfo转成json后的字符串 (Optional) */
	FavorableInfo string `json:"favorableInfo"`

	/* 价格快照 (Optional) */
	PriceSnapShot string `json:"priceSnapShot"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 自然单列表 (Optional) */
	TaskId string `json:"taskId"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 变配明细(1-升配补差价,2-降配延时,3-临时升配) (Optional) */
	ProcessType int `json:"processType"`

	/* 交易单模块sourceId (Optional) */
	SourceId string `json:"sourceId"`
}

type OrderPriceProtocol

type OrderPriceProtocol struct {

	/* 资源id (Optional) */
	ResourceId *string `json:"resourceId"`

	/* 业务线 (Optional) */
	AppCode *string `json:"appCode"`

	/* 产品线 (Optional) */
	ServiceCode *string `json:"serviceCode"`

	/* 站点信息 0:主站  其他:专有云 (Optional) */
	Site *int `json:"site"`

	/* 地域 (Optional) */
	Region *string `json:"region"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 (Optional) */
	BillingType *int `json:"billingType"`

	/* 时长 (Optional) */
	TimeSpan *int `json:"timeSpan"`

	/* 时长类型 0:无(非包年包月) 1:小时 2:天 3:月 4:年 (Optional) */
	TimeUnit *int `json:"timeUnit"`

	/* 网络类型 0:non 1:非BGP  2:BGP (Optional) */
	NetworkOperator *int `json:"networkOperator"`

	/* 计算公式(配置细项) (Optional) */
	Formula []Formula `json:"formula"`

	/* 配置细项 (Optional) */
	FormulaStr *string `json:"formulaStr"`

	/* 用户pin (Optional) */
	Pin *string `json:"pin"`

	/* 具体商品数量,默认为1 (Optional) */
	Count *int `json:"count"`

	/* 订单开始时间 (Optional) */
	StartTime *string `json:"startTime"`

	/* 临时升配结束时间,临时升配时必传 (Optional) */
	EndTime *string `json:"endTime"`

	/* 自然单列表 (Optional) */
	TaskId *string `json:"taskId"`

	/* 交易单模块sourceId (Optional) */
	SourceId *string `json:"sourceId"`
}

type Pagination

type Pagination struct {

	/* 当前页 (Optional) */
	CurrPageNo int `json:"currPageNo"`

	/* 页数 (Optional) */
	NumberPages int `json:"numberPages"`

	/* 每页记录数 (Optional) */
	NumberRecords int `json:"numberRecords"`

	/* 页面大小 (Optional) */
	PageSize int `json:"pageSize"`

	/* 起始页 (Optional) */
	StartIndex int `json:"startIndex"`
}

type ResourceAeVo

type ResourceAeVo struct {

	/* 自增主键 (Optional) */
	Id int `json:"id"`

	/* 站点标识1:中国 2:国际 (Optional) */
	Site int `json:"site"`

	/* 应用编码 (Optional) */
	AppCode string `json:"appCode"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 服务编码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 配置项 (Optional) */
	Formula string `json:"formula"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 资源ID (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 账单ID (Optional) */
	SubBillId int `json:"subBillId"`

	/* 状态 0:无 1:正常 2:欠费, 3:因欠费而停机, 4:欠费删除资源, 6:已删除但已不欠费, 7:欠费延期,8:删除并且欠费,9:欠费删除数据,12:已过期, 13:因过期而停机, 14:过期删除资源, 17:过期延期 19:过期删除数据23:管理员停服,24:管理员删除,34:用户删除,35:退款删除 (Optional) */
	State int `json:"state"`

	/* 首次欠费时间(各欠费状态)或过期时间(各过期状态) (Optional) */
	StateTime string `json:"stateTime"`

	/* 变成此状态的原因.0:无 1:账单欠费, 2:资源过期 ,3:加入、移出白名单 ,4:补扣款成功, 5:规则修改,6:续费 7:管理员操作,8:用户操作 (Optional) */
	Op int `json:"op"`

	/* 是否为最后状态记录 (Optional) */
	IsLastRecord int `json:"isLastRecord"`

	/* 本条记录生成时刻、进入当前state的时刻 (Optional) */
	CreateTime string `json:"createTime"`

	/* 修改时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 资源预计释放时间 (Optional) */
	ToDeleteTime string `json:"toDeleteTime"`

	/*  (Optional) */
	CapState int `json:"capState"`
}

type ResourceBillQueryResultItem

type ResourceBillQueryResultItem struct {

	/* 账单id (Optional) */
	BillId int `json:"billId"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* serviceCodeName (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 区域名称 (Optional) */
	RegionName string `json:"regionName"`

	/* 账单开始时间 (Optional) */
	BillStartTime string `json:"billStartTime"`

	/* 账单结束时间 (Optional) */
	BillEndTime string `json:"billEndTime"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 总金额 (Optional) */
	TotalFee int `json:"totalFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 代金券支付金额 (Optional) */
	CashCouponPayFee int `json:"cashCouponPayFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 时间 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 时间单位 (Optional) */
	TimeUnit int `json:"timeUnit"`

	/* 1:新购 2:续费 3:配置变更 (Optional) */
	OpTypeName string `json:"opTypeName"`

	/* 时间 (Optional) */
	TimeSpanName string `json:"timeSpanName"`

	/* 时间单位名称 1:小时 2:天 3:月 4:年 (Optional) */
	TimeUnitName string `json:"timeUnitName"`

	/* 结算日期 (Optional) */
	SettleTime string `json:"settleTime"`

	/* 1:老计费 2:新计费 (Optional) */
	SystemType int `json:"systemType"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 标签明细 (Optional) */
	TagDetails []ResourceTagVo `json:"tagDetails"`
}

type ResourceOrderQueryCondition

type ResourceOrderQueryCondition struct {

	/* 主键id (Optional) */
	Id int `json:"id"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* 产品码列表 (Optional) */
	ServiceCodeList []string `json:"serviceCodeList"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 网络类型 0: non-BGP, 1: BGP (Optional) */
	NetworkOperator int `json:"networkOperator"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 (Optional) */
	BillingType int `json:"billingType"`

	/* resourceIdList (Optional) */
	ResourceIdList []string `json:"resourceIdList"`

	/* >0: 订单还有几天到期; ==0: 订单已经到期; <0: 不管是否到期 (Optional) */
	ExpireInDays int `json:"expireInDays"`

	/* isOnTrial (Optional) */
	IsOnTrial int `json:"isOnTrial"`

	/* 站点信息 0:中国 1:国际 (Optional) */
	Site int `json:"site"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 计费状态 0:停止计费 1:计费中 (Optional) */
	BillingStatus int `json:"billingStatus"`

	/* 1、内部计算,使用getExpiringOrderCount时使用,不用传值 默认为-1mybatis筛选时不会关注 2、selectResourceOrderForTask定时任务查询列表时使用,停服天数,必须大于0 (Optional) */
	ExpiringInDays int `json:"expiringInDays"`

	/* billingTypeList (Optional) */
	BillingTypeList []int `json:"billingTypeList"`

	/* 交易单号列表 (Optional) */
	TransactionNos []string `json:"transactionNos"`

	/*  (Optional) */
	OpTypes []int `json:"opTypes"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 服务编码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* statusList (Optional) */
	StatusList []int `json:"statusList"`

	/* excludeResources (Optional) */
	ExcludeResources []string `json:"excludeResources"`

	/* orderByClaus (Optional) */
	OrderByClaus string `json:"orderByClaus"`

	/* 专有云节点的code(节点云查询使用) (Optional) */
	Node string `json:"node"`

	/* 部门(节点云查询使用) (Optional) */
	DepartmentId int `json:"departmentId"`

	/*  (Optional) */
	PinList []string `json:"pinList"`

	/* 是否是专有云 1:是  其他不是 (Optional) */
	IsSpecial int `json:"isSpecial"`

	/* 节点信息 (Optional) */
	NodeCode string `json:"nodeCode"`

	/* 超时时间,暂时不用 (Optional) */
	Timeout int `json:"timeout"`

	/* 当前页序号 (Optional) */
	PageIndex int `json:"pageIndex"`

	/* 每页结果数量 (Optional) */
	PageSize int `json:"pageSize"`

	/*  (Optional) */
	Offset int `json:"offset"`
}

type ResourceOrderStatusCondition added in v1.13.0

type ResourceOrderStatusCondition struct {

	/* 站点信息 0:中国 1:国际 (Optional) */
	Site int `json:"site"`

	/* 服务编码  */
	ServiceCode string `json:"serviceCode"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 资源id列表  */
	ResourceIdList []string `json:"resourceIdList"`

	/* 当前页序号 (Optional) */
	PageIndex int `json:"pageIndex"`

	/* 每页结果数量 (Optional) */
	PageSize int `json:"pageSize"`
}

type ResourceOrderStatusResultItem added in v1.13.0

type ResourceOrderStatusResultItem struct {

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 4:一次性 (Optional) */
	BillingType int `json:"billingType"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 资源区域 (Optional) */
	Region string `json:"region"`

	/* 操作时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type ResourceOrderStatusVo

type ResourceOrderStatusVo struct {

	/* 资源id  */
	ResourceId string `json:"resourceId"`

	/* 用户pin  */
	Pin string `json:"pin"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 计费状态 0:停止计费 1:计费中 (Optional) */
	BillingStatus int `json:"billingStatus"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 (Optional) */
	BillingType int `json:"billingType"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* billingType兼容交易系统字段 (Optional) */
	ChargeMode int `json:"chargeMode"`

	/* timeSpan兼容交易系统字段 (Optional) */
	ChargeDuration int `json:"chargeDuration"`

	/* timeUnit兼容交易系统字段 (Optional) */
	ChargeUnit int `json:"chargeUnit"`

	/* 站点信息 0:中国 1:国际  10:专有云 (Optional) */
	Site int `json:"site"`

	/* 操作时间 (Optional) */
	OperateTime string `json:"operateTime"`
}

type ResourceOrderVo

type ResourceOrderVo struct {

	/* 主键id (Optional) */
	Id int `json:"id"`

	/* 交易单唯一标识 (Optional) */
	TransactionNo string `json:"transactionNo"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 4:一次性 (Optional) */
	BillingType int `json:"billingType"`

	/* 时长类型 1:小时 2:天 3:月 4:年 (Optional) */
	TimeUnit int `json:"timeUnit"`

	/* 时长字段,与timeUnit字段构成具体时长 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 计费状态 0:停止计费 1:计费中 (Optional) */
	BillingStatus int `json:"billingStatus"`

	/* 网络类型0:无 1: non-BGP, 2: BGP (Optional) */
	NetworkOperator int `json:"networkOperator"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 应用码 (Optional) */
	AppCode string `json:"appCode"`

	/* 服务码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 站点标识0:中国 1:国际 (Optional) */
	Site int `json:"site"`

	/* 资源区域 (Optional) */
	Region string `json:"region"`

	/* 配置信息 (Optional) */
	Formula []Formula `json:"formula"`

	/* 否为试用资源 0:非试用 1:试用 (Optional) */
	IsOnTrial int `json:"isOnTrial"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 支付时间 (Optional) */
	PayTime string `json:"payTime"`

	/* formula转换成字符串 (Optional) */
	FormulaStr string `json:"formulaStr"`

	/* billingType兼容交易系统字段 (Optional) */
	ChargeMode int `json:"chargeMode"`

	/* timeSpan兼容交易系统字段 (Optional) */
	ChargeDuration int `json:"chargeDuration"`

	/* timeUnit兼容交易系统字段 (Optional) */
	ChargeUnit int `json:"chargeUnit"`

	/* 欠费过期状态 (Optional) */
	AeStatus int `json:"aeStatus"`

	/* 欠费、过期资源释放时间 (Optional) */
	ReleasingTime string `json:"releasingTime"`

	/* 交易单模块sourceId 计费不关心 (Optional) */
	SourceId string `json:"sourceId"`

	/* 计费开始时间 续费时本次续费周期开始时间 (Optional) */
	BillingStartTime string `json:"billingStartTime"`

	/* 最新价格map (Optional) */
	PriceMap interface{} `json:"priceMap"`

	/* 价格快照 (Optional) */
	PriceSnapshot string `json:"priceSnapshot"`

	/* 订单折扣前总价 (Optional) */
	Price int `json:"price"`

	/* 折扣后订单价格 (Optional) */
	DiscountedPrice int `json:"discountedPrice"`

	/* 即将到期天数 (Optional) */
	ExpiringDays int `json:"expiringDays"`

	/* 计费类型描述 例如:按配置、包年包月 (Optional) */
	BillingCategoryDescription string `json:"billingCategoryDescription"`

	/* 计费详情描述 例如:按配置、包年包月(一年) (Optional) */
	Description string `json:"description"`

	/* refundNo (Optional) */
	RefundNo string `json:"refundNo"`

	/* 计费类型单号 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 促销明细 (Optional) */
	FavorableInfo string `json:"favorableInfo"`

	/* 资源名 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 变配明细(1-升配,2-降配,3-调整配置,4-续费,5-续费升配,6-续费降配,7-配置转包年包月) (Optional) */
	ProcessType int `json:"processType"`

	/* 资源申请人 (Optional) */
	Applicant string `json:"applicant"`

	/* 计费模式  1.停服停止计费  2.关机停止计费 (Optional) */
	BillingMode int `json:"billingMode"`

	/* 启服、停服、停止计费时间 (Optional) */
	OperateTime string `json:"operateTime"`
}

type ResourceTagVo added in v1.13.0

type ResourceTagVo struct {

	/* 标签键 (Optional) */
	TagKey string `json:"tagKey"`

	/* 标签值 (Optional) */
	TagValue string `json:"tagValue"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL