Class Timeouts


  • public class Timeouts
    extends Object
    Timeouts
    • Constructor Detail

      • Timeouts

        public Timeouts()
    • Method Detail

      • fromActiveToSleep

        public Timeouts fromActiveToSleep​(Integer fromActiveToSleep)
      • getFromActiveToSleep

        public Integer getFromActiveToSleep()
        Indicates the number of seconds of inactivity after which the terminal display goes into sleep mode.
        Returns:
        fromActiveToSleep
      • setFromActiveToSleep

        public void setFromActiveToSleep​(Integer fromActiveToSleep)
        Indicates the number of seconds of inactivity after which the terminal display goes into sleep mode.
        Parameters:
        fromActiveToSleep -
      • equals

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

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

        public static Timeouts fromJson​(String jsonString)
                                 throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of Timeouts given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Timeouts
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to Timeouts
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of Timeouts to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException