Package ai.shipeasy.admin.model
Class CreateOpsCommentResponse
java.lang.Object
ai.shipeasy.admin.model.CreateOpsCommentResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CreateOpsCommentResponse
extends Object
Response for `POST /api/admin/ops/{handle}/comments`.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateOpsCommentResponseCreate an instance of CreateOpsCommentResponse given an JSON stringgetId()Newly created comment id.inthashCode()voidtoJson()Convert an instance of CreateOpsCommentResponse 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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateOpsCommentResponse
public CreateOpsCommentResponse()
-
-
Method Details
-
id
-
getId
Newly created comment id.- Returns:
- id
-
setId
-
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 CreateOpsCommentResponse
-
fromJson
Create an instance of CreateOpsCommentResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateOpsCommentResponse
- Throws:
IOException- if the JSON string is invalid with respect to CreateOpsCommentResponse
-
toJson
Convert an instance of CreateOpsCommentResponse to an JSON string- Returns:
- JSON string
-