Package ai.reveng.model
Class RelativeBinaryResponse
java.lang.Object
ai.reveng.model.RelativeBinaryResponse
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RelativeBinaryResponse
extends Object
RelativeBinaryResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RelativeBinaryResponseCreate an instance of RelativeBinaryResponse given an JSON stringID of the relative binarygetName()Name of the relative binarySHA256 hash of the relative binaryinthashCode()voidsetBinaryId(Integer binaryId) voidvoidtoJson()Convert an instance of RelativeBinaryResponse 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_BINARY_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_SHA256
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RelativeBinaryResponse
public RelativeBinaryResponse()
-
-
Method Details
-
binaryId
-
getBinaryId
ID of the relative binary- Returns:
- binaryId
-
setBinaryId
-
name
-
getName
Name of the relative binary- Returns:
- name
-
setName
-
sha256
-
getSha256
SHA256 hash of the relative binary- Returns:
- sha256
-
setSha256
-
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 RelativeBinaryResponse
-
fromJson
Create an instance of RelativeBinaryResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RelativeBinaryResponse
- Throws:
IOException- if the JSON string is invalid with respect to RelativeBinaryResponse
-
toJson
Convert an instance of RelativeBinaryResponse to an JSON string- Returns:
- JSON string
-