Package com.redhat.parodos.sdk.model
Class ArgumentRequestDTO
java.lang.Object
com.redhat.parodos.sdk.model.ArgumentRequestDTO
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ArgumentRequestDTO
extends Object
ArgumentRequestDTO
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ArgumentRequestDTOCreate an instance of ArgumentRequestDTO given an JSON stringgetKey()Get keygetValue()Get valueinthashCode()voidvoidtoJson()Convert an instance of ArgumentRequestDTO to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_KEY
- See Also:
-
SERIALIZED_NAME_VALUE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ArgumentRequestDTO
public ArgumentRequestDTO()
-
-
Method Details
-
key
-
getKey
Get key- Returns:
- key
-
setKey
-
value
-
getValue
Get value- Returns:
- value
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ArgumentRequestDTO
-
fromJson
Create an instance of ArgumentRequestDTO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ArgumentRequestDTO
- Throws:
IOException- if the JSON string is invalid with respect to ArgumentRequestDTO
-
toJson
Convert an instance of ArgumentRequestDTO to an JSON string- Returns:
- JSON string
-