Skip to content

Commit 1edc40d

Browse files
Automated update by SDK Generator version:1.2.0 commit:c781517
1 parent e415645 commit 1edc40d

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

docs/models/Company.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**name** | **str** | Name of the company |
7+
**name** | **str, none_type** | Name of the company |
88
**id** | **str** | Unique identifier for the company | [optional] [readonly]
99
**interaction_count** | **int, none_type** | Number of interactions | [optional] [readonly]
1010
**owner_id** | **str, none_type** | Owner ID | [optional]

src/apideck/model/company.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ class Company(ModelNormal):
8080
}
8181

8282
validations = {
83-
('name',): {
84-
'min_length': 1,
85-
},
8683
}
8784

8885
additional_properties_type = None
@@ -101,7 +98,7 @@ def openapi_types():
10198
"""
10299
lazy_import()
103100
return {
104-
'name': (str,), # noqa: E501
101+
'name': (str, none_type,), # noqa: E501
105102
'id': (str,), # noqa: E501
106103
'interaction_count': (int, none_type,), # noqa: E501
107104
'owner_id': (str, none_type,), # noqa: E501
@@ -214,7 +211,7 @@ def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501
214211
"""Company - a model defined in OpenAPI
215212
216213
Args:
217-
name (str): Name of the company
214+
name (str, none_type): Name of the company
218215
219216
Keyword Args:
220217
_check_type (bool): if True, values for parameters in openapi_types
@@ -339,7 +336,7 @@ def __init__(self, name, *args, **kwargs): # noqa: E501
339336
"""Company - a model defined in OpenAPI
340337
341338
Args:
342-
name (str): Name of the company
339+
name (str, none_type): Name of the company
343340
344341
Keyword Args:
345342
_check_type (bool): if True, values for parameters in openapi_types

0 commit comments

Comments
 (0)