@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-09T12:38:06.739118192Z[Etc/UTC]",
comments="Generator version: 7.7.0")
public class ReferenceLines
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReferenceLines.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<java.lang.String> |
openapiFields |
static java.util.HashSet<java.lang.String> |
openapiRequiredFields |
static java.lang.String |
SERIALIZED_NAME_FILE |
static java.lang.String |
SERIALIZED_NAME_FILE_URL |
static java.lang.String |
SERIALIZED_NAME_POST_LINES |
static java.lang.String |
SERIALIZED_NAME_PRE_LINES |
static java.lang.String |
SERIALIZED_NAME_REFERENCE_LINE |
| Constructor and Description |
|---|
ReferenceLines() |
| Modifier and Type | Method and Description |
|---|---|
ReferenceLines |
_file(java.lang.String _file) |
ReferenceLines |
addPostLinesItem(ReferenceLine postLinesItem) |
ReferenceLines |
addPreLinesItem(ReferenceLine preLinesItem) |
boolean |
equals(java.lang.Object o) |
ReferenceLines |
fileUrl(java.lang.String fileUrl) |
static ReferenceLines |
fromJson(java.lang.String jsonString)
Create an instance of ReferenceLines given an JSON string
|
java.lang.String |
getFile()
The file's name in where the code reference has been found.
|
java.lang.String |
getFileUrl()
The file's url.
|
java.util.List<ReferenceLine> |
getPostLines()
The lines after the actual reference line.
|
java.util.List<ReferenceLine> |
getPreLines()
The lines before the actual reference line.
|
ReferenceLine |
getReferenceLine()
Get referenceLine
|
int |
hashCode() |
ReferenceLines |
postLines(java.util.List<ReferenceLine> postLines) |
ReferenceLines |
preLines(java.util.List<ReferenceLine> preLines) |
ReferenceLines |
referenceLine(ReferenceLine referenceLine) |
void |
setFile(java.lang.String _file) |
void |
setFileUrl(java.lang.String fileUrl) |
void |
setPostLines(java.util.List<ReferenceLine> postLines) |
void |
setPreLines(java.util.List<ReferenceLine> preLines) |
void |
setReferenceLine(ReferenceLine referenceLine) |
java.lang.String |
toJson()
Convert an instance of ReferenceLines to an JSON string
|
java.lang.String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final java.lang.String SERIALIZED_NAME_FILE
public static final java.lang.String SERIALIZED_NAME_FILE_URL
public static final java.lang.String SERIALIZED_NAME_PRE_LINES
public static final java.lang.String SERIALIZED_NAME_POST_LINES
public static final java.lang.String SERIALIZED_NAME_REFERENCE_LINE
public static java.util.HashSet<java.lang.String> openapiFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
public ReferenceLines _file(java.lang.String _file)
@Nonnull public java.lang.String getFile()
public void setFile(java.lang.String _file)
public ReferenceLines fileUrl(java.lang.String fileUrl)
@Nullable public java.lang.String getFileUrl()
public void setFileUrl(java.lang.String fileUrl)
public ReferenceLines preLines(java.util.List<ReferenceLine> preLines)
public ReferenceLines addPreLinesItem(ReferenceLine preLinesItem)
@Nullable public java.util.List<ReferenceLine> getPreLines()
public void setPreLines(java.util.List<ReferenceLine> preLines)
public ReferenceLines postLines(java.util.List<ReferenceLine> postLines)
public ReferenceLines addPostLinesItem(ReferenceLine postLinesItem)
@Nullable public java.util.List<ReferenceLine> getPostLines()
public void setPostLines(java.util.List<ReferenceLine> postLines)
public ReferenceLines referenceLine(ReferenceLine referenceLine)
@Nonnull public ReferenceLine getReferenceLine()
public void setReferenceLine(ReferenceLine referenceLine)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws java.io.IOException
jsonElement - JSON Elementjava.io.IOException - if the JSON Element is invalid with respect to ReferenceLinespublic static ReferenceLines fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to ReferenceLinespublic java.lang.String toJson()