Package ai.shipeasy.admin.model
Class PublishI18nProfileResponse
java.lang.Object
ai.shipeasy.admin.model.PublishI18nProfileResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class PublishI18nProfileResponse
extends Object
Result of a profile-wide 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 PublishI18nProfileResponseCreate an instance of PublishI18nProfileResponse given an JSON stringWhether the snapshot's contents actually changed since the last publish.getChunk()Audit chunk label, or `null` when none was given.Number of keys in the published snapshot.Whether a KV read-back confirmed the new version persisted.getOk()Always `true` on success.Profile that was published.ISO-8601 timestamp of the publish.CDN purge outcome: `purged` ok, `skipped` (no creds), or `failed` (edge still stale).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) voidvoidsetProfileId(String profileId) voidsetPublishedAt(String publishedAt) voidvoidsetVersion(String version) voidsetWarning(String warning) toJson()Convert an instance of PublishI18nProfileResponse 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_ID
- See Also:
-
SERIALIZED_NAME_CHUNK
- 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
-
PublishI18nProfileResponse
public PublishI18nProfileResponse()
-
-
Method Details
-
ok
-
getOk
Always `true` on success.- Returns:
- ok
-
setOk
-
profileId
-
getProfileId
Profile that was published.- Returns:
- profileId
-
setProfileId
-
chunk
-
getChunk
Audit chunk label, or `null` when none was given.- Returns:
- chunk
-
setChunk
-
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 PublishI18nProfileResponse
-
fromJson
Create an instance of PublishI18nProfileResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PublishI18nProfileResponse
- Throws:
IOException- if the JSON string is invalid with respect to PublishI18nProfileResponse
-
toJson
Convert an instance of PublishI18nProfileResponse to an JSON string- Returns:
- JSON string
-