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 stringA URL to the JSON Schema for this object.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Structured inline comments with line numbersTask statusinthashCode()inlineComments(List<InlineComment> inlineComments) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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_$_SCHEMA
- See Also:
-
SERIALIZED_NAME_INLINE_COMMENTS
- See Also:
-
SERIALIZED_NAME_TASK_STATUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CommentsData
public CommentsData() -
CommentsData
-
-
Method Details
-
get$Schema
A URL to the JSON Schema for this object.- Returns:
- $schema
-
inlineComments
-
addInlineCommentsItem
-
getInlineComments
Structured inline comments with line numbers- Returns:
- inlineComments
-
setInlineComments
-
taskStatus
-
getTaskStatus
Task status- Returns:
- taskStatus
-
setTaskStatus
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the CommentsData instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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
-