Package ai.shipeasy.admin.model
Class ListOpsCommentsResponse
java.lang.Object
ai.shipeasy.admin.model.ListOpsCommentsResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ListOpsCommentsResponse
extends Object
Response for `GET /api/admin/ops/{handle}/comments` — the thread, oldest first.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCommentsItem(OpsComment commentsItem) comments(List<OpsComment> comments) booleanstatic ListOpsCommentsResponseCreate an instance of ListOpsCommentsResponse given an JSON stringGet commentsinthashCode()voidsetComments(List<OpsComment> comments) toJson()Convert an instance of ListOpsCommentsResponse 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_COMMENTS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListOpsCommentsResponse
public ListOpsCommentsResponse()
-
-
Method Details
-
comments
-
addCommentsItem
-
getComments
Get comments- Returns:
- comments
-
setComments
-
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 ListOpsCommentsResponse
-
fromJson
Create an instance of ListOpsCommentsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListOpsCommentsResponse
- Throws:
IOException- if the JSON string is invalid with respect to ListOpsCommentsResponse
-
toJson
Convert an instance of ListOpsCommentsResponse to an JSON string- Returns:
- JSON string
-