|
| 1 | +diff --git a/python/docs/IntOrString.md b/python/docs/IntOrString.md |
| 2 | +index ef3be07..e4c51e9 100644 |
| 3 | +--- a/python/docs/IntOrString.md |
| 4 | ++++ b/python/docs/IntOrString.md |
| 5 | +@@ -3,9 +3,6 @@ |
| 6 | + ## Properties |
| 7 | + Name | Type | Description | Notes |
| 8 | + ------------ | ------------- | ------------- | ------------- |
| 9 | +-**int_val** | **int** | | [optional] |
| 10 | +-**str_val** | **str** | | [optional] |
| 11 | +-**type** | [**Type**](Type.md) | | [optional] |
| 12 | + |
| 13 | + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) |
| 14 | + |
| 15 | +diff --git a/python/seldon_deploy_sdk/models/int_or_string.py b/python/seldon_deploy_sdk/models/int_or_string.py |
| 16 | +index e9c49bc..182fadf 100644 |
| 17 | +--- a/python/seldon_deploy_sdk/models/int_or_string.py |
| 18 | ++++ b/python/seldon_deploy_sdk/models/int_or_string.py |
| 19 | +@@ -31,95 +31,15 @@ class IntOrString(object): |
| 20 | + and the value is json key in definition. |
| 21 | + """ |
| 22 | + swagger_types = { |
| 23 | +- 'int_val': 'int', |
| 24 | +- 'str_val': 'str', |
| 25 | +- 'type': 'Type' |
| 26 | + } |
| 27 | + |
| 28 | + attribute_map = { |
| 29 | +- 'int_val': 'IntVal', |
| 30 | +- 'str_val': 'StrVal', |
| 31 | +- 'type': 'Type' |
| 32 | + } |
| 33 | + |
| 34 | +- def __init__(self, int_val=None, str_val=None, type=None): # noqa: E501 |
| 35 | ++ def __init__(self): # noqa: E501 |
| 36 | + """IntOrString - a model defined in Swagger""" # noqa: E501 |
| 37 | +- |
| 38 | +- self._int_val = None |
| 39 | +- self._str_val = None |
| 40 | +- self._type = None |
| 41 | + self.discriminator = None |
| 42 | + |
| 43 | +- if int_val is not None: |
| 44 | +- self.int_val = int_val |
| 45 | +- if str_val is not None: |
| 46 | +- self.str_val = str_val |
| 47 | +- if type is not None: |
| 48 | +- self.type = type |
| 49 | +- |
| 50 | +- @property |
| 51 | +- def int_val(self): |
| 52 | +- """Gets the int_val of this IntOrString. # noqa: E501 |
| 53 | +- |
| 54 | +- |
| 55 | +- :return: The int_val of this IntOrString. # noqa: E501 |
| 56 | +- :rtype: int |
| 57 | +- """ |
| 58 | +- return self._int_val |
| 59 | +- |
| 60 | +- @int_val.setter |
| 61 | +- def int_val(self, int_val): |
| 62 | +- """Sets the int_val of this IntOrString. |
| 63 | +- |
| 64 | +- |
| 65 | +- :param int_val: The int_val of this IntOrString. # noqa: E501 |
| 66 | +- :type: int |
| 67 | +- """ |
| 68 | +- |
| 69 | +- self._int_val = int_val |
| 70 | +- |
| 71 | +- @property |
| 72 | +- def str_val(self): |
| 73 | +- """Gets the str_val of this IntOrString. # noqa: E501 |
| 74 | +- |
| 75 | +- |
| 76 | +- :return: The str_val of this IntOrString. # noqa: E501 |
| 77 | +- :rtype: str |
| 78 | +- """ |
| 79 | +- return self._str_val |
| 80 | +- |
| 81 | +- @str_val.setter |
| 82 | +- def str_val(self, str_val): |
| 83 | +- """Sets the str_val of this IntOrString. |
| 84 | +- |
| 85 | +- |
| 86 | +- :param str_val: The str_val of this IntOrString. # noqa: E501 |
| 87 | +- :type: str |
| 88 | +- """ |
| 89 | +- |
| 90 | +- self._str_val = str_val |
| 91 | +- |
| 92 | +- @property |
| 93 | +- def type(self): |
| 94 | +- """Gets the type of this IntOrString. # noqa: E501 |
| 95 | +- |
| 96 | +- |
| 97 | +- :return: The type of this IntOrString. # noqa: E501 |
| 98 | +- :rtype: Type |
| 99 | +- """ |
| 100 | +- return self._type |
| 101 | +- |
| 102 | +- @type.setter |
| 103 | +- def type(self, type): |
| 104 | +- """Sets the type of this IntOrString. |
| 105 | +- |
| 106 | +- |
| 107 | +- :param type: The type of this IntOrString. # noqa: E501 |
| 108 | +- :type: Type |
| 109 | +- """ |
| 110 | +- |
| 111 | +- self._type = type |
| 112 | +- |
| 113 | + def to_dict(self): |
| 114 | + """Returns the model properties as a dict""" |
| 115 | + result = {} |
0 commit comments