ats_utilities.info.ats_licence module

Module
ats_licence.py
Copyright
Copyright (C) 2017 Vladimir Roncevic <elektron.ronca@gmail.com> ats_utilities is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ats_utilities is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Info
Defined class ATSLicence with attribute(s) and method(s). Created API for ATS licence in one property object.
class ats_utilities.info.ats_licence.ATSLicence(verbose=False)[source]

Bases: object

Defined class ATSLicence with attribute(s) and method(s). Created API for ATS licence in one property object. It defines:

attributes:
__verbose - enable/disable verbose option.
__licence - ATS licence.
methods:
__init__ - initial constructor.
name - property methods for set/get operations.
is_not_none - checking is ATS licence None.
__str__ - str dunder method for ATSLicence.
VERBOSE = 'ats_utilities::info::ats_licence'
is_not_none()[source]

Checking is ATS licence None.

Returns:boolean status, True | False.
Return type:<bool>
Exceptions:None
licence

Property method for getting ATS licence.

Returns:ATS licence | None.
Return type:<str> | <NoneType>
Exceptions:None