Record Class AssistantUsageQuotaSnapshot
java.lang.Object
java.lang.Record
com.github.copilot.generated.AssistantUsageQuotaSnapshot
@Generated("copilot-sdk-codegen")
public record AssistantUsageQuotaSnapshot(Boolean isUnlimitedEntitlement, Long entitlementRequests, Long usedRequests, Boolean usageAllowedWithExhaustedQuota, Double overage, Boolean overageAllowedWithExhaustedQuota, Double remainingPercentage, OffsetDateTime resetDate, Boolean hasQuota, Boolean tokenBasedBilling, Double overageEntitlement)
extends Record
Schema for the `AssistantUsageQuotaSnapshot` type.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAssistantUsageQuotaSnapshot(Boolean isUnlimitedEntitlement, Long entitlementRequests, Long usedRequests, Boolean usageAllowedWithExhaustedQuota, Double overage, Boolean overageAllowedWithExhaustedQuota, Double remainingPercentage, OffsetDateTime resetDate, Boolean hasQuota, Boolean tokenBasedBilling, Double overageEntitlement) Creates an instance of aAssistantUsageQuotaSnapshotrecord class. -
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.hasQuota()Returns the value of thehasQuotarecord component.Returns the value of theisUnlimitedEntitlementrecord component.overage()Returns the value of theoveragerecord component.Returns the value of theoverageAllowedWithExhaustedQuotarecord component.Returns the value of theoverageEntitlementrecord component.Returns the value of theremainingPercentagerecord component.Returns the value of theresetDaterecord component.Returns the value of thetokenBasedBillingrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theusageAllowedWithExhaustedQuotarecord component.Returns the value of theusedRequestsrecord component.
-
Constructor Details
-
AssistantUsageQuotaSnapshot
public AssistantUsageQuotaSnapshot(Boolean isUnlimitedEntitlement, Long entitlementRequests, Long usedRequests, Boolean usageAllowedWithExhaustedQuota, Double overage, Boolean overageAllowedWithExhaustedQuota, Double remainingPercentage, OffsetDateTime resetDate, Boolean hasQuota, Boolean tokenBasedBilling, Double overageEntitlement) Creates an instance of aAssistantUsageQuotaSnapshotrecord class.- Parameters:
isUnlimitedEntitlement- the value for theisUnlimitedEntitlementrecord componententitlementRequests- the value for theentitlementRequestsrecord componentusedRequests- the value for theusedRequestsrecord componentusageAllowedWithExhaustedQuota- the value for theusageAllowedWithExhaustedQuotarecord componentoverage- the value for theoveragerecord componentoverageAllowedWithExhaustedQuota- the value for theoverageAllowedWithExhaustedQuotarecord componentremainingPercentage- the value for theremainingPercentagerecord componentresetDate- the value for theresetDaterecord componenthasQuota- the value for thehasQuotarecord componenttokenBasedBilling- the value for thetokenBasedBillingrecord componentoverageEntitlement- the value for theoverageEntitlementrecord 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). -
isUnlimitedEntitlement
Returns the value of theisUnlimitedEntitlementrecord component.- Returns:
- the value of the
isUnlimitedEntitlementrecord component
-
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
-
usageAllowedWithExhaustedQuota
Returns the value of theusageAllowedWithExhaustedQuotarecord component.- Returns:
- the value of the
usageAllowedWithExhaustedQuotarecord 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
-
remainingPercentage
Returns the value of theremainingPercentagerecord component.- Returns:
- the value of the
remainingPercentagerecord component
-
resetDate
Returns the value of theresetDaterecord component.- Returns:
- the value of the
resetDaterecord component
-
hasQuota
Returns the value of thehasQuotarecord component.- Returns:
- the value of the
hasQuotarecord component
-
tokenBasedBilling
Returns the value of thetokenBasedBillingrecord component.- Returns:
- the value of the
tokenBasedBillingrecord component
-
overageEntitlement
Returns the value of theoverageEntitlementrecord component.- Returns:
- the value of the
overageEntitlementrecord component
-