Package ai.shipeasy.admin.model
Class ListI18nDraftsResponseInner
java.lang.Object
ai.shipeasy.admin.model.ListI18nDraftsResponseInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ListI18nDraftsResponseInner
extends Object
One staged translation draft.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumLifecycle state of the draft. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ListI18nDraftsResponseInnerCreate an instance of ListI18nDraftsResponseInner given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.ISO-8601 timestamp of creation.Actor email that created the draft.getId()Stable opaque draft id.getName()Draft name, e.g.Profile the draft targets.ISO-8601 merge/publish timestamp, or `null`.Profile the draft was seeded from, or `null`.Lifecycle state of the draft.inthashCode()publishedAt(String publishedAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(String createdAt) voidsetCreatedBy(String createdBy) voidvoidvoidsetProfileId(String profileId) voidsetPublishedAt(String publishedAt) voidsetSourceProfileId(String sourceProfileId) voidsourceProfileId(String sourceProfileId) toJson()Convert an instance of ListI18nDraftsResponseInner 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_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_PROFILE_ID
- See Also:
-
SERIALIZED_NAME_SOURCE_PROFILE_ID
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_CREATED_BY
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_PUBLISHED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListI18nDraftsResponseInner
public ListI18nDraftsResponseInner()
-
-
Method Details
-
id
-
getId
Stable opaque draft id.- Returns:
- id
-
setId
-
name
-
getName
Draft name, e.g. the target locale being staged.- Returns:
- name
-
setName
-
profileId
-
getProfileId
Profile the draft targets.- Returns:
- profileId
-
setProfileId
-
sourceProfileId
-
getSourceProfileId
Profile the draft was seeded from, or `null`.- Returns:
- sourceProfileId
-
setSourceProfileId
-
status
-
getStatus
Lifecycle state of the draft.- Returns:
- status
-
setStatus
-
createdBy
-
getCreatedBy
Actor email that created the draft.- Returns:
- createdBy
-
setCreatedBy
-
createdAt
-
getCreatedAt
ISO-8601 timestamp of creation.- Returns:
- createdAt
-
setCreatedAt
-
publishedAt
-
getPublishedAt
ISO-8601 merge/publish timestamp, or `null`.- Returns:
- publishedAt
-
setPublishedAt
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the ListI18nDraftsResponseInner instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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 ListI18nDraftsResponseInner
-
fromJson
Create an instance of ListI18nDraftsResponseInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListI18nDraftsResponseInner
- Throws:
IOException- if the JSON string is invalid with respect to ListI18nDraftsResponseInner
-
toJson
Convert an instance of ListI18nDraftsResponseInner to an JSON string- Returns:
- JSON string
-