Package ai.shipeasy.admin.model
Class PublishConfigDraftResponse
java.lang.Object
ai.shipeasy.admin.model.PublishConfigDraftResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class PublishConfigDraftResponse
extends Object
PublishConfigDraftResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PublishConfigDraftResponseCreate an instance of PublishConfigDraftResponse given an JSON stringgetEnv()Get envgetId()Get idNewly published version on `env`.inthashCode()voidvoidvoidsetVersion(Integer version) toJson()Convert an instance of PublishConfigDraftResponse 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_ENV
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PublishConfigDraftResponse
public PublishConfigDraftResponse()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
env
-
getEnv
Get env- Returns:
- env
-
setEnv
-
version
-
getVersion
Newly published version on `env`. minimum: -9007199254740991 maximum: 9007199254740991- Returns:
- version
-
setVersion
-
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 PublishConfigDraftResponse
-
fromJson
Create an instance of PublishConfigDraftResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PublishConfigDraftResponse
- Throws:
IOException- if the JSON string is invalid with respect to PublishConfigDraftResponse
-
toJson
Convert an instance of PublishConfigDraftResponse to an JSON string- Returns:
- JSON string
-