Class SingleQueuedChunkResponse


  • @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 SingleQueuedChunkResponse
    extends Object
    SingleQueuedChunkResponse
    • Constructor Detail

      • SingleQueuedChunkResponse

        public SingleQueuedChunkResponse()
    • Method Detail

      • getChunkMetadata

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid ChunkMetadata getChunkMetadata()
        Get chunkMetadata
        Returns:
        chunkMetadata
      • setChunkMetadata

        public void setChunkMetadata​(ChunkMetadata chunkMetadata)
      • getPosInQueue

        @Nonnull
        @NotNull
        public @NotNull Integer getPosInQueue()
        The current position the last access item is in the queue
        Returns:
        posInQueue
      • setPosInQueue

        public void setPosInQueue​(Integer posInQueue)
      • 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 SingleQueuedChunkResponse
      • fromJson

        public static SingleQueuedChunkResponse fromJson​(String jsonString)
                                                  throws IOException
        Create an instance of SingleQueuedChunkResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of SingleQueuedChunkResponse
        Throws:
        IOException - if the JSON string is invalid with respect to SingleQueuedChunkResponse
      • toJson

        public String toJson()
        Convert an instance of SingleQueuedChunkResponse to an JSON string
        Returns:
        JSON string