Package org.openapitools.client.model
Class SearchChunkQueryResponseBody
- java.lang.Object
-
- org.openapitools.client.model.SearchChunkQueryResponseBody
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-29T12:34:27.506198300-05:00[America/Chicago]", comments="Generator version: 7.4.0") public class SearchChunkQueryResponseBody extends Object
SearchChunkQueryResponseBody
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchChunkQueryResponseBody.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_SCORE_CHUNKSstatic StringSERIALIZED_NAME_TOTAL_CHUNK_PAGES
-
Constructor Summary
Constructors Constructor Description SearchChunkQueryResponseBody()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchChunkQueryResponseBodyaddScoreChunksItem(ScoreChunkDTO scoreChunksItem)booleanequals(Object o)static SearchChunkQueryResponseBodyfromJson(String jsonString)Create an instance of SearchChunkQueryResponseBody given an JSON string@NotNull @Valid List<@Valid ScoreChunkDTO>getScoreChunks()Get scoreChunks@NotNull LonggetTotalChunkPages()Get totalChunkPagesinthashCode()SearchChunkQueryResponseBodyscoreChunks(List<@Valid ScoreChunkDTO> scoreChunks)voidsetScoreChunks(List<@Valid ScoreChunkDTO> scoreChunks)voidsetTotalChunkPages(Long totalChunkPages)StringtoJson()Convert an instance of SearchChunkQueryResponseBody to an JSON stringStringtoString()SearchChunkQueryResponseBodytotalChunkPages(Long totalChunkPages)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_SCORE_CHUNKS
public static final String SERIALIZED_NAME_SCORE_CHUNKS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTAL_CHUNK_PAGES
public static final String SERIALIZED_NAME_TOTAL_CHUNK_PAGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
scoreChunks
public SearchChunkQueryResponseBody scoreChunks(List<@Valid ScoreChunkDTO> scoreChunks)
-
addScoreChunksItem
public SearchChunkQueryResponseBody addScoreChunksItem(ScoreChunkDTO scoreChunksItem)
-
getScoreChunks
@Nonnull @NotNull @Valid public @NotNull @Valid List<@Valid ScoreChunkDTO> getScoreChunks()
Get scoreChunks- Returns:
- scoreChunks
-
setScoreChunks
public void setScoreChunks(List<@Valid ScoreChunkDTO> scoreChunks)
-
totalChunkPages
public SearchChunkQueryResponseBody totalChunkPages(Long totalChunkPages)
-
getTotalChunkPages
@Nonnull @NotNull public @NotNull Long getTotalChunkPages()
Get totalChunkPages- Returns:
- totalChunkPages
-
setTotalChunkPages
public void setTotalChunkPages(Long totalChunkPages)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates 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 SearchChunkQueryResponseBody
-
fromJson
public static SearchChunkQueryResponseBody fromJson(String jsonString) throws IOException
Create an instance of SearchChunkQueryResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SearchChunkQueryResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to SearchChunkQueryResponseBody
-
toJson
public String toJson()
Convert an instance of SearchChunkQueryResponseBody to an JSON string- Returns:
- JSON string
-
-