Uses of Record Class
com.github.copilot.generated.UsageGetMetricsResult
Packages that use UsageGetMetricsResult
Package
Description
Auto-generated session event types for the GitHub Copilot SDK.
-
Uses of UsageGetMetricsResult in com.github.copilot.generated
Methods in com.github.copilot.generated that return UsageGetMetricsResultModifier and TypeMethodDescriptionSessionShutdownEvent.SessionShutdownEventData.accountingSnapshot()Returns the value of theaccountingSnapshotrecord component.SessionUsageCheckpointEvent.SessionUsageCheckpointEventData.accountingSnapshot()Returns the value of theaccountingSnapshotrecord component.Constructors in com.github.copilot.generated with parameters of type UsageGetMetricsResultModifierConstructorDescriptionSessionShutdownEventData(UsageGetMetricsResult accountingSnapshot, List<UsageMetricsProviderModelMetric> providerModelMetrics, Map<String, Long> usageAccountingWatermarks, ShutdownType shutdownType, String errorReason, Double totalPremiumRequests, Double totalNanoAiu, Map<String, ShutdownTokenDetail> tokenDetails, Long totalApiDurationMs, Long sessionStartTime, Long eventsFileSizeBytes, ShutdownCodeChanges codeChanges, Map<String, ShutdownModelMetric> modelMetrics, Map<String, ShutdownAgentMetric> agentMetrics, String currentModel, Long currentTokens, Long systemTokens, Long conversationTokens, Long toolDefinitionsTokens) Creates an instance of aSessionShutdownEventDatarecord class.SessionUsageCheckpointEventData(Double totalNanoAiu, UsageGetMetricsResult accountingSnapshot, List<UsageMetricsProviderModelMetric> providerModelMetrics, Map<String, Long> usageAccountingWatermarks, Double totalPremiumRequests, List<UsageCheckpointModelCacheState> modelCacheState, List<Object> promptCacheBreakState) Creates an instance of aSessionUsageCheckpointEventDatarecord class.