Package ai.shipeasy.admin.model
Class PushI18nKeysResponse
java.lang.Object
ai.shipeasy.admin.model.PushI18nKeysResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class PushI18nKeysResponse
extends Object
Result of an insert-only key push.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAddedItem(String addedItem) addSkippedItem(String skippedItem) booleanstatic PushI18nKeysResponseCreate an instance of PushI18nKeysResponse given an JSON stringgetAdded()Key names that were newly inserted.getChunk()The chunk the keys were filed under.Number of keys inserted (== `added.length`).Key names that already existed and were left untouched.Number of keys skipped (== `skipped.length`).inthashCode()pushedCount(BigDecimal pushedCount) voidvoidvoidsetPushedCount(BigDecimal pushedCount) voidsetSkipped(List<String> skipped) voidsetSkippedCount(BigDecimal skippedCount) skippedCount(BigDecimal skippedCount) toJson()Convert an instance of PushI18nKeysResponse to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ADDED
- See Also:
-
SERIALIZED_NAME_SKIPPED
- See Also:
-
SERIALIZED_NAME_PUSHED_COUNT
- See Also:
-
SERIALIZED_NAME_SKIPPED_COUNT
- See Also:
-
SERIALIZED_NAME_CHUNK
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PushI18nKeysResponse
public PushI18nKeysResponse()
-
-
Method Details
-
added
-
addAddedItem
-
getAdded
Key names that were newly inserted.- Returns:
- added
-
setAdded
-
skipped
-
addSkippedItem
-
getSkipped
Key names that already existed and were left untouched.- Returns:
- skipped
-
setSkipped
-
pushedCount
-
getPushedCount
Number of keys inserted (== `added.length`).- Returns:
- pushedCount
-
setPushedCount
-
skippedCount
-
getSkippedCount
Number of keys skipped (== `skipped.length`).- Returns:
- skippedCount
-
setSkippedCount
-
chunk
-
getChunk
The chunk the keys were filed under.- Returns:
- chunk
-
setChunk
-
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 PushI18nKeysResponse
-
fromJson
Create an instance of PushI18nKeysResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PushI18nKeysResponse
- Throws:
IOException- if the JSON string is invalid with respect to PushI18nKeysResponse
-
toJson
Convert an instance of PushI18nKeysResponse to an JSON string- Returns:
- JSON string
-