Uses of Record Class
com.github.copilot.generated.AssistantUsageQuotaSnapshot
Packages that use AssistantUsageQuotaSnapshot
Package
Description
Auto-generated session event types for the GitHub Copilot SDK.
-
Uses of AssistantUsageQuotaSnapshot in com.github.copilot.generated
Methods in com.github.copilot.generated that return types with arguments of type AssistantUsageQuotaSnapshotModifier and TypeMethodDescriptionAssistantUsageEvent.AssistantUsageEventData.quotaSnapshots()Returns the value of thequotaSnapshotsrecord component.ModelCallFailureEvent.ModelCallFailureEventData.quotaSnapshots()Returns the value of thequotaSnapshotsrecord component.Constructor parameters in com.github.copilot.generated with type arguments of type AssistantUsageQuotaSnapshotModifierConstructorDescriptionAssistantUsageEventData(AiCreditsStatus aiCreditsStatus, String model, ModelProviderRef provider, String modelDisplayName, UsageAccountingIdentity accounting, Long inputTokens, Long outputTokens, Long cacheReadTokens, Long cacheWriteTokens, OffsetDateTime cacheExpiresAt, Long reasoningTokens, Long thinkingDroppedBlocks, List<String> thinkingDroppedReasons, Double cost, Long duration, Double timeToFirstTokenMs, Double outputTtftMs, Double interTokenLatencyMs, String initiator, String interactionType, Boolean isByok, String byokKind, String modelProvider, Boolean isAuto, Long maxPromptTokens, Long maxOutputTokens, Long acceptedPredictionTokens, Long rejectedPredictionTokens, AssistantUsageTransport transport, Long requestBodyBytes, Long requestBodyWireBytes, ModelCallRequestBodyEncoding requestBodyEncoding, ModelCallWebSocketFallbackReason websocketFallbackReason, Long websocketFallbackAfterMs, ModelCallWebSocketFallbackErrorKind websocketFallbackErrorKind, Long websocketFallbackStatusCode, Long websocketFallbackCloseCode, Boolean websocketFallbackReconnectAttempted, Boolean websocketFallbackStartedThisCall, String apiCallId, String providerCallId, String serviceRequestId, Boolean rte, AssistantUsageApiEndpoint apiEndpoint, String parentToolCallId, Map<String, AssistantUsageQuotaSnapshot> quotaSnapshots, AssistantUsageCopilotUsage copilotUsage, String reasoningEffort, ReasoningSummary reasoningSummary, Long availableToolCount, Long toolTokenCount, String frontierSource, Long cacheTtlSeconds, Boolean cacheDetailsReported, Long numToolCalls, Map<String, Long> toolCounts, String finishReason, Boolean contentFilterTriggered, FusionAttribution fusion) Creates an instance of aAssistantUsageEventDatarecord class.ModelCallFailureEventData(String model, String parentToolCallId, String initiator, String apiCallId, String providerCallId, String serviceRequestId, Boolean rte, Long statusCode, Long durationMs, AssistantUsageApiEndpoint apiEndpoint, ModelCallFailureTransport transport, ModelCallFailureKind failureKind, Long requestBodyBytes, Long requestBodyWireBytes, ModelCallRequestBodyEncoding requestBodyEncoding, Long retryAttempt, ModelCallWebSocketFallbackReason websocketFallbackReason, Long websocketFallbackAfterMs, ModelCallWebSocketFallbackErrorKind websocketFallbackErrorKind, Long websocketFallbackStatusCode, Long websocketFallbackCloseCode, Boolean websocketFallbackReconnectAttempted, Boolean websocketFallbackStartedThisCall, Long maxPromptTokens, Long maxOutputTokens, Boolean isByok, String byokKind, String modelProvider, Boolean isAuto, String reasoningEffort, String interactionType, ModelCallFailureSource source, String errorMessage, ModelCallFailureBadRequestKind badRequestKind, String errorCode, String errorType, Map<String, AssistantUsageQuotaSnapshot> quotaSnapshots, ModelCallFailureRequestFingerprint requestFingerprint, FusionAttribution fusion) Creates an instance of aModelCallFailureEventDatarecord class.