Record Class CopilotUserResponseQuotaSnapshotsCompletions
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.CopilotUserResponseQuotaSnapshotsCompletions
@Generated("copilot-sdk-codegen")
public record CopilotUserResponseQuotaSnapshotsCompletions(Double entitlement, Double overageCount, Boolean overagePermitted, Double percentRemaining, String quotaId, Double quotaRemaining, Double remaining, Boolean unlimited, String timestampUtc, Boolean hasQuota, Double quotaResetAt, Boolean tokenBasedBilling)
extends Record
Schema for the `CopilotUserResponseQuotaSnapshotsCompletions` type.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCopilotUserResponseQuotaSnapshotsCompletions(Double entitlement, Double overageCount, Boolean overagePermitted, Double percentRemaining, String quotaId, Double quotaRemaining, Double remaining, Boolean unlimited, String timestampUtc, Boolean hasQuota, Double quotaResetAt, Boolean tokenBasedBilling) Creates an instance of aCopilotUserResponseQuotaSnapshotsCompletionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentitlementrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.hasQuota()Returns the value of thehasQuotarecord component.Returns the value of theoverageCountrecord component.Returns the value of theoveragePermittedrecord component.Returns the value of thepercentRemainingrecord component.quotaId()Returns the value of thequotaIdrecord component.Returns the value of thequotaRemainingrecord component.Returns the value of thequotaResetAtrecord component.Returns the value of theremainingrecord component.Returns the value of thetimestampUtcrecord component.Returns the value of thetokenBasedBillingrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunlimitedrecord component.
-
Constructor Details
-
CopilotUserResponseQuotaSnapshotsCompletions
public CopilotUserResponseQuotaSnapshotsCompletions(Double entitlement, Double overageCount, Boolean overagePermitted, Double percentRemaining, String quotaId, Double quotaRemaining, Double remaining, Boolean unlimited, String timestampUtc, Boolean hasQuota, Double quotaResetAt, Boolean tokenBasedBilling) Creates an instance of aCopilotUserResponseQuotaSnapshotsCompletionsrecord class.- Parameters:
entitlement- the value for theentitlementrecord componentoverageCount- the value for theoverageCountrecord componentoveragePermitted- the value for theoveragePermittedrecord componentpercentRemaining- the value for thepercentRemainingrecord componentquotaId- the value for thequotaIdrecord componentquotaRemaining- the value for thequotaRemainingrecord componentremaining- the value for theremainingrecord componentunlimited- the value for theunlimitedrecord componenttimestampUtc- the value for thetimestampUtcrecord componenthasQuota- the value for thehasQuotarecord componentquotaResetAt- the value for thequotaResetAtrecord componenttokenBasedBilling- the value for thetokenBasedBillingrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
entitlement
Returns the value of theentitlementrecord component.- Returns:
- the value of the
entitlementrecord component
-
overageCount
Returns the value of theoverageCountrecord component.- Returns:
- the value of the
overageCountrecord component
-
overagePermitted
Returns the value of theoveragePermittedrecord component.- Returns:
- the value of the
overagePermittedrecord component
-
percentRemaining
Returns the value of thepercentRemainingrecord component.- Returns:
- the value of the
percentRemainingrecord component
-
quotaId
Returns the value of thequotaIdrecord component.- Returns:
- the value of the
quotaIdrecord component
-
quotaRemaining
Returns the value of thequotaRemainingrecord component.- Returns:
- the value of the
quotaRemainingrecord component
-
remaining
Returns the value of theremainingrecord component.- Returns:
- the value of the
remainingrecord component
-
unlimited
Returns the value of theunlimitedrecord component.- Returns:
- the value of the
unlimitedrecord component
-
timestampUtc
Returns the value of thetimestampUtcrecord component.- Returns:
- the value of the
timestampUtcrecord component
-
hasQuota
Returns the value of thehasQuotarecord component.- Returns:
- the value of the
hasQuotarecord component
-
quotaResetAt
Returns the value of thequotaResetAtrecord component.- Returns:
- the value of the
quotaResetAtrecord component
-
tokenBasedBilling
Returns the value of thetokenBasedBillingrecord component.- Returns:
- the value of the
tokenBasedBillingrecord component
-