Class QuotaCounterValueUpdateContract
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.QuotaCounterValueUpdateContract
-
public final class QuotaCounterValueUpdateContract extends Object
Quota counter value details.
-
-
Constructor Summary
Constructors Constructor Description QuotaCounterValueUpdateContract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
callsCount()
Get the callsCount property: Number of times Counter was called.Double
kbTransferred()
Get the kbTransferred property: Data Transferred in KiloBytes.void
validate()
Validates the instance.QuotaCounterValueUpdateContract
withCallsCount(Integer callsCount)
Set the callsCount property: Number of times Counter was called.QuotaCounterValueUpdateContract
withKbTransferred(Double kbTransferred)
Set the kbTransferred property: Data Transferred in KiloBytes.
-
-
-
Method Detail
-
callsCount
public Integer callsCount()
Get the callsCount property: Number of times Counter was called.- Returns:
- the callsCount value.
-
withCallsCount
public QuotaCounterValueUpdateContract withCallsCount(Integer callsCount)
Set the callsCount property: Number of times Counter was called.- Parameters:
callsCount
- the callsCount value to set.- Returns:
- the QuotaCounterValueUpdateContract object itself.
-
kbTransferred
public Double kbTransferred()
Get the kbTransferred property: Data Transferred in KiloBytes.- Returns:
- the kbTransferred value.
-
withKbTransferred
public QuotaCounterValueUpdateContract withKbTransferred(Double kbTransferred)
Set the kbTransferred property: Data Transferred in KiloBytes.- Parameters:
kbTransferred
- the kbTransferred value to set.- Returns:
- the QuotaCounterValueUpdateContract object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-