From 1edc40d1d57df3c485f0a3143e36eb2a6b9a7cbd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 05:06:45 +0000 Subject: [PATCH] Automated update by SDK Generator version:1.2.0 commit:c781517 --- docs/models/Company.md | 2 +- src/apideck/model/company.py | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/models/Company.md b/docs/models/Company.md index d6e34a954..a4484a6fb 100644 --- a/docs/models/Company.md +++ b/docs/models/Company.md @@ -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] diff --git a/src/apideck/model/company.py b/src/apideck/model/company.py index b04de3b38..bd9b02858 100644 --- a/src/apideck/model/company.py +++ b/src/apideck/model/company.py @@ -80,9 +80,6 @@ class Company(ModelNormal): } validations = { - ('name',): { - 'min_length': 1, - }, } additional_properties_type = None @@ -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 @@ -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 @@ -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