final case class TrafficState(extraTrafficPurchased: Long, extraTrafficConsumed: Long, baseTrafficRemainder: Long, lastConsumedCost: Long, timestamp: Long, serial: Option[Int]) extends GeneratedMessage with Updatable[TrafficState] with Product with Serializable
Traffic state of a member at a given timestamp
- extraTrafficPurchased
Total amount of extra traffic purchased
- extraTrafficConsumed
Total amount of extra traffic consumed
- baseTrafficRemainder
Amount of base traffic remaining
- lastConsumedCost
Cost deducted at
timestamp
, only present when traffic was consumed attimestamp
, otherwise is set to 0- timestamp
Timestamp at which the state is valid
- serial
Optional serial of the balance update that updated the extra traffic limit
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- TrafficState
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TrafficState(extraTrafficPurchased: Long, extraTrafficConsumed: Long, baseTrafficRemainder: Long, lastConsumedCost: Long, timestamp: Long, serial: Option[Int])
- extraTrafficPurchased
Total amount of extra traffic purchased
- extraTrafficConsumed
Total amount of extra traffic consumed
- baseTrafficRemainder
Amount of base traffic remaining
- lastConsumedCost
Cost deducted at
timestamp
, only present when traffic was consumed attimestamp
, otherwise is set to 0- timestamp
Timestamp at which the state is valid
- serial
Optional serial of the balance update that updated the extra traffic limit
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseTrafficRemainder: Long
- def clearSerial: TrafficState
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def companion: TrafficState.type
- Definition Classes
- TrafficState → GeneratedMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extraTrafficConsumed: Long
- val extraTrafficPurchased: Long
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- TrafficState → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- TrafficState → GeneratedMessage
- def getSerial: Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastConsumedCost: Long
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val serial: Option[Int]
- def serializedSize: Int
- Definition Classes
- TrafficState → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timestamp: Long
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- TrafficState → GeneratedMessage
- def update(ms: (Lens[TrafficState, TrafficState]) => Mutation[TrafficState]*): TrafficState
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withBaseTrafficRemainder(__v: Long): TrafficState
- def withExtraTrafficConsumed(__v: Long): TrafficState
- def withExtraTrafficPurchased(__v: Long): TrafficState
- def withLastConsumedCost(__v: Long): TrafficState
- def withSerial(__v: Int): TrafficState
- def withTimestamp(__v: Long): TrafficState
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- TrafficState → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage