Files
iotlcm/openapi/internal/model/traffic_usage_sync.go

24 lines
778 B
Go

package model
// TrafficUsageSimCard is the basic card data needed when writing usage to TDengine.
type TrafficUsageSimCard struct {
Iccid string `json:"iccid"`
PackageCode string `json:"packageCode"`
}
// TrafficUsageDailyRetryMessage is the retry message for daily traffic usage.
type TrafficUsageDailyRetryMessage struct {
SimKey *SimKey `json:"simKey"`
Card TrafficUsageSimCard `json:"card"`
// QueryDate format: yyyyMMdd.
QueryDate string `json:"queryDate"`
}
// TrafficUsageMonthlyRetryMessage is the retry message for monthly traffic usage.
type TrafficUsageMonthlyRetryMessage struct {
SimKey *SimKey `json:"simKey"`
Card TrafficUsageSimCard `json:"card"`
// QueryDate format: yyyyMM.
QueryDate string `json:"queryDate"`
}