Package ai.shipeasy.admin.model
Class OpsComment
java.lang.Object
ai.shipeasy.admin.model.OpsComment
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class OpsComment
extends Object
A single comment on a queue item.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorEmail(String authorEmail) authorType(OpsCommentAuthorType authorType) booleanfeedbackId(String feedbackId) static OpsCommentCreate an instance of OpsComment given an JSON stringThe teammate who wrote it, or `null` for a `system` (Jarvis) comment.Get authorTypegetBody()Comment body as markdown (may contain sanitised inline image/video embeds).ISO-8601 creation timestamp.The queue item this comment hangs off.getId()Comment id.The top-level comment this is a reply to, or `null` for a top-level comment.ISO-8601 last-edit timestamp.inthashCode()voidsetAuthorEmail(String authorEmail) voidsetAuthorType(OpsCommentAuthorType authorType) voidvoidsetCreatedAt(String createdAt) voidsetFeedbackId(String feedbackId) voidvoidsetParentId(String parentId) voidsetUpdatedAt(String updatedAt) toJson()Convert an instance of OpsComment 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_FEEDBACK_ID
- See Also:
-
SERIALIZED_NAME_PARENT_ID
- See Also:
-
SERIALIZED_NAME_AUTHOR_TYPE
- See Also:
-
SERIALIZED_NAME_AUTHOR_EMAIL
- See Also:
-
SERIALIZED_NAME_BODY
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
OpsComment
public OpsComment()
-
-
Method Details
-
id
-
getId
Comment id.- Returns:
- id
-
setId
-
feedbackId
-
getFeedbackId
The queue item this comment hangs off.- Returns:
- feedbackId
-
setFeedbackId
-
parentId
-
getParentId
The top-level comment this is a reply to, or `null` for a top-level comment.- Returns:
- parentId
-
setParentId
-
authorType
-
getAuthorType
Get authorType- Returns:
- authorType
-
setAuthorType
-
authorEmail
-
getAuthorEmail
The teammate who wrote it, or `null` for a `system` (Jarvis) comment.- Returns:
- authorEmail
-
setAuthorEmail
-
body
-
getBody
Comment body as markdown (may contain sanitised inline image/video embeds).- Returns:
- body
-
setBody
-
createdAt
-
getCreatedAt
ISO-8601 creation timestamp.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
ISO-8601 last-edit timestamp.- Returns:
- updatedAt
-
setUpdatedAt
-
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 OpsComment
-
fromJson
Create an instance of OpsComment given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OpsComment
- Throws:
IOException- if the JSON string is invalid with respect to OpsComment
-
toJson
Convert an instance of OpsComment to an JSON string- Returns:
- JSON string
-