package model type QueryTrafficCutoffCard struct { Msisdn string `json:"msisdn,omitempty" dc:"MSISDN/卡号"` Iccid string `json:"iccid,omitempty" dc:"ICCID"` Imsi string `json:"imsi,omitempty" dc:"IMSI"` } type QueryTrafficCutoffConfigParam struct { AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"` Cards []QueryTrafficCutoffCard `json:"cards" v:"required#查询卡不能为空" dc:"查询卡列表"` IncludeUsage bool `json:"includeUsage" dc:"是否返回流量使用信息"` } type QueryTrafficCutoffConfigItem struct { Matched bool `json:"matched"` Iccid string `json:"iccid,omitempty"` TrafficCutoffStatus int `json:"trafficCutoffStatus"` TrafficCutoffStatusName string `json:"trafficCutoffStatusName,omitempty"` TrafficCutoffThreshold float64 `json:"trafficCutoffThreshold"` TrafficCutoffThresholdUnit string `json:"trafficCutoffThresholdUnit,omitempty"` PackageTotalFlowMb *float64 `json:"packageTotalFlowMb,omitempty"` UsedFlowMb *float64 `json:"usedFlowMb,omitempty"` RemainingFlowMb *float64 `json:"remainingFlowMb,omitempty"` ErrorCode string `json:"errorCode,omitempty"` ErrorMessage string `json:"errorMessage,omitempty"` } type QueryTrafficCutoffConfigOutput struct { Total int `json:"total"` MatchedCount int `json:"matchedCount"` NotFoundCount int `json:"notFoundCount"` Items []QueryTrafficCutoffConfigItem `json:"items"` } type QueryBatchStatusParam struct { AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"` BatchNo string `json:"batchNo" v:"required#batchNo不能为空" dc:"批次号"` } type QueryBatchStatusOutput struct { BatchNo string `json:"batchNo" dc:"批次号"` BatchAsyncStatus int `json:"batchAsyncStatus" dc:"异步状态"` SourceChannel string `json:"sourceChannel,omitempty" dc:"发起渠道"` ExecutionMode int `json:"executionMode" dc:"操作规模:0未知1单卡2批量"` SourceType int `json:"sourceType" dc:"输入方式"` TotalCount int `json:"totalCount" dc:"总数量"` ValidCount int `json:"validCount" dc:"有效数量"` SuccessCount int `json:"successCount" dc:"成功数量"` FailCount int `json:"failCount" dc:"失败数量"` RunResult int `json:"runResult" dc:"运行结果"` FailReason string `json:"failReason,omitempty" dc:"失败原因"` }