Skip to content

Commit

Permalink
Automated update by SDK Generator version:1.2.0 commit:c781517
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 6, 2024
1 parent e415645 commit 1edc40d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/models/Company.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | Name of the company |
**name** | **str, none_type** | Name of the company |
**id** | **str** | Unique identifier for the company | [optional] [readonly]
**interaction_count** | **int, none_type** | Number of interactions | [optional] [readonly]
**owner_id** | **str, none_type** | Owner ID | [optional]
Expand Down
9 changes: 3 additions & 6 deletions src/apideck/model/company.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ class Company(ModelNormal):
}

validations = {
('name',): {
'min_length': 1,
},
}

additional_properties_type = None
Expand All @@ -101,7 +98,7 @@ def openapi_types():
"""
lazy_import()
return {
'name': (str,), # noqa: E501
'name': (str, none_type,), # noqa: E501
'id': (str,), # noqa: E501
'interaction_count': (int, none_type,), # noqa: E501
'owner_id': (str, none_type,), # noqa: E501
Expand Down Expand Up @@ -214,7 +211,7 @@ def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501
"""Company - a model defined in OpenAPI
Args:
name (str): Name of the company
name (str, none_type): Name of the company
Keyword Args:
_check_type (bool): if True, values for parameters in openapi_types
Expand Down Expand Up @@ -339,7 +336,7 @@ def __init__(self, name, *args, **kwargs): # noqa: E501
"""Company - a model defined in OpenAPI
Args:
name (str): Name of the company
name (str, none_type): Name of the company
Keyword Args:
_check_type (bool): if True, values for parameters in openapi_types
Expand Down

0 comments on commit 1edc40d

Please sign in to comment.