Package com.adyen.model.management
Class Hardware
- java.lang.Object
-
- com.adyen.model.management.Hardware
-
public class Hardware extends Object
Hardware
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DISPLAY_MAXIMUM_BACK_LIGHTstatic StringJSON_PROPERTY_RESTART_HOUR
-
Constructor Summary
Constructors Constructor Description Hardware()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HardwaredisplayMaximumBackLight(Integer displayMaximumBackLight)booleanequals(Object o)Return true if this Hardware object is equal to o.static HardwarefromJson(String jsonString)Create an instance of Hardware given an JSON stringIntegergetDisplayMaximumBackLight()The brightness of the display when the terminal is being used, expressed as a percentage.IntegergetRestartHour()The hour of the day when the terminal is set to reboot to apply the configuration and software updates.inthashCode()HardwarerestartHour(Integer restartHour)voidsetDisplayMaximumBackLight(Integer displayMaximumBackLight)voidsetRestartHour(Integer restartHour)StringtoJson()Convert an instance of Hardware to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_DISPLAY_MAXIMUM_BACK_LIGHT
public static final String JSON_PROPERTY_DISPLAY_MAXIMUM_BACK_LIGHT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESTART_HOUR
public static final String JSON_PROPERTY_RESTART_HOUR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDisplayMaximumBackLight
public Integer getDisplayMaximumBackLight()
The brightness of the display when the terminal is being used, expressed as a percentage.- Returns:
- displayMaximumBackLight
-
setDisplayMaximumBackLight
public void setDisplayMaximumBackLight(Integer displayMaximumBackLight)
-
getRestartHour
public Integer getRestartHour()
The hour of the day when the terminal is set to reboot to apply the configuration and software updates. By default, the restart hour is at 6:00 AM in the timezone of the terminal Minimum vaoue: 0, maximum value: 23.- Returns:
- restartHour
-
setRestartHour
public void setRestartHour(Integer restartHour)
-
equals
public boolean equals(Object o)
Return true if this Hardware object is equal to o.
-
fromJson
public static Hardware fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of Hardware given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Hardware
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to Hardware
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of Hardware to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-