Record Class AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
java.lang.Object
java.lang.Record
com.github.copilot.sdk.generated.rpc.AccountGetQuotaResult.AccountGetQuotaResultQuotaSnapshotsValue
- Enclosing class:
- AccountGetQuotaResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentitlementRequestsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.overage()Returns the value of theoveragerecord component.Returns the value of theoverageAllowedWithExhaustedQuotarecord component.Returns the value of theremainingPercentagerecord component.Returns the value of theresetDaterecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theusedRequestsrecord component.
-
Constructor Details
-
AccountGetQuotaResultQuotaSnapshotsValue
public AccountGetQuotaResultQuotaSnapshotsValue(Double entitlementRequests, Double usedRequests, Double remainingPercentage, Double overage, Boolean overageAllowedWithExhaustedQuota, String resetDate) Creates an instance of aAccountGetQuotaResultQuotaSnapshotsValuerecord class.- Parameters:
entitlementRequests- the value for theentitlementRequestsrecord componentusedRequests- the value for theusedRequestsrecord componentremainingPercentage- the value for theremainingPercentagerecord componentoverage- the value for theoveragerecord componentoverageAllowedWithExhaustedQuota- the value for theoverageAllowedWithExhaustedQuotarecord componentresetDate- the value for theresetDaterecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
entitlementRequests
Returns the value of theentitlementRequestsrecord component.- Returns:
- the value of the
entitlementRequestsrecord component
-
usedRequests
Returns the value of theusedRequestsrecord component.- Returns:
- the value of the
usedRequestsrecord component
-
remainingPercentage
Returns the value of theremainingPercentagerecord component.- Returns:
- the value of the
remainingPercentagerecord component
-
overage
Returns the value of theoveragerecord component.- Returns:
- the value of the
overagerecord component
-
overageAllowedWithExhaustedQuota
Returns the value of theoverageAllowedWithExhaustedQuotarecord component.- Returns:
- the value of the
overageAllowedWithExhaustedQuotarecord component
-
resetDate
Returns the value of theresetDaterecord component.- Returns:
- the value of the
resetDaterecord component
-