Share via


QuotaCounterValueContract Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.QuotaCounterValueContract

public class QuotaCounterValueContract

Quota counter value details.

Constructor Summary

Constructor Description
QuotaCounterValueContract()

Method Summary

Modifier and Type Method and Description
java.lang.Integer callsCount()

Get number of times Counter was called.

java.lang.Double kbTransferred()

Get data Transferred in KiloBytes.

QuotaCounterValueContract withCallsCount(Integer callsCount)

Set number of times Counter was called.

QuotaCounterValueContract withKbTransferred(Double kbTransferred)

Set data Transferred in KiloBytes.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

QuotaCounterValueContract

public QuotaCounterValueContract()

Method Details

callsCount

public Integer callsCount()

Get number of times Counter was called.

Returns:

the callsCount value

kbTransferred

public Double kbTransferred()

Get data Transferred in KiloBytes.

Returns:

the kbTransferred value

withCallsCount

public QuotaCounterValueContract withCallsCount(Integer callsCount)

Set number of times Counter was called.

Parameters:

callsCount - the callsCount value to set

Returns:

the QuotaCounterValueContract object itself.

withKbTransferred

public QuotaCounterValueContract withKbTransferred(Double kbTransferred)

Set data Transferred in KiloBytes.

Parameters:

kbTransferred - the kbTransferred value to set

Returns:

the QuotaCounterValueContract object itself.

Applies to