Package ai.reveng.model
Class QueuePositionResponse
java.lang.Object
ai.reveng.model.QueuePositionResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class QueuePositionResponse
extends Object
QueuePositionResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic QueuePositionResponseCreate an instance of QueuePositionResponse given an JSON stringA URL to the JSON Schema for this object.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Number of Processing analyses ahead of this one in the queue.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.queuePosition(Long queuePosition) voidsetQueuePosition(Long queuePosition) toJson()Convert an instance of QueuePositionResponse to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_$_SCHEMA
- See Also:
-
SERIALIZED_NAME_QUEUE_POSITION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
QueuePositionResponse
public QueuePositionResponse() -
QueuePositionResponse
-
-
Method Details
-
get$Schema
A URL to the JSON Schema for this object.- Returns:
- $schema
-
queuePosition
-
getQueuePosition
Number of Processing analyses ahead of this one in the queue. 0 if this analysis is not Processing or has no analyses ahead of it.- Returns:
- queuePosition
-
setQueuePosition
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the QueuePositionResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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 QueuePositionResponse
-
fromJson
Create an instance of QueuePositionResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of QueuePositionResponse
- Throws:
IOException- if the JSON string is invalid with respect to QueuePositionResponse
-
toJson
Convert an instance of QueuePositionResponse to an JSON string- Returns:
- JSON string
-