def set_availability(self, availability):
        """
        Set the maximum lease period in months.
        :param availability:
        """
        if availability >= 5:
            availability = '5%2B'
        self._query_params += str(QueryParam.AVALIABILITY) + str(availability)
def set_availability ( self , availability ) : if availability >= 5 : availability = '5%2B' self . _query_params += str ( QueryParam . AVALIABILITY ) + str ( availability )
Set the maximum lease period in months.
        :param availability: