Record Class SessionQuotaRefreshResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionQuotaRefreshResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionQuotaRefreshResult(Map<String, SessionQuotaSnapshot> snapshots, List<ProviderQuotaState> providerQuotas, Boolean isFreeUser, Boolean isTbbUser, SessionQuotaPlanTier planTier, Boolean premiumRequestsBillable, Boolean modelCostColumnVisible, Boolean delegateAvailable, Boolean canSignupForCopilotFree, Boolean dynamicWorkflowsEnabled, Boolean dynamicWorkflowsUiVisible, String upgradeUrl, SessionQuotaDelegateWarning delegateWarning)
extends Record
The incumbent session-owned quota and account projection.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionQuotaRefreshResult(Map<String, SessionQuotaSnapshot> snapshots, List<ProviderQuotaState> providerQuotas, Boolean isFreeUser, Boolean isTbbUser, SessionQuotaPlanTier planTier, Boolean premiumRequestsBillable, Boolean modelCostColumnVisible, Boolean delegateAvailable, Boolean canSignupForCopilotFree, Boolean dynamicWorkflowsEnabled, Boolean dynamicWorkflowsUiVisible, String upgradeUrl, SessionQuotaDelegateWarning delegateWarning) Creates an instance of aSessionQuotaRefreshResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecanSignupForCopilotFreerecord component.Returns the value of thedelegateAvailablerecord component.Returns the value of thedelegateWarningrecord component.Returns the value of thedynamicWorkflowsEnabledrecord component.Returns the value of thedynamicWorkflowsUiVisiblerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theisFreeUserrecord component.Returns the value of theisTbbUserrecord component.Returns the value of themodelCostColumnVisiblerecord component.planTier()Returns the value of theplanTierrecord component.Returns the value of thepremiumRequestsBillablerecord component.Returns the value of theproviderQuotasrecord component.Returns the value of thesnapshotsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupgradeUrlrecord component.
-
Constructor Details
-
SessionQuotaRefreshResult
public SessionQuotaRefreshResult(Map<String, SessionQuotaSnapshot> snapshots, List<ProviderQuotaState> providerQuotas, Boolean isFreeUser, Boolean isTbbUser, SessionQuotaPlanTier planTier, Boolean premiumRequestsBillable, Boolean modelCostColumnVisible, Boolean delegateAvailable, Boolean canSignupForCopilotFree, Boolean dynamicWorkflowsEnabled, Boolean dynamicWorkflowsUiVisible, String upgradeUrl, SessionQuotaDelegateWarning delegateWarning) Creates an instance of aSessionQuotaRefreshResultrecord class.- Parameters:
snapshots- the value for thesnapshotsrecord componentproviderQuotas- the value for theproviderQuotasrecord componentisFreeUser- the value for theisFreeUserrecord componentisTbbUser- the value for theisTbbUserrecord componentplanTier- the value for theplanTierrecord componentpremiumRequestsBillable- the value for thepremiumRequestsBillablerecord componentmodelCostColumnVisible- the value for themodelCostColumnVisiblerecord componentdelegateAvailable- the value for thedelegateAvailablerecord componentcanSignupForCopilotFree- the value for thecanSignupForCopilotFreerecord componentdynamicWorkflowsEnabled- the value for thedynamicWorkflowsEnabledrecord componentdynamicWorkflowsUiVisible- the value for thedynamicWorkflowsUiVisiblerecord componentupgradeUrl- the value for theupgradeUrlrecord componentdelegateWarning- the value for thedelegateWarningrecord 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). -
snapshots
Returns the value of thesnapshotsrecord component.- Returns:
- the value of the
snapshotsrecord component
-
providerQuotas
Returns the value of theproviderQuotasrecord component.- Returns:
- the value of the
providerQuotasrecord component
-
isFreeUser
Returns the value of theisFreeUserrecord component.- Returns:
- the value of the
isFreeUserrecord component
-
isTbbUser
Returns the value of theisTbbUserrecord component.- Returns:
- the value of the
isTbbUserrecord component
-
planTier
Returns the value of theplanTierrecord component.- Returns:
- the value of the
planTierrecord component
-
modelCostColumnVisible
Returns the value of themodelCostColumnVisiblerecord component.- Returns:
- the value of the
modelCostColumnVisiblerecord component
-
delegateAvailable
Returns the value of thedelegateAvailablerecord component.- Returns:
- the value of the
delegateAvailablerecord component
-
canSignupForCopilotFree
Returns the value of thecanSignupForCopilotFreerecord component.- Returns:
- the value of the
canSignupForCopilotFreerecord component
-
dynamicWorkflowsEnabled
Returns the value of thedynamicWorkflowsEnabledrecord component.- Returns:
- the value of the
dynamicWorkflowsEnabledrecord component
-
dynamicWorkflowsUiVisible
Returns the value of thedynamicWorkflowsUiVisiblerecord component.- Returns:
- the value of the
dynamicWorkflowsUiVisiblerecord component
-
upgradeUrl
Returns the value of theupgradeUrlrecord component.- Returns:
- the value of the
upgradeUrlrecord component
-
delegateWarning
Returns the value of thedelegateWarningrecord component.- Returns:
- the value of the
delegateWarningrecord component
-