Package ai.shipeasy.admin.model
Class ListI18nKeysResponse
java.lang.Object
ai.shipeasy.admin.model.ListI18nKeysResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ListI18nKeysResponse
extends Object
A page of i18n keys plus the total count. (The client also tolerates a bare array.)
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddKeysItem(ListI18nKeysResponseKeysInner keysItem) booleanstatic ListI18nKeysResponseCreate an instance of ListI18nKeysResponse given an JSON stringgetKeys()The page of matching keys.getTotal()Total matching keys across all pages (ignores `limit`/`offset`).inthashCode()voidvoidsetTotal(BigDecimal total) toJson()Convert an instance of ListI18nKeysResponse to an JSON stringtoString()total(BigDecimal total) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_KEYS
- See Also:
-
SERIALIZED_NAME_TOTAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListI18nKeysResponse
public ListI18nKeysResponse()
-
-
Method Details
-
keys
-
addKeysItem
-
getKeys
The page of matching keys.- Returns:
- keys
-
setKeys
-
total
-
getTotal
Total matching keys across all pages (ignores `limit`/`offset`).- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ListI18nKeysResponse
-
fromJson
Create an instance of ListI18nKeysResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListI18nKeysResponse
- Throws:
IOException- if the JSON string is invalid with respect to ListI18nKeysResponse
-
toJson
Convert an instance of ListI18nKeysResponse to an JSON string- Returns:
- JSON string
-