|
| 1 | +from datetime import date, datetime # noqa: F401 |
| 2 | + |
| 3 | +from typing import List, Dict # noqa: F401 |
| 4 | + |
| 5 | +from samples.models.base_model import Model |
| 6 | +from samples import util |
| 7 | + |
| 8 | + |
| 9 | +class GetDbConnectString200Response(Model): |
| 10 | + """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| 11 | +
|
| 12 | + Do not edit the class manually. |
| 13 | + """ |
| 14 | + |
| 15 | + def __init__(self, connect_string=None): # noqa: E501 |
| 16 | + """GetDbConnectString200Response - a model defined in OpenAPI |
| 17 | +
|
| 18 | + :param connect_string: The connect_string of this GetDbConnectString200Response. # noqa: E501 |
| 19 | + :type connect_string: str |
| 20 | + """ |
| 21 | + self.openapi_types = { |
| 22 | + 'connect_string': str |
| 23 | + } |
| 24 | + |
| 25 | + self.attribute_map = { |
| 26 | + 'connect_string': 'connect_string' |
| 27 | + } |
| 28 | + |
| 29 | + self._connect_string = connect_string |
| 30 | + |
| 31 | + @classmethod |
| 32 | + def from_dict(cls, dikt) -> 'GetDbConnectString200Response': |
| 33 | + """Returns the dict as a model |
| 34 | +
|
| 35 | + :param dikt: A dict. |
| 36 | + :type: dict |
| 37 | + :return: The get_db_connect_string_200_response of this GetDbConnectString200Response. # noqa: E501 |
| 38 | + :rtype: GetDbConnectString200Response |
| 39 | + """ |
| 40 | + return util.deserialize_model(dikt, cls) |
| 41 | + |
| 42 | + @property |
| 43 | + def connect_string(self) -> str: |
| 44 | + """Gets the connect_string of this GetDbConnectString200Response. |
| 45 | +
|
| 46 | +
|
| 47 | + :return: The connect_string of this GetDbConnectString200Response. |
| 48 | + :rtype: str |
| 49 | + """ |
| 50 | + return self._connect_string |
| 51 | + |
| 52 | + @connect_string.setter |
| 53 | + def connect_string(self, connect_string: str): |
| 54 | + """Sets the connect_string of this GetDbConnectString200Response. |
| 55 | +
|
| 56 | +
|
| 57 | + :param connect_string: The connect_string of this GetDbConnectString200Response. |
| 58 | + :type connect_string: str |
| 59 | + """ |
| 60 | + |
| 61 | + self._connect_string = connect_string |
0 commit comments