Class Hardware


  • public class Hardware
    extends Object
    Hardware
    • Constructor Detail

      • Hardware

        public Hardware()
    • Method Detail

      • displayMaximumBackLight

        public Hardware displayMaximumBackLight​(Integer displayMaximumBackLight)
        The brightness of the display when the terminal is being used, expressed as a percentage.
        Parameters:
        displayMaximumBackLight - The brightness of the display when the terminal is being used, expressed as a percentage.
        Returns:
        the current Hardware instance, allowing for method chaining
      • getDisplayMaximumBackLight

        public Integer getDisplayMaximumBackLight()
        The brightness of the display when the terminal is being used, expressed as a percentage.
        Returns:
        displayMaximumBackLight The brightness of the display when the terminal is being used, expressed as a percentage.
      • setDisplayMaximumBackLight

        public void setDisplayMaximumBackLight​(Integer displayMaximumBackLight)
        The brightness of the display when the terminal is being used, expressed as a percentage.
        Parameters:
        displayMaximumBackLight - The brightness of the display when the terminal is being used, expressed as a percentage.
      • resetTotalsHour

        public Hardware resetTotalsHour​(Integer resetTotalsHour)
        The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.
        Parameters:
        resetTotalsHour - The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.
        Returns:
        the current Hardware instance, allowing for method chaining
      • getResetTotalsHour

        public Integer getResetTotalsHour()
        The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.
        Returns:
        resetTotalsHour The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.
      • setResetTotalsHour

        public void setResetTotalsHour​(Integer resetTotalsHour)
        The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.
        Parameters:
        resetTotalsHour - The hour of the day when the terminal is set to reset the Totals report. By default, the reset hour is at 6:00 AM in the timezone of the terminal. Minimum value: 0, maximum value: 23.
      • restartHour

        public Hardware restartHour​(Integer restartHour)
        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 value: 0, maximum value: 23.
        Parameters:
        restartHour - 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 value: 0, maximum value: 23.
        Returns:
        the current Hardware instance, allowing for method chaining
      • 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 value: 0, maximum value: 23.
        Returns:
        restartHour 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 value: 0, maximum value: 23.
      • setRestartHour

        public void setRestartHour​(Integer restartHour)
        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 value: 0, maximum value: 23.
        Parameters:
        restartHour - 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 value: 0, maximum value: 23.
      • includeNullValues

        public Hardware 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 Hardware object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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