Uses of Enum Class
com.github.copilot.generated.AiCreditsStatus
Packages that use AiCreditsStatus
Package
Description
Auto-generated session event types for the GitHub Copilot SDK.
-
Uses of AiCreditsStatus in com.github.copilot.generated
Subclasses with type arguments of type AiCreditsStatus in com.github.copilot.generatedModifier and TypeClassDescriptionenumWhether the accumulated numeric AI-credit subtotal covers the observed calls.Methods in com.github.copilot.generated that return AiCreditsStatusModifier and TypeMethodDescriptionAssistantUsageEvent.AssistantUsageEventData.aiCreditsStatus()Returns the value of theaiCreditsStatusrecord component.CompactionCompleteCompactionTokensUsed.aiCreditsStatus()Returns the value of theaiCreditsStatusrecord component.UsageGetMetricsResult.aiCreditsStatus()Returns the value of theaiCreditsStatusrecord component.UsageMetricsModelMetric.aiCreditsStatus()Returns the value of theaiCreditsStatusrecord component.static AiCreditsStatusstatic AiCreditsStatusReturns the enum constant of this class with the specified name.static AiCreditsStatus[]AiCreditsStatus.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.github.copilot.generated with parameters of type AiCreditsStatusModifierConstructorDescriptionAssistantUsageEventData(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, ModelCallWebSocketFallbackReason websocketFallbackReason, Long websocketFallbackAfterMs, 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.CompactionCompleteCompactionTokensUsed(AiCreditsStatus aiCreditsStatus, ModelProviderRef provider, String modelDisplayName, Long inputTokens, Long outputTokens, Long cacheReadTokens, Long cacheWriteTokens, CompactionCompleteCompactionTokensUsedCopilotUsage copilotUsage, Long duration, String model) Creates an instance of aCompactionCompleteCompactionTokensUsedrecord class.UsageGetMetricsResult(AiCreditsStatus aiCreditsStatus, Double totalPremiumRequestCost, Long totalUserRequests, Double totalNanoAiu, Map<String, UsageMetricsTokenDetail> tokenDetails, Long totalApiDurationMs, OffsetDateTime sessionStartTime, UsageMetricsCodeChanges codeChanges, Map<String, UsageMetricsModelMetric> modelMetrics, List<UsageMetricsProviderModelMetric> providerModelMetrics, Map<String, UsageMetricsAgentMetric> agentMetrics, String currentModel, Long lastCallInputTokens, Long lastCallOutputTokens) Creates an instance of aUsageGetMetricsResultrecord class.UsageMetricsModelMetric(AiCreditsStatus aiCreditsStatus, UsageMetricsModelMetricRequests requests, UsageMetricsModelMetricUsage usage, OffsetDateTime cacheExpiresAt, Double totalNanoAiu, Map<String, UsageMetricsModelMetricTokenDetail> tokenDetails) Creates an instance of aUsageMetricsModelMetricrecord class.