Record Class AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue

java.lang.Object
java.lang.Record
com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
Enclosing class:
AccountGetQuotaResult

public static record AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue(Double entitlementRequests, Double usedRequests, Double remainingPercentage, Double overage, Boolean overageAllowedWithExhaustedQuota, String resetDate) extends Record
  • Constructor Details

    • AccountGetQuotaResultQuotaSnapshotsValue

      public AccountGetQuotaResultQuotaSnapshotsValue(Double entitlementRequests, Double usedRequests, Double remainingPercentage, Double overage, Boolean overageAllowedWithExhaustedQuota, String resetDate)
      Creates an instance of a AccountGetQuotaResultQuotaSnapshotsValue record class.
      Parameters:
      entitlementRequests - the value for the entitlementRequests record component
      usedRequests - the value for the usedRequests record component
      remainingPercentage - the value for the remainingPercentage record component
      overage - the value for the overage record component
      overageAllowedWithExhaustedQuota - the value for the overageAllowedWithExhaustedQuota record component
      resetDate - the value for the resetDate record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • entitlementRequests

      public Double entitlementRequests()
      Returns the value of the entitlementRequests record component.
      Returns:
      the value of the entitlementRequests record component
    • usedRequests

      public Double usedRequests()
      Returns the value of the usedRequests record component.
      Returns:
      the value of the usedRequests record component
    • remainingPercentage

      public Double remainingPercentage()
      Returns the value of the remainingPercentage record component.
      Returns:
      the value of the remainingPercentage record component
    • overage

      public Double overage()
      Returns the value of the overage record component.
      Returns:
      the value of the overage record component
    • overageAllowedWithExhaustedQuota

      public Boolean overageAllowedWithExhaustedQuota()
      Returns the value of the overageAllowedWithExhaustedQuota record component.
      Returns:
      the value of the overageAllowedWithExhaustedQuota record component
    • resetDate

      public String resetDate()
      Returns the value of the resetDate record component.
      Returns:
      the value of the resetDate record component