Package io.voucherify.client.model
Class ManagementProjectsUpdateResponseBodyLimitsApiCallsItem
java.lang.Object
io.voucherify.client.model.ManagementProjectsUpdateResponseBodyLimitsApiCallsItem
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsUpdateResponseBodyLimitsApiCallsItem
extends Object
Determines the limit of API calls per given unit time.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ManagementProjectsUpdateResponseBodyLimitsApiCallsItem given an JSON stringDetermines the amount of time during which the calls up to the number specified in the `value` can be made.getValue()Determines the maximum number of API calls per time set in `\"duration\"`.inthashCode()voidsetDuration(String duration) voidtoJson()Convert an instance of ManagementProjectsUpdateResponseBodyLimitsApiCallsItem to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_VALUE
- See Also:
-
SERIALIZED_NAME_DURATION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsUpdateResponseBodyLimitsApiCallsItem
public ManagementProjectsUpdateResponseBodyLimitsApiCallsItem()
-
-
Method Details
-
value
-
getValue
Determines the maximum number of API calls per time set in `\"duration\"`.- Returns:
- value
-
setValue
-
duration
-
getDuration
Determines the amount of time during which the calls up to the number specified in the `value` can be made. The duration is presented in the ISO 8601 format, e.g. `PT1H` means one hour.- Returns:
- duration
-
setDuration
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsUpdateResponseBodyLimitsApiCallsItem fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsUpdateResponseBodyLimitsApiCallsItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsUpdateResponseBodyLimitsApiCallsItem
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsUpdateResponseBodyLimitsApiCallsItem
-
toJson
Convert an instance of ManagementProjectsUpdateResponseBodyLimitsApiCallsItem to an JSON string- Returns:
- JSON string
-