Package com.exoscale.sdk.model
Class ApiKeyUsageEntry
java.lang.Object
com.exoscale.sdk.model.ApiKeyUsageEntry
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class ApiKeyUsageEntry
extends Object
Usage breakdown for one API key, grouped by model
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this api-key-usage-entry object is equal to o.Map of model-uuid to accumulated counters.Organization that owns this API keyinthashCode()models(Map<String, ModelUsageCounters> models) organizationId(UUID organizationId) putModelsItem(String key, ModelUsageCounters modelsItem) voidsetModels(Map<String, ModelUsageCounters> models) voidsetOrganizationId(UUID organizationId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ORGANIZATION_ID
- See Also:
-
JSON_PROPERTY_MODELS
- See Also:
-
-
Constructor Details
-
ApiKeyUsageEntry
public ApiKeyUsageEntry()
-
-
Method Details
-
organizationId
-
getOrganizationId
Organization that owns this API key- Returns:
- organizationId
-
setOrganizationId
-
models
-
putModelsItem
-
getModels
Map of model-uuid to accumulated counters. Keys are model UUIDs.- Returns:
- models
-
setModels
-
equals
Return true if this api-key-usage-entry 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
-