github.com/free5gc/openapi@v1.0.8/models/model_usage_threshold.go (about) 1 /* 2 * Npcf_PolicyAuthorization Service API 3 * 4 * This is the Policy Authorization Service 5 * 6 * API version: 1.0.1 7 * Generated by: OpenAPI Generator (https://openapi-generator.tech) 8 */ 9 10 package models 11 12 type UsageThreshold struct { 13 // Unsigned integer identifying a period of time in units of seconds. 14 Duration int32 `json:"duration,omitempty" yaml:"duration" bson:"duration" mapstructure:"Duration"` 15 // Unsigned integer identifying a volume in units of bytes. 16 TotalVolume int64 `json:"totalVolume,omitempty" yaml:"totalVolume" bson:"totalVolume" mapstructure:"TotalVolume"` 17 // Unsigned integer identifying a volume in units of bytes. 18 DownlinkVolume int64 `json:"downlinkVolume,omitempty" yaml:"downlinkVolume" bson:"downlinkVolume" mapstructure:"DownlinkVolume"` 19 // Unsigned integer identifying a volume in units of bytes. 20 UplinkVolume int64 `json:"uplinkVolume,omitempty" yaml:"uplinkVolume" bson:"uplinkVolume" mapstructure:"UplinkVolume"` 21 }