Record Class CopilotUserResponseQuotaSnapshots
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.CopilotUserResponseQuotaSnapshots
@Generated("copilot-sdk-codegen")
public record CopilotUserResponseQuotaSnapshots(CopilotUserResponseQuotaSnapshotsChat chat, CopilotUserResponseQuotaSnapshotsCompletions completions, CopilotUserResponseQuotaSnapshotsPremiumInteractions premiumInteractions)
extends Record
Schema for the `CopilotUserResponseQuotaSnapshots` type.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCopilotUserResponseQuotaSnapshots(CopilotUserResponseQuotaSnapshotsChat chat, CopilotUserResponseQuotaSnapshotsCompletions completions, CopilotUserResponseQuotaSnapshotsPremiumInteractions premiumInteractions) Creates an instance of aCopilotUserResponseQuotaSnapshotsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchat()Returns the value of thechatrecord component.Returns the value of thecompletionsrecord 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 thepremiumInteractionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CopilotUserResponseQuotaSnapshots
public CopilotUserResponseQuotaSnapshots(CopilotUserResponseQuotaSnapshotsChat chat, CopilotUserResponseQuotaSnapshotsCompletions completions, CopilotUserResponseQuotaSnapshotsPremiumInteractions premiumInteractions) Creates an instance of aCopilotUserResponseQuotaSnapshotsrecord class.- Parameters:
chat- the value for thechatrecord componentcompletions- the value for thecompletionsrecord componentpremiumInteractions- the value for thepremiumInteractionsrecord 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). -
chat
Returns the value of thechatrecord component.- Returns:
- the value of the
chatrecord component
-
completions
Returns the value of thecompletionsrecord component.- Returns:
- the value of the
completionsrecord component
-