Package ai.shipeasy.admin.model
Class SetI18nLabelResponse
java.lang.Object
ai.shipeasy.admin.model.SetI18nLabelResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class SetI18nLabelResponse
extends Object
Result of a one-shot set-and-publish.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumCDN purge outcome: `purged` ok, `skipped` (no creds), or `failed` (edge still stale). -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SetI18nLabelResponseCreate an instance of SetI18nLabelResponse given an JSON stringWhether the snapshot's contents actually changed since the last publish.getKey()The key that was set.Number of keys in the published snapshot.Whether a KV read-back confirmed the new version persisted.getOk()Always `true` on success.Name of the profile that was published.Id of the profile that was published.ISO-8601 timestamp of the publish.CDN purge outcome: `purged` ok, `skipped` (no creds), or `failed` (edge still stale).getValue()The value that was stored.New KV snapshot version that was shipped.Human-readable caveat when the publish landed but is not fully live.inthashCode()keyCount(BigDecimal keyCount) kvVerified(Boolean kvVerified) publishedAt(String publishedAt) voidsetChanged(Boolean changed) voidvoidsetKeyCount(BigDecimal keyCount) voidsetKvVerified(Boolean kvVerified) voidvoidsetProfile(String profile) voidsetProfileId(String profileId) voidsetPublishedAt(String publishedAt) voidvoidvoidsetVersion(String version) voidsetWarning(String warning) toJson()Convert an instance of SetI18nLabelResponse 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_OK
- See Also:
-
SERIALIZED_NAME_PROFILE
- See Also:
-
SERIALIZED_NAME_PROFILE_ID
- See Also:
-
SERIALIZED_NAME_KEY
- See Also:
-
SERIALIZED_NAME_VALUE
- See Also:
-
SERIALIZED_NAME_PUBLISHED_AT
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
SERIALIZED_NAME_KEY_COUNT
- See Also:
-
SERIALIZED_NAME_CHANGED
- See Also:
-
SERIALIZED_NAME_PURGED
- See Also:
-
SERIALIZED_NAME_KV_VERIFIED
- See Also:
-
SERIALIZED_NAME_WARNING
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SetI18nLabelResponse
public SetI18nLabelResponse()
-
-
Method Details
-
ok
-
getOk
Always `true` on success.- Returns:
- ok
-
setOk
-
profile
-
getProfile
Name of the profile that was published.- Returns:
- profile
-
setProfile
-
profileId
-
getProfileId
Id of the profile that was published.- Returns:
- profileId
-
setProfileId
-
key
-
getKey
The key that was set.- Returns:
- key
-
setKey
-
value
-
getValue
The value that was stored.- Returns:
- value
-
setValue
-
publishedAt
-
getPublishedAt
ISO-8601 timestamp of the publish.- Returns:
- publishedAt
-
setPublishedAt
-
version
-
getVersion
New KV snapshot version that was shipped.- Returns:
- version
-
setVersion
-
keyCount
-
getKeyCount
Number of keys in the published snapshot.- Returns:
- keyCount
-
setKeyCount
-
changed
-
getChanged
Whether the snapshot's contents actually changed since the last publish.- Returns:
- changed
-
setChanged
-
purged
-
getPurged
CDN purge outcome: `purged` ok, `skipped` (no creds), or `failed` (edge still stale).- Returns:
- purged
-
setPurged
-
kvVerified
-
getKvVerified
Whether a KV read-back confirmed the new version persisted.- Returns:
- kvVerified
-
setKvVerified
-
warning
-
getWarning
Human-readable caveat when the publish landed but is not fully live.- Returns:
- warning
-
setWarning
-
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 SetI18nLabelResponse
-
fromJson
Create an instance of SetI18nLabelResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SetI18nLabelResponse
- Throws:
IOException- if the JSON string is invalid with respect to SetI18nLabelResponse
-
toJson
Convert an instance of SetI18nLabelResponse to an JSON string- Returns:
- JSON string
-