java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.Usage

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class Usage extends Object
Usage
  • Felddetails

    • applicationId

      protected String applicationId
      Application id of the subscription
    • applicationName

      protected String applicationName
      Application name of the subscription
    • endTime

      protected Long endTime
      End time of the subscription in milli seconds for the current interval
    • failureCount

      protected Integer failureCount
      This will show the number of failure invokes for the current subscription in the current interval
    • interval

      protected String interval
      Interval value of the subscription for current interval
    • intervalUnit

      protected String intervalUnit
      Interval Unit of the subscription for the current interval
    • packageId

      protected String packageId
      Package id of the subscription
    • packageName

      protected String packageName
      Package name of the subscription
    • planId

      protected String planId
      Plan id of the subscription
    • planName

      protected String planName
      Plan name of the subscription
    • quota

      protected String quota
      Quota (number of invokes) of the subscription as text for the current interval
    • quotaAllowed

      protected Long quotaAllowed
      Quota (number of invokes) allowed for the subscription for current interval
    • remainingPeriod

      protected String remainingPeriod
      Remaining period of the subscription as text for the current interval
    • remainingPeriodInMillis

      protected Long remainingPeriodInMillis
      Remaining period of the subscription in milli seconds for the current interval
    • restoredIntervalInSeconds

      protected Integer restoredIntervalInSeconds
      This value shows the elapses time of subscription in case of restart of the server. This end time and remaining time will be calculated based on start time, interval and restored interval.
    • startDayOfTheWeek

      protected String startDayOfTheWeek
      Start of the week configured in API gateway
    • startTime

      protected Long startTime
      Start time of the subscription for current interval in milli seconds
    • successCount

      protected Integer successCount
      This will show the number of successful invokes for the current subscription in the current interval
    • usedQuota

      protected Long usedQuota
      Quota (number of invokes) used count for the subscription for current interval
  • Konstruktordetails

    • Usage

      public Usage(Consumer<Usage> spec)
      Constructs a validated instance of Usage.
      Parameter:
      spec - the specification to process
    • Usage

      @Internal public Usage(String applicationId, String applicationName, Long endTime, Integer failureCount, String interval, String intervalUnit, String packageId, String packageName, String planId, String planName, String quota, Long quotaAllowed, String remainingPeriod, Long remainingPeriodInMillis, Integer restoredIntervalInSeconds, String startDayOfTheWeek, Long startTime, Integer successCount, Long usedQuota)
      Constructs a validated instance of Usage.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Usage(Consumer) instead.

      Parameter:
      applicationId - Application id of the subscription
      applicationName - Application name of the subscription
      endTime - End time of the subscription in milli seconds for the current interval
      failureCount - This will show the number of failure invokes for the current subscription in the current interval
      interval - Interval value of the subscription for current interval
      intervalUnit - Interval Unit of the subscription for the current interval
      packageId - Package id of the subscription
      packageName - Package name of the subscription
      planId - Plan id of the subscription
      planName - Plan name of the subscription
      quota - Quota (number of invokes) of the subscription as text for the current interval
      quotaAllowed - Quota (number of invokes) allowed for the subscription for current interval
      remainingPeriod - Remaining period of the subscription as text for the current interval
      remainingPeriodInMillis - Remaining period of the subscription in milli seconds for the current interval
      restoredIntervalInSeconds - This value shows the elapses time of subscription in case of restart of the server. This end time and remaining time will be calculated based on start time, interval and restored interval.
      startDayOfTheWeek - Start of the week configured in API gateway
      startTime - Start time of the subscription for current interval in milli seconds
      successCount - This will show the number of successful invokes for the current subscription in the current interval
      usedQuota - Quota (number of invokes) used count for the subscription for current interval
    • Usage

      protected Usage()
  • Methodendetails

    • builder

      public static Usage.UsageBuilder builder()
    • applicationId

      public String applicationId()
      Application id of the subscription
    • applicationName

      public String applicationName()
      Application name of the subscription
    • endTime

      public Long endTime()
      End time of the subscription in milli seconds for the current interval
    • failureCount

      public Integer failureCount()
      This will show the number of failure invokes for the current subscription in the current interval
    • interval

      public String interval()
      Interval value of the subscription for current interval
    • intervalUnit

      public String intervalUnit()
      Interval Unit of the subscription for the current interval
    • packageId

      public String packageId()
      Package id of the subscription
    • packageName

      public String packageName()
      Package name of the subscription
    • planId

      public String planId()
      Plan id of the subscription
    • planName

      public String planName()
      Plan name of the subscription
    • quota

      public String quota()
      Quota (number of invokes) of the subscription as text for the current interval
    • quotaAllowed

      public Long quotaAllowed()
      Quota (number of invokes) allowed for the subscription for current interval
    • remainingPeriod

      public String remainingPeriod()
      Remaining period of the subscription as text for the current interval
    • remainingPeriodInMillis

      public Long remainingPeriodInMillis()
      Remaining period of the subscription in milli seconds for the current interval
    • restoredIntervalInSeconds

      public Integer restoredIntervalInSeconds()
      This value shows the elapses time of subscription in case of restart of the server. This end time and remaining time will be calculated based on start time, interval and restored interval.
    • startDayOfTheWeek

      public String startDayOfTheWeek()
      Start of the week configured in API gateway
    • startTime

      public Long startTime()
      Start time of the subscription for current interval in milli seconds
    • successCount

      public Integer successCount()
      This will show the number of successful invokes for the current subscription in the current interval
    • usedQuota

      public Long usedQuota()
      Quota (number of invokes) used count for the subscription for current interval
    • applicationId

      public Usage applicationId(String applicationId)
      Application id of the subscription
      Gibt zurück:
      this.
    • applicationName

      public Usage applicationName(String applicationName)
      Application name of the subscription
      Gibt zurück:
      this.
    • endTime

      public Usage endTime(Long endTime)
      End time of the subscription in milli seconds for the current interval
      Gibt zurück:
      this.
    • failureCount

      public Usage failureCount(Integer failureCount)
      This will show the number of failure invokes for the current subscription in the current interval
      Gibt zurück:
      this.
    • interval

      public Usage interval(String interval)
      Interval value of the subscription for current interval
      Gibt zurück:
      this.
    • intervalUnit

      public Usage intervalUnit(String intervalUnit)
      Interval Unit of the subscription for the current interval
      Gibt zurück:
      this.
    • packageId

      public Usage packageId(String packageId)
      Package id of the subscription
      Gibt zurück:
      this.
    • packageName

      public Usage packageName(String packageName)
      Package name of the subscription
      Gibt zurück:
      this.
    • planId

      public Usage planId(String planId)
      Plan id of the subscription
      Gibt zurück:
      this.
    • planName

      public Usage planName(String planName)
      Plan name of the subscription
      Gibt zurück:
      this.
    • quota

      public Usage quota(String quota)
      Quota (number of invokes) of the subscription as text for the current interval
      Gibt zurück:
      this.
    • quotaAllowed

      public Usage quotaAllowed(Long quotaAllowed)
      Quota (number of invokes) allowed for the subscription for current interval
      Gibt zurück:
      this.
    • remainingPeriod

      public Usage remainingPeriod(String remainingPeriod)
      Remaining period of the subscription as text for the current interval
      Gibt zurück:
      this.
    • remainingPeriodInMillis

      public Usage remainingPeriodInMillis(Long remainingPeriodInMillis)
      Remaining period of the subscription in milli seconds for the current interval
      Gibt zurück:
      this.
    • restoredIntervalInSeconds

      public Usage restoredIntervalInSeconds(Integer restoredIntervalInSeconds)
      This value shows the elapses time of subscription in case of restart of the server. This end time and remaining time will be calculated based on start time, interval and restored interval.
      Gibt zurück:
      this.
    • startDayOfTheWeek

      public Usage startDayOfTheWeek(String startDayOfTheWeek)
      Start of the week configured in API gateway
      Gibt zurück:
      this.
    • startTime

      public Usage startTime(Long startTime)
      Start time of the subscription for current interval in milli seconds
      Gibt zurück:
      this.
    • successCount

      public Usage successCount(Integer successCount)
      This will show the number of successful invokes for the current subscription in the current interval
      Gibt zurück:
      this.
    • usedQuota

      public Usage usedQuota(Long usedQuota)
      Quota (number of invokes) used count for the subscription for current interval
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object