Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceBillModel ¶
type InstanceBillModel struct { IndexKeys string ChecksumKeys string Index string Checksum string Deleted int64 // Billing cycle BillingCycle string // Billing date BillingDate string // Cloud Provider Name CloudType string // Cloud AccountId AccountId string // Cloud Resource ID InstanceId string // Cloud Resource ID InstanceName string // Subscription Type SubscriptionType string // Item action, such as New, ReNew, etc ItemAction string // Product Name ProductName string // Product Code ProductCode string // Resource Tags Tags string // Resource Region Region string // Official price PretaxGrossAmount float64 // Pretax amount PretaxAmount float64 // Deducated amount DeductionAmount float64 // Instance Bill Extra info Extra map[string]interface{} model.BaseModel // contains filtered or unexported fields }
InstanceBillModel, , Default Cloud InstanceBill Model
func NewInstanceBillModel ¶
func NewInstanceBillModel() *InstanceBillModel
func (*InstanceBillModel) CheckRequired ¶
func (m *InstanceBillModel) CheckRequired() (bool, string)
func (*InstanceBillModel) GetChecksum ¶
func (m *InstanceBillModel) GetChecksum() string
func (*InstanceBillModel) GetIndex ¶
func (m *InstanceBillModel) GetIndex() string
func (*InstanceBillModel) SetChecksum ¶
func (m *InstanceBillModel) SetChecksum()
func (*InstanceBillModel) SetIndex ¶
func (m *InstanceBillModel) SetIndex()
type MetricModel ¶
type MetricModel struct { IndexKeys string ChecksumKeys string Index string Checksum string Deleted int64 // Metric Name Name string // Metric unit Unit string // Metric Value Value string // Cloud Provider Name CloudType string // Cloud AccountId AccountId string // Metric time MetricTime float64 // Instance ID InstanceId string // Cloud Extra info Extra map[string]interface{} model.BaseModel // contains filtered or unexported fields }
MetricModel, , Default Metric Model
func NewMetricModel ¶
func NewMetricModel() *MetricModel
func (*MetricModel) CheckRequired ¶
func (m *MetricModel) CheckRequired() (bool, string)
func (*MetricModel) GetChecksum ¶
func (m *MetricModel) GetChecksum() string
func (*MetricModel) GetIndex ¶
func (m *MetricModel) GetIndex() string
func (*MetricModel) SetChecksum ¶
func (m *MetricModel) SetChecksum()
func (*MetricModel) SetIndex ¶
func (m *MetricModel) SetIndex()
type RegionModel ¶
type RegionModel struct { IndexKeys string ChecksumKeys string Index string Checksum string Deleted int64 // Cloud Region Name Name string // Cloud Region ID Id string // Cloud Provider Name CloudType string // Cloud AccountId AccountId string // Cloud Region Extra info Extra map[string]interface{} model.BaseModel // contains filtered or unexported fields }
RegionModel, , Default Cloud Region Model
func NewRegionModel ¶
func NewRegionModel() *RegionModel
func (*RegionModel) CheckRequired ¶
func (m *RegionModel) CheckRequired() (bool, string)
func (*RegionModel) GetChecksum ¶
func (m *RegionModel) GetChecksum() string
func (*RegionModel) GetIndex ¶
func (m *RegionModel) GetIndex() string
func (*RegionModel) SetChecksum ¶
func (m *RegionModel) SetChecksum()
func (*RegionModel) SetIndex ¶
func (m *RegionModel) SetIndex()
type ResourceModel ¶
type ResourceModel struct { IndexKeys string ChecksumKeys string Index string Checksum string Deleted int64 // provider id ProviderId string // Cloud Provider Name CloudType string // Resource name Name string // Product type ProductType string // Product code ProductCode string // Create time CreateTime string // resource tags Tags string // Extra Info Extra map[string]interface{} model.BaseModel // contains filtered or unexported fields }
ResourceModel, , Default Cloud Resource Model
func NewResourceModel ¶
func NewResourceModel() *ResourceModel
func (*ResourceModel) CheckRequired ¶
func (m *ResourceModel) CheckRequired() (bool, string)
func (*ResourceModel) GetChecksum ¶
func (m *ResourceModel) GetChecksum() string
func (*ResourceModel) GetIndex ¶
func (m *ResourceModel) GetIndex() string
func (*ResourceModel) SetChecksum ¶
func (m *ResourceModel) SetChecksum()
func (*ResourceModel) SetIndex ¶
func (m *ResourceModel) SetIndex()
Click to show internal directories.
Click to hide internal directories.