Package com.adyen.model.management
Class Hardware
- java.lang.Object
-
- com.adyen.model.management.Hardware
-
public class Hardware extends Object
Hardware
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHardware.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DISPLAY_MAXIMUM_BACK_LIGHT
-
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)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.inthashCode()voidsetDisplayMaximumBackLight(Integer displayMaximumBackLight)StringtoJson()Convert an instance of Hardware to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
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)
-
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 Hardware
-
fromJson
public static Hardware fromJson(String jsonString) throws IOException
Create an instance of Hardware given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Hardware
- Throws:
IOException- if the JSON string is invalid with respect to Hardware
-
toJson
public String toJson()
Convert an instance of Hardware to an JSON string- Returns:
- JSON string
-
-