Class 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
    • Constructor Detail

      • SearchChunkQueryResponseBody

        public SearchChunkQueryResponseBody()
    • Method Detail

      • getScoreChunks

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid List<@Valid ScoreChunkDTO> getScoreChunks()
        Get scoreChunks
        Returns:
        scoreChunks
      • setScoreChunks

        public void setScoreChunks​(List<@Valid ScoreChunkDTO> scoreChunks)
      • getTotalChunkPages

        @Nonnull
        @NotNull
        public @NotNull Long getTotalChunkPages()
        Get totalChunkPages
        Returns:
        totalChunkPages
      • setTotalChunkPages

        public void setTotalChunkPages​(Long totalChunkPages)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        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 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