Class Hardware


  • public class Hardware
    extends Object
    Hardware
    • 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)
      • getRestartHour

        public Integer getRestartHour()
        The hour (0 - 23) in which the device will reboot, reboot will happen in the timezone of the device
        Returns:
        restartHour
      • setRestartHour

        public void setRestartHour​(Integer restartHour)
      • equals

        public boolean equals​(Object o)
        Return true if this Hardware object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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