Package ai.reveng.model
Class CommentsData
java.lang.Object
ai.reveng.model.CommentsData
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class CommentsData
extends Object
CommentsData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumTask status -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddInlineCommentsItem(InlineComment inlineCommentsItem) booleanstatic CommentsDataCreate an instance of CommentsData given an JSON stringStructured inline comments with line numbersTask statusinthashCode()inlineComments(List<InlineComment> inlineComments) voidsetInlineComments(List<InlineComment> inlineComments) voidsetTaskStatus(CommentsData.TaskStatusEnum taskStatus) taskStatus(CommentsData.TaskStatusEnum taskStatus) toJson()Convert an instance of CommentsData 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_INLINE_COMMENTS
- See Also:
-
SERIALIZED_NAME_TASK_STATUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CommentsData
public CommentsData()
-
-
Method Details
-
inlineComments
-
addInlineCommentsItem
-
getInlineComments
Structured inline comments with line numbers- Returns:
- inlineComments
-
setInlineComments
-
taskStatus
-
getTaskStatus
Task status- Returns:
- taskStatus
-
setTaskStatus
-
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 CommentsData
-
fromJson
Create an instance of CommentsData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CommentsData
- Throws:
IOException- if the JSON string is invalid with respect to CommentsData
-
toJson
Convert an instance of CommentsData to an JSON string- Returns:
- JSON string
-