Class Hardware


  • public class Hardware
    extends Object
    Hardware
    • Field Detail

      • SERIALIZED_NAME_DISPLAY_MAXIMUM_BACK_LIGHT

        public static final String SERIALIZED_NAME_DISPLAY_MAXIMUM_BACK_LIGHT
        See Also:
        Constant Field Values
      • openapiRequiredFields

        public static HashSet<String> openapiRequiredFields
    • Constructor Detail

      • Hardware

        public Hardware()
    • Method Detail

      • displayMaximumBackLight

        public Hardware displayMaximumBackLight​(Integer displayMaximumBackLight)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        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 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