Package org.openapitools.client.model
Class SingleQueuedChunkResponse
- java.lang.Object
-
- org.openapitools.client.model.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSingleQueuedChunkResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CHUNK_METADATAstatic StringSERIALIZED_NAME_POS_IN_QUEUE
-
Constructor Summary
Constructors Constructor Description SingleQueuedChunkResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SingleQueuedChunkResponsechunkMetadata(ChunkMetadata chunkMetadata)booleanequals(Object o)static SingleQueuedChunkResponsefromJson(String jsonString)Create an instance of SingleQueuedChunkResponse given an JSON string@NotNull @Valid ChunkMetadatagetChunkMetadata()Get chunkMetadata@NotNull IntegergetPosInQueue()The current position the last access item is in the queueinthashCode()SingleQueuedChunkResponseposInQueue(Integer posInQueue)voidsetChunkMetadata(ChunkMetadata chunkMetadata)voidsetPosInQueue(Integer posInQueue)StringtoJson()Convert an instance of SingleQueuedChunkResponse to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CHUNK_METADATA
public static final String SERIALIZED_NAME_CHUNK_METADATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_POS_IN_QUEUE
public static final String SERIALIZED_NAME_POS_IN_QUEUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
chunkMetadata
public SingleQueuedChunkResponse chunkMetadata(ChunkMetadata chunkMetadata)
-
getChunkMetadata
@Nonnull @NotNull @Valid public @NotNull @Valid ChunkMetadata getChunkMetadata()
Get chunkMetadata- Returns:
- chunkMetadata
-
setChunkMetadata
public void setChunkMetadata(ChunkMetadata chunkMetadata)
-
posInQueue
public SingleQueuedChunkResponse posInQueue(Integer posInQueue)
-
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)
-
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 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
-
-