Return new instance of ApiClient. This method returns newly created, based on default constructor, object of ApiClient class or returns a copy of default ApiClient. :return: The ApiClient object.
(cls)
| 88 | |
| 89 | @classmethod |
| 90 | def get_default(cls): |
| 91 | """Return new instance of ApiClient. |
| 92 | |
| 93 | This method returns newly created, based on default constructor, |
| 94 | object of ApiClient class or returns a copy of default |
| 95 | ApiClient. |
| 96 | |
| 97 | :return: The ApiClient object. |
| 98 | """ |
| 99 | if cls._default is None: |
| 100 | cls._default = ApiClient() |
| 101 | return cls._default |
| 102 | |
| 103 | @classmethod |
| 104 | def set_default(cls, default): |
no test coverage detected