Uses of Record Class
com.github.copilot.generated.UsageMetricsProviderModelMetric
Packages that use UsageMetricsProviderModelMetric
Package
Description
Auto-generated session event types for the GitHub Copilot SDK.
-
Uses of UsageMetricsProviderModelMetric in com.github.copilot.generated
Methods in com.github.copilot.generated that return types with arguments of type UsageMetricsProviderModelMetricModifier and TypeMethodDescriptionSessionShutdownEvent.SessionShutdownEventData.providerModelMetrics()Returns the value of theproviderModelMetricsrecord component.SessionUsageCheckpointEvent.SessionUsageCheckpointEventData.providerModelMetrics()Returns the value of theproviderModelMetricsrecord component.UsageGetMetricsResult.providerModelMetrics()Returns the value of theproviderModelMetricsrecord component.Constructor parameters in com.github.copilot.generated with type arguments of type UsageMetricsProviderModelMetricModifierConstructorDescriptionSessionShutdownEventData(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.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.