Package ai.reveng.model
Class PatchCommentBody
java.lang.Object
ai.reveng.model.PatchCommentBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PatchCommentBody
extends Object
PatchCommentBody
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PatchCommentBodyCreate an instance of PatchCommentBody given an JSON stringComment textgetLine()Line number to set the comment on minimum: 1inthashCode()voidsetComment(String comment) voidtoJson()Convert an instance of PatchCommentBody 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_COMMENT
- See Also:
-
SERIALIZED_NAME_LINE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PatchCommentBody
public PatchCommentBody()
-
-
Method Details
-
comment
-
getComment
Comment text- Returns:
- comment
-
setComment
-
line
-
getLine
Line number to set the comment on minimum: 1- Returns:
- line
-
setLine
-
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 PatchCommentBody
-
fromJson
Create an instance of PatchCommentBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PatchCommentBody
- Throws:
IOException- if the JSON string is invalid with respect to PatchCommentBody
-
toJson
Convert an instance of PatchCommentBody to an JSON string- Returns:
- JSON string
-