Package com.adyen.model.management
Class ReleaseUpdateDetails
- java.lang.Object
-
- com.adyen.model.management.ReleaseUpdateDetails
-
public class ReleaseUpdateDetails extends Object
ReleaseUpdateDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReleaseUpdateDetails.CustomTypeAdapterFactorystatic classReleaseUpdateDetails.TypeEnumType of terminal action: Update Release.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_UPDATE_AT_FIRST_MAINTENANCE_CALL
-
Constructor Summary
Constructors Constructor Description ReleaseUpdateDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ReleaseUpdateDetailsfromJson(String jsonString)Create an instance of ReleaseUpdateDetails given an JSON stringReleaseUpdateDetails.TypeEnumgetType()Type of terminal action: Update Release.BooleangetUpdateAtFirstMaintenanceCall()Boolean flag that tells if the terminal should update at the first next maintenance call.inthashCode()voidsetType(ReleaseUpdateDetails.TypeEnum type)voidsetUpdateAtFirstMaintenanceCall(Boolean updateAtFirstMaintenanceCall)StringtoJson()Convert an instance of ReleaseUpdateDetails to an JSON stringStringtoString()ReleaseUpdateDetailstype(ReleaseUpdateDetails.TypeEnum type)ReleaseUpdateDetailsupdateAtFirstMaintenanceCall(Boolean updateAtFirstMaintenanceCall)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATE_AT_FIRST_MAINTENANCE_CALL
public static final String SERIALIZED_NAME_UPDATE_AT_FIRST_MAINTENANCE_CALL
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public ReleaseUpdateDetails type(ReleaseUpdateDetails.TypeEnum type)
-
getType
public ReleaseUpdateDetails.TypeEnum getType()
Type of terminal action: Update Release.- Returns:
- type
-
setType
public void setType(ReleaseUpdateDetails.TypeEnum type)
-
updateAtFirstMaintenanceCall
public ReleaseUpdateDetails updateAtFirstMaintenanceCall(Boolean updateAtFirstMaintenanceCall)
-
getUpdateAtFirstMaintenanceCall
public Boolean getUpdateAtFirstMaintenanceCall()
Boolean flag that tells if the terminal should update at the first next maintenance call. If false, terminal will update on its configured reboot time.- Returns:
- updateAtFirstMaintenanceCall
-
setUpdateAtFirstMaintenanceCall
public void setUpdateAtFirstMaintenanceCall(Boolean updateAtFirstMaintenanceCall)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates 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 ReleaseUpdateDetails
-
fromJson
public static ReleaseUpdateDetails fromJson(String jsonString) throws IOException
Create an instance of ReleaseUpdateDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReleaseUpdateDetails
- Throws:
IOException- if the JSON string is invalid with respect to ReleaseUpdateDetails
-
toJson
public String toJson()
Convert an instance of ReleaseUpdateDetails to an JSON string- Returns:
- JSON string
-
-