Class BandwidthLimitDTO
java.lang.Object
org.wso2.am.integration.clients.admin.api.dto.BandwidthLimitDTO
BandwidthLimitDTO
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondataAmount(Long dataAmount) booleanAmount of data allowed to be transferedUnit of data allowed to be transfered.Unit of the time.Time limit that the throttling limit applies.inthashCode()voidsetDataAmount(Long dataAmount) voidsetDataUnit(String dataUnit) voidsetTimeUnit(String timeUnit) voidsetUnitTime(Integer unitTime) toString()
-
Field Details
-
SERIALIZED_NAME_TIME_UNIT
- See Also:
-
SERIALIZED_NAME_UNIT_TIME
- See Also:
-
SERIALIZED_NAME_DATA_AMOUNT
- See Also:
-
SERIALIZED_NAME_DATA_UNIT
- See Also:
-
-
Constructor Details
-
BandwidthLimitDTO
public BandwidthLimitDTO()
-
-
Method Details
-
timeUnit
-
getTimeUnit
Unit of the time. Allowed values are \"sec\", \"min\", \"hour\", \"day\"- Returns:
- timeUnit
-
setTimeUnit
-
unitTime
-
getUnitTime
Time limit that the throttling limit applies.- Returns:
- unitTime
-
setUnitTime
-
dataAmount
-
getDataAmount
Amount of data allowed to be transfered- Returns:
- dataAmount
-
setDataAmount
-
dataUnit
-
getDataUnit
Unit of data allowed to be transfered. Allowed values are \"KB\", \"MB\" and \"GB\"- Returns:
- dataUnit
-
setDataUnit
-
equals
-
hashCode
public int hashCode() -
toString
-