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.TypeEnumType of terminal action: Update Release.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_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)Return true if this ReleaseUpdateDetails object is equal to o.static ReleaseUpdateDetailsfromJson(String jsonString)Create an instance of ReleaseUpdateDetails given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.ReleaseUpdateDetails.TypeEnumgetType()Type of terminal action: Update Release.BooleangetUpdateAtFirstMaintenanceCall()Boolean flag that tells if the terminal should update at the first next maintenance call.inthashCode()ReleaseUpdateDetailsincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetType(ReleaseUpdateDetails.TypeEnum type)Type of terminal action: Update Release.voidsetUpdateAtFirstMaintenanceCall(Boolean updateAtFirstMaintenanceCall)Boolean flag that tells if the terminal should update at the first next maintenance call.StringtoJson()Convert an instance of ReleaseUpdateDetails to an JSON stringStringtoString()ReleaseUpdateDetailstype(ReleaseUpdateDetails.TypeEnum type)Type of terminal action: Update Release.ReleaseUpdateDetailsupdateAtFirstMaintenanceCall(Boolean updateAtFirstMaintenanceCall)Boolean flag that tells if the terminal should update at the first next maintenance call.
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATE_AT_FIRST_MAINTENANCE_CALL
public static final String JSON_PROPERTY_UPDATE_AT_FIRST_MAINTENANCE_CALL
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public ReleaseUpdateDetails type(ReleaseUpdateDetails.TypeEnum type)
Type of terminal action: Update Release.- Parameters:
type- Type of terminal action: Update Release.- Returns:
- the current
ReleaseUpdateDetailsinstance, allowing for method chaining
-
getType
public ReleaseUpdateDetails.TypeEnum getType()
Type of terminal action: Update Release.- Returns:
- type Type of terminal action: Update Release.
-
setType
public void setType(ReleaseUpdateDetails.TypeEnum type)
Type of terminal action: Update Release.- Parameters:
type- Type of terminal action: Update Release.
-
updateAtFirstMaintenanceCall
public ReleaseUpdateDetails updateAtFirstMaintenanceCall(Boolean updateAtFirstMaintenanceCall)
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.- Parameters:
updateAtFirstMaintenanceCall- 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:
- the current
ReleaseUpdateDetailsinstance, allowing for method chaining
-
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 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.
-
setUpdateAtFirstMaintenanceCall
public void setUpdateAtFirstMaintenanceCall(Boolean updateAtFirstMaintenanceCall)
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.- Parameters:
updateAtFirstMaintenanceCall- 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.
-
includeNullValues
public ReleaseUpdateDetails includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this ReleaseUpdateDetails object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static ReleaseUpdateDetails fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ReleaseUpdateDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReleaseUpdateDetails
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ReleaseUpdateDetails
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ReleaseUpdateDetails to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-