Package com.redhat.parodos.sdk.model
Class AdditionalInfo
java.lang.Object
com.redhat.parodos.sdk.model.AdditionalInfo
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class AdditionalInfo
extends Object
AdditionalInfo
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AdditionalInfoCreate an instance of AdditionalInfo given an JSON stringgetKey()Get keygetValue()Get valueinthashCode()voidvoidtoJson()Convert an instance of AdditionalInfo 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
-
AdditionalInfo
public AdditionalInfo()
-
-
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 AdditionalInfo
-
fromJson
Create an instance of AdditionalInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdditionalInfo
- Throws:
IOException- if the JSON string is invalid with respect to AdditionalInfo
-
toJson
Convert an instance of AdditionalInfo to an JSON string- Returns:
- JSON string
-