Package ai.shipeasy.admin.model
Class PublishI18nProfileRequest
java.lang.Object
ai.shipeasy.admin.model.PublishI18nProfileRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class PublishI18nProfileRequest
extends Object
Body for `POST /api/admin/i18n/profiles/{profileId}/publish`. The `chunk` is an audit label only.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PublishI18nProfileRequestCreate an instance of PublishI18nProfileRequest given an JSON stringgetChunk()Optional chunk label to stamp on the audit log.inthashCode()voidtoJson()Convert an instance of PublishI18nProfileRequest 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_CHUNK
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PublishI18nProfileRequest
public PublishI18nProfileRequest()
-
-
Method Details
-
chunk
-
getChunk
Optional chunk label to stamp on the audit log. Publishing is profile-wide regardless — the whole profile is snapshotted into one KV blob.- 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 PublishI18nProfileRequest
-
fromJson
Create an instance of PublishI18nProfileRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PublishI18nProfileRequest
- Throws:
IOException- if the JSON string is invalid with respect to PublishI18nProfileRequest
-
toJson
Convert an instance of PublishI18nProfileRequest to an JSON string- Returns:
- JSON string
-