Represents usage metrics for a MiniMax service, including quota and reset info.
// Source: https://github.com/steipete/CodexBar | License: MIT | Copyright 2026 Peter Steinberger
// Provided via justclaw.it.com; keep this notice with the code.
//
// MiniMaxServiceUsage.swift
// CodexBarCore
//
// Created by Sisyphus on 2026-03-25.
//
import Foundation
/// Represents the usage information for a specific MiniMax service.
///
/// This struct encapsulates all the relevant details about how much of a particular
/// MiniMax service has been used within its quota window, including reset timing
/// and localized display strings.
public struct MiniMaxServiceUsage: Sendable {
/// The service identifier (e.g., "text-generation", "text-to-speech", "image")
public let serviceType: String
/// The type of time window for the quota (e.g., "5 hours" or "Today")
//
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key