Package com.exoscale.sdk.model
Class IngestMeteringRequest
java.lang.Object
com.exoscale.sdk.model.IngestMeteringRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class IngestMeteringRequest
extends Object
Router flush payload: the router's full in-memory usage map with flush identity fields
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanReturn true if this ingest-metering-request object is equal to o.ISO-8601 UTC timestamp when the flush snapshot was created (truncated to minute boundary for bucketing)UUID identifying this flush; used for idempotent deduplicationRouter instance identifier that produced this flushgetUsage()Map of api-key-uuid to usage entry.inthashCode()putUsageItem(String key, ApiKeyUsageEntry usageItem) voidsetCreatedAt(OffsetDateTime createdAt) voidsetFlushId(UUID flushId) voidsetRouterId(String routerId) voidsetUsage(Map<String, ApiKeyUsageEntry> usage) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.usage(Map<String, ApiKeyUsageEntry> usage)
-
Field Details
-
JSON_PROPERTY_FLUSH_ID
- See Also:
-
JSON_PROPERTY_USAGE
- See Also:
-
JSON_PROPERTY_ROUTER_ID
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
-
Constructor Details
-
IngestMeteringRequest
public IngestMeteringRequest()
-
-
Method Details
-
flushId
-
getFlushId
UUID identifying this flush; used for idempotent deduplication- Returns:
- flushId
-
setFlushId
-
usage
-
putUsageItem
-
getUsage
Map of api-key-uuid to usage entry. Keys are API key UUIDs. Mirrors the router's in-memory accumulator structure directly.- Returns:
- usage
-
setUsage
-
routerId
-
getRouterId
Router instance identifier that produced this flush- Returns:
- routerId
-
setRouterId
-
createdAt
-
getCreatedAt
ISO-8601 UTC timestamp when the flush snapshot was created (truncated to minute boundary for bucketing)- Returns:
- createdAt
-
setCreatedAt
-
equals
Return true if this ingest-metering-request object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-