Package ai.reveng.model
Class ExternalResponse
java.lang.Object
ai.reveng.model.ExternalResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ExternalResponse
extends Object
ExternalResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ExternalResponseCreate an instance of ExternalResponse given an JSON stringgetData()Get dataGet lastUpdatedGet sha256HashinthashCode()lastUpdated(OffsetDateTime lastUpdated) putDataItem(String key, Object dataItem) voidvoidsetLastUpdated(OffsetDateTime lastUpdated) voidsetSha256Hash(String sha256Hash) sha256Hash(String sha256Hash) toJson()Convert an instance of ExternalResponse 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_SHA256_HASH
- See Also:
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_LAST_UPDATED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ExternalResponse
public ExternalResponse()
-
-
Method Details
-
sha256Hash
-
getSha256Hash
Get sha256Hash- Returns:
- sha256Hash
-
setSha256Hash
-
data
-
putDataItem
-
getData
Get data- Returns:
- data
-
setData
-
lastUpdated
-
getLastUpdated
Get lastUpdated- Returns:
- lastUpdated
-
setLastUpdated
-
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 ExternalResponse
-
fromJson
Create an instance of ExternalResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ExternalResponse
- Throws:
IOException- if the JSON string is invalid with respect to ExternalResponse
-
toJson
Convert an instance of ExternalResponse to an JSON string- Returns:
- JSON string
-