swagger_server/models/mqtt.py
def qos(self, qos: int):
        """Sets the qos of this MQTT.


        :param qos: The qos of this MQTT.
        :type qos: int
        """
        if qos is not None and qos > 2:  # noqa: E501
            raise ValueError("Invalid value for `qos`, must be a value less than or equal to `2`")  # noqa: E501
        if qos is not None and qos < 0:  # noqa: E501
            raise ValueError("Invalid value for `qos`, must be a value greater than or equal to `0`")  # noqa: E501

        self._qos = qos
Sets the qos of this MQTT.


        :param qos: The qos of this MQTT.
        :type qos: int
        
Sets the qos of this MQTT.
Sets the qos of this MQTT .
def qos(self, qos: int):
        if qos is not None and qos > 2:  
            raise ValueError("Invalid value for `qos`, must be a value less than or equal to `2`")  
        if qos is not None and qos < 0:  
            raise ValueError("Invalid value for `qos`, must be a value greater than or equal to `0`")  
        self._qos = qos
def qos ( self , qos : int ) : if qos is not None and qos > 2 : raise ValueError ( "Invalid value for `qos`, must be a value less than or equal to `2`" ) if qos is not None and qos < 0 : raise ValueError ( "Invalid value for `qos`, must be a value greater than or equal to `0`" ) self . _qos = qos
Sets the qos of this MQTT.
Sets the qos of this MQTT .
"""Sets the qos of this MQTT.


        :param qos: The qos of this MQTT.
        :type qos: int
        """ # noqa: E501 # noqa: E501 # noqa: E501 # noqa: E501
self
qos
int
The qos of this MQTT.
The qos of this MQTT .