Class ManagementProjectLimitsBulkApiCallsItem

java.lang.Object
io.voucherify.client.model.ManagementProjectLimitsBulkApiCallsItem

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ManagementProjectLimitsBulkApiCallsItem extends Object
  • Field Details

  • Constructor Details

    • ManagementProjectLimitsBulkApiCallsItem

      public ManagementProjectLimitsBulkApiCallsItem()
  • Method Details

    • value

    • getValue

      @Nullable public Integer getValue()
      Determines the maximum number of API calls per time set in `\"duration\"`.
      Returns:
      value
    • setValue

      public void setValue(Integer value)
    • duration

      public ManagementProjectLimitsBulkApiCallsItem duration(String duration)
    • getDuration

      @Nullable public String 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

      public void setDuration(String duration)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromJson

      public static ManagementProjectLimitsBulkApiCallsItem fromJson(String jsonString) throws IOException
      Create an instance of ManagementProjectLimitsBulkApiCallsItem given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ManagementProjectLimitsBulkApiCallsItem
      Throws:
      IOException - if the JSON string is invalid with respect to ManagementProjectLimitsBulkApiCallsItem
    • toJson

      public String toJson()
      Convert an instance of ManagementProjectLimitsBulkApiCallsItem to an JSON string
      Returns:
      JSON string