diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 933233c..a9e5a88 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -133,7 +133,6 @@ docs/ListGdprRequestsResponseRequestsInner.md docs/ListMessagesResponse.md docs/ListMessagesResponseMessagesInner.md docs/ListMessagesResponseMessagesInnerOgTag.md -docs/ListMessagesResponseMessagesInnerOgTagOgImage.md docs/ListMessagesResponseMessagesInnerSortedMetaarrayInner.md docs/ListMutedChannelsResponse.md docs/ListMutedUsersInChannelsWithCustomChannelType200Response.md @@ -520,7 +519,6 @@ sendbird_platform_sdk/model/list_gdpr_requests_response_requests_inner.py sendbird_platform_sdk/model/list_messages_response.py sendbird_platform_sdk/model/list_messages_response_messages_inner.py sendbird_platform_sdk/model/list_messages_response_messages_inner_og_tag.py -sendbird_platform_sdk/model/list_messages_response_messages_inner_og_tag_og_image.py sendbird_platform_sdk/model/list_messages_response_messages_inner_sorted_metaarray_inner.py sendbird_platform_sdk/model/list_muted_channels_response.py sendbird_platform_sdk/model/list_muted_users_in_channels_with_custom_channel_type200_response.py @@ -748,31 +746,4 @@ setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_delete_a_pin_api.py -test/test_gc_typing_indicators_data.py -test/test_pin_a_message_api.py -test/test_poll_api.py -test/test_push_notifications_api.py -test/test_scheduled_message_api.py -test/test_send_bird_bots_message_response.py -test/test_send_bird_bots_message_response_message.py -test/test_send_bird_bots_message_response_message_extended_message_payload.py -test/test_send_bird_bots_message_response_message_message_events.py -test/test_send_bird_file.py -test/test_send_bird_parent_message_info.py -test/test_send_bird_scheduled_message.py -test/test_send_bot_s_message_data_extended_message_payload.py -test/test_v3_applications_push_settings_get200_response.py -test/test_v3_applications_push_settings_get_request.py -test/test_v3_group_channels_channel_url_scheduled_messages_scheduled_message_id_delete_request.py -test/test_v3_polls_get_request.py -test/test_v3_polls_poll_id_delete_request.py -test/test_v3_polls_poll_id_delete_request1.py -test/test_v3_polls_poll_id_options_option_id_delete_request.py -test/test_v3_polls_poll_id_options_option_id_voters_get200_response.py -test/test_v3_polls_poll_id_options_option_id_voters_get200_response_voters_inner.py -test/test_v3_polls_poll_id_options_option_id_voters_get_request.py -test/test_v3_polls_poll_id_vote_put_request.py -test/test_v3_scheduled_messages_count_get200_response.py -test/test_v3_scheduled_messages_get200_response.py tox.ini diff --git a/docs/GcUpdateChannelByUrlData.md b/docs/GcUpdateChannelByUrlData.md index 11cea82..c49b97b 100644 --- a/docs/GcUpdateChannelByUrlData.md +++ b/docs/GcUpdateChannelByUrlData.md @@ -5,15 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **channel_url** | **str** | Specifies the URL of the channel to update. | -**name** | **str** | Specifies the name of the channel, or the channel topic. The length is limited to 191 characters. | -**cover_url** | **str** | Specifies the unique URL of the cover image. The length is limited to 2,048 characters. | -**cover_file** | **file_type** | Uploads the cover image file for the channel. | -**custom_type** | **str** | Specifies the custom channel type which is used for channel grouping. The length is limited to 128 characters.<br /><br /> Custom types are also used within Sendbird's [Advanced analytics](/docs/chat/v3/platform-api/guides/advanced-analytics) to segment metrics, which enables the sub-classification of data views. | -**data** | **str** | Specifies additional channel information such as a long description of the channel or `JSON` formatted string. | -**is_distinct** | **bool** | Determines whether to reuse an existing channel or create a new channel. If set to true, returns a channel with the current channel members users or creates a new channel if no match is found. Sendbird server can also use the custom channel type in the custom_type property if specified along with the users to return the corresponding channel. If set to false, Sendbird server always creates a new channel with a combination of the users as well as the channel custom type if specified. (Default: false)<br /><br /> Under this property, Sendbird server does not distinguish channels based on other properties such as channel URL or channel name. | -**is_public** | **bool** | Determines whether to allow a user to join the channel without an invitation. (Default: false) | -**access_code** | **str** | This property can be used only when the channel operator wants to set an access code for a public group channel. If specified, the is_access_code_required property of the channel resource is then set to true, and the channel begins to require the specified access code to a user who attempts to join. | -**operator_ids** | **[str]** | Specifies an array of one or more IDs of users to register as operators of the channel. If the operators are not members of the channel yet, they need an [invitation](#2-invite-as-members) to [join](#2-join-a-channel) a privte group channel while they don't need any to join a [public](#-3-private-vs-public) group channel. The maximum allowed number of operators per channel is 100. | +**name** | **str** | Specifies the name of the channel, or the channel topic. The length is limited to 191 characters. | [optional] +**cover_url** | **str** | Specifies the unique URL of the cover image. The length is limited to 2,048 characters. | [optional] +**cover_file** | **file_type** | Uploads the cover image file for the channel. | [optional] +**custom_type** | **str** | Specifies the custom channel type which is used for channel grouping. The length is limited to 128 characters.<br /><br /> Custom types are also used within Sendbird's [Advanced analytics](/docs/chat/v3/platform-api/guides/advanced-analytics) to segment metrics, which enables the sub-classification of data views. | [optional] +**data** | **str** | Specifies additional channel information such as a long description of the channel or `JSON` formatted string. | [optional] +**is_distinct** | **bool** | Determines whether to reuse an existing channel or create a new channel. If set to true, returns a channel with the current channel members users or creates a new channel if no match is found. Sendbird server can also use the custom channel type in the custom_type property if specified along with the users to return the corresponding channel. If set to false, Sendbird server always creates a new channel with a combination of the users as well as the channel custom type if specified. (Default: false)<br /><br /> Under this property, Sendbird server does not distinguish channels based on other properties such as channel URL or channel name. | [optional] +**is_public** | **bool** | Determines whether to allow a user to join the channel without an invitation. (Default: false) | [optional] +**access_code** | **str** | This property can be used only when the channel operator wants to set an access code for a public group channel. If specified, the is_access_code_required property of the channel resource is then set to true, and the channel begins to require the specified access code to a user who attempts to join. | [optional] +**operator_ids** | **[str]** | Specifies an array of one or more IDs of users to register as operators of the channel. If the operators are not members of the channel yet, they need an [invitation](#2-invite-as-members) to [join](#2-join-a-channel) a privte group channel while they don't need any to join a [public](#-3-private-vs-public) group channel. The maximum allowed number of operators per channel is 100. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ListMessagesResponseMessagesInnerOgTag.md b/docs/ListMessagesResponseMessagesInnerOgTag.md index ada945f..c3505d1 100644 --- a/docs/ListMessagesResponseMessagesInnerOgTag.md +++ b/docs/ListMessagesResponseMessagesInnerOgTag.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **ogurl** | **str** | | [optional] **ogtitle** | **str** | | [optional] **ogdescription** | **str** | | [optional] -**ogimage** | [**ListMessagesResponseMessagesInnerOgTagOgImage**](ListMessagesResponseMessagesInnerOgTagOgImage.md) | | [optional] +**ogimage** | [**SendBirdOGImage**](SendBirdOGImage.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/MessageApi.md b/docs/MessageApi.md index 5a584b1..449137e 100644 --- a/docs/MessageApi.md +++ b/docs/MessageApi.md @@ -867,7 +867,9 @@ with sendbird_platform_sdk.ApiClient() as api_client: api_instance = message_api.MessageApi(api_client) channel_url = "channel_url_example" # str | api_token = "{{API_TOKEN}}" # str | (optional) - user_ids = "user_ids_example" # str | (optional) + user_ids = [ + "user_ids_example", + ] # [str] | (optional) # example passing only required values which don't have defaults set try: @@ -894,7 +896,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **channel_url** | **str**| | **api_token** | **str**| | [optional] - **user_ids** | **str**| | [optional] + **user_ids** | **[str]**| | [optional] ### Return type diff --git a/docs/RemoveRegistrationOrDeviceTokenByTokenResponse.md b/docs/RemoveRegistrationOrDeviceTokenByTokenResponse.md index 71bc496..2df6f29 100644 --- a/docs/RemoveRegistrationOrDeviceTokenByTokenResponse.md +++ b/docs/RemoveRegistrationOrDeviceTokenByTokenResponse.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**token** | **[str]** | | [optional] +**token** | **str** | | [optional] **user** | [**SendBirdUser**](SendBirdUser.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/SendBirdBaseChannel.md b/docs/SendBirdBaseChannel.md index 54fbf23..6ae2bd3 100644 --- a/docs/SendBirdBaseChannel.md +++ b/docs/SendBirdBaseChannel.md @@ -10,7 +10,6 @@ Name | Type | Description | Notes **custom_type** | **str** | | [optional] **data** | **str** | | [optional] **is_ephemeral** | **bool** | | [optional] -**is_frozen** | **bool** | | [optional] **name** | **str** | | [optional] **url** | **str** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/SendBirdChannelResponse.md b/docs/SendBirdChannelResponse.md index 32fbc34..57c3deb 100644 --- a/docs/SendBirdChannelResponse.md +++ b/docs/SendBirdChannelResponse.md @@ -23,7 +23,6 @@ Name | Type | Description | Notes **is_discoverable** | **bool** | | [optional] **is_distinct** | **bool** | | [optional] **is_ephemeral** | **bool** | | [optional] -**is_frozen** | **bool** | | [optional] **is_hidden** | **bool** | | [optional] **is_public** | **bool** | | [optional] **is_push_enabled** | **bool** | | [optional] diff --git a/docs/SendBirdGroupChannel.md b/docs/SendBirdGroupChannel.md index 1681dc5..40411c6 100644 --- a/docs/SendBirdGroupChannel.md +++ b/docs/SendBirdGroupChannel.md @@ -23,7 +23,6 @@ Name | Type | Description | Notes **is_discoverable** | **bool** | | [optional] **is_distinct** | **bool** | | [optional] **is_ephemeral** | **bool** | | [optional] -**is_frozen** | **bool** | | [optional] **is_hidden** | **bool** | | [optional] **is_public** | **bool** | | [optional] **is_push_enabled** | **bool** | | [optional] diff --git a/docs/SendBirdOpenChannel.md b/docs/SendBirdOpenChannel.md index 39bd7a6..ba318d2 100644 --- a/docs/SendBirdOpenChannel.md +++ b/docs/SendBirdOpenChannel.md @@ -13,7 +13,6 @@ Name | Type | Description | Notes **data** | **str** | | [optional] **is_dynamic_partitioned** | **bool** | | [optional] **is_ephemeral** | **bool** | | [optional] -**is_frozen** | **bool** | | [optional] **max_length_message** | **float** | | [optional] **operators** | [**[SendBirdUser]**](SendBirdUser.md) | | [optional] **participant_count** | **float** | | [optional] diff --git a/sendbird_platform_sdk/__init__.py b/sendbird_platform_sdk/__init__.py index fa05b0a..cf1f857 100644 --- a/sendbird_platform_sdk/__init__.py +++ b/sendbird_platform_sdk/__init__.py @@ -11,7 +11,7 @@ """ -__version__ = "1.0.24" +__version__ = "1.0.26" # import ApiClient from sendbird_platform_sdk.api_client import ApiClient diff --git a/sendbird_platform_sdk/api/message_api.py b/sendbird_platform_sdk/api/message_api.py index 9087665..e51a111 100644 --- a/sendbird_platform_sdk/api/message_api.py +++ b/sendbird_platform_sdk/api/message_api.py @@ -698,7 +698,7 @@ def __init__(self, api_client=None): 'api_token': (str,), 'user_ids': - (str,), + ([str],), }, 'attribute_map': { 'channel_url': 'channel_url', @@ -711,6 +711,7 @@ def __init__(self, api_client=None): 'user_ids': 'query', }, 'collection_format_map': { + 'user_ids': 'multi', } }, headers_map={ @@ -2911,7 +2912,7 @@ def gc_view_number_of_each_members_unread_messages( Keyword Args: api_token (str): [optional] - user_ids (str): [optional] + user_ids ([str]): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/sendbird_platform_sdk/api_client.py b/sendbird_platform_sdk/api_client.py index 1e0162c..65208f9 100644 --- a/sendbird_platform_sdk/api_client.py +++ b/sendbird_platform_sdk/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.0.24/python' + self.user_agent = 'OpenAPI-Generator/1.0.26/python' def __enter__(self): return self diff --git a/sendbird_platform_sdk/configuration.py b/sendbird_platform_sdk/configuration.py index 7acb25d..a45463d 100644 --- a/sendbird_platform_sdk/configuration.py +++ b/sendbird_platform_sdk/configuration.py @@ -381,7 +381,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0.0\n"\ - "SDK Package Version: 1.0.24".\ + "SDK Package Version: 1.0.26".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sendbird_platform_sdk/model/gc_update_channel_by_url_data.py b/sendbird_platform_sdk/model/gc_update_channel_by_url_data.py index 227c614..2005b2f 100644 --- a/sendbird_platform_sdk/model/gc_update_channel_by_url_data.py +++ b/sendbird_platform_sdk/model/gc_update_channel_by_url_data.py @@ -119,20 +119,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, channel_url, name, cover_url, cover_file, custom_type, data, is_distinct, is_public, access_code, operator_ids, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, channel_url, *args, **kwargs): # noqa: E501 """GcUpdateChannelByUrlData - a model defined in OpenAPI Args: channel_url (str): Specifies the URL of the channel to update. - name (str): Specifies the name of the channel, or the channel topic. The length is limited to 191 characters. - cover_url (str): Specifies the unique URL of the cover image. The length is limited to 2,048 characters. - cover_file (file_type): Uploads the cover image file for the channel. - custom_type (str): Specifies the custom channel type which is used for channel grouping. The length is limited to 128 characters.

Custom types are also used within Sendbird's [Advanced analytics](/docs/chat/v3/platform-api/guides/advanced-analytics) to segment metrics, which enables the sub-classification of data views. - data (str): Specifies additional channel information such as a long description of the channel or `JSON` formatted string. - is_distinct (bool): Determines whether to reuse an existing channel or create a new channel. If set to true, returns a channel with the current channel members users or creates a new channel if no match is found. Sendbird server can also use the custom channel type in the custom_type property if specified along with the users to return the corresponding channel. If set to false, Sendbird server always creates a new channel with a combination of the users as well as the channel custom type if specified. (Default: false)

Under this property, Sendbird server does not distinguish channels based on other properties such as channel URL or channel name. - is_public (bool): Determines whether to allow a user to join the channel without an invitation. (Default: false) - access_code (str): This property can be used only when the channel operator wants to set an access code for a public group channel. If specified, the is_access_code_required property of the channel resource is then set to true, and the channel begins to require the specified access code to a user who attempts to join. - operator_ids ([str]): Specifies an array of one or more IDs of users to register as operators of the channel. If the operators are not members of the channel yet, they need an [invitation](#2-invite-as-members) to [join](#2-join-a-channel) a privte group channel while they don't need any to join a [public](#-3-private-vs-public) group channel. The maximum allowed number of operators per channel is 100. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -165,6 +156,15 @@ def _from_openapi_data(cls, channel_url, name, cover_url, cover_file, custom_typ Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + name (str): Specifies the name of the channel, or the channel topic. The length is limited to 191 characters.. [optional] # noqa: E501 + cover_url (str): Specifies the unique URL of the cover image. The length is limited to 2,048 characters.. [optional] # noqa: E501 + cover_file (file_type): Uploads the cover image file for the channel.. [optional] # noqa: E501 + custom_type (str): Specifies the custom channel type which is used for channel grouping. The length is limited to 128 characters.

Custom types are also used within Sendbird's [Advanced analytics](/docs/chat/v3/platform-api/guides/advanced-analytics) to segment metrics, which enables the sub-classification of data views.. [optional] # noqa: E501 + data (str): Specifies additional channel information such as a long description of the channel or `JSON` formatted string.. [optional] # noqa: E501 + is_distinct (bool): Determines whether to reuse an existing channel or create a new channel. If set to true, returns a channel with the current channel members users or creates a new channel if no match is found. Sendbird server can also use the custom channel type in the custom_type property if specified along with the users to return the corresponding channel. If set to false, Sendbird server always creates a new channel with a combination of the users as well as the channel custom type if specified. (Default: false)

Under this property, Sendbird server does not distinguish channels based on other properties such as channel URL or channel name.. [optional] # noqa: E501 + is_public (bool): Determines whether to allow a user to join the channel without an invitation. (Default: false). [optional] # noqa: E501 + access_code (str): This property can be used only when the channel operator wants to set an access code for a public group channel. If specified, the is_access_code_required property of the channel resource is then set to true, and the channel begins to require the specified access code to a user who attempts to join.. [optional] # noqa: E501 + operator_ids ([str]): Specifies an array of one or more IDs of users to register as operators of the channel. If the operators are not members of the channel yet, they need an [invitation](#2-invite-as-members) to [join](#2-join-a-channel) a privte group channel while they don't need any to join a [public](#-3-private-vs-public) group channel. The maximum allowed number of operators per channel is 100.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -197,15 +197,6 @@ def _from_openapi_data(cls, channel_url, name, cover_url, cover_file, custom_typ self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.channel_url = channel_url - self.name = name - self.cover_url = cover_url - self.cover_file = cover_file - self.custom_type = custom_type - self.data = data - self.is_distinct = is_distinct - self.is_public = is_public - self.access_code = access_code - self.operator_ids = operator_ids for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -226,20 +217,11 @@ def _from_openapi_data(cls, channel_url, name, cover_url, cover_file, custom_typ ]) @convert_js_args_to_python_args - def __init__(self, channel_url, name, cover_url, cover_file, custom_type, data, is_distinct, is_public, access_code, operator_ids, *args, **kwargs): # noqa: E501 + def __init__(self, channel_url, *args, **kwargs): # noqa: E501 """GcUpdateChannelByUrlData - a model defined in OpenAPI Args: channel_url (str): Specifies the URL of the channel to update. - name (str): Specifies the name of the channel, or the channel topic. The length is limited to 191 characters. - cover_url (str): Specifies the unique URL of the cover image. The length is limited to 2,048 characters. - cover_file (file_type): Uploads the cover image file for the channel. - custom_type (str): Specifies the custom channel type which is used for channel grouping. The length is limited to 128 characters.

Custom types are also used within Sendbird's [Advanced analytics](/docs/chat/v3/platform-api/guides/advanced-analytics) to segment metrics, which enables the sub-classification of data views. - data (str): Specifies additional channel information such as a long description of the channel or `JSON` formatted string. - is_distinct (bool): Determines whether to reuse an existing channel or create a new channel. If set to true, returns a channel with the current channel members users or creates a new channel if no match is found. Sendbird server can also use the custom channel type in the custom_type property if specified along with the users to return the corresponding channel. If set to false, Sendbird server always creates a new channel with a combination of the users as well as the channel custom type if specified. (Default: false)

Under this property, Sendbird server does not distinguish channels based on other properties such as channel URL or channel name. - is_public (bool): Determines whether to allow a user to join the channel without an invitation. (Default: false) - access_code (str): This property can be used only when the channel operator wants to set an access code for a public group channel. If specified, the is_access_code_required property of the channel resource is then set to true, and the channel begins to require the specified access code to a user who attempts to join. - operator_ids ([str]): Specifies an array of one or more IDs of users to register as operators of the channel. If the operators are not members of the channel yet, they need an [invitation](#2-invite-as-members) to [join](#2-join-a-channel) a privte group channel while they don't need any to join a [public](#-3-private-vs-public) group channel. The maximum allowed number of operators per channel is 100. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -272,6 +254,15 @@ def __init__(self, channel_url, name, cover_url, cover_file, custom_type, data, Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + name (str): Specifies the name of the channel, or the channel topic. The length is limited to 191 characters.. [optional] # noqa: E501 + cover_url (str): Specifies the unique URL of the cover image. The length is limited to 2,048 characters.. [optional] # noqa: E501 + cover_file (file_type): Uploads the cover image file for the channel.. [optional] # noqa: E501 + custom_type (str): Specifies the custom channel type which is used for channel grouping. The length is limited to 128 characters.

Custom types are also used within Sendbird's [Advanced analytics](/docs/chat/v3/platform-api/guides/advanced-analytics) to segment metrics, which enables the sub-classification of data views.. [optional] # noqa: E501 + data (str): Specifies additional channel information such as a long description of the channel or `JSON` formatted string.. [optional] # noqa: E501 + is_distinct (bool): Determines whether to reuse an existing channel or create a new channel. If set to true, returns a channel with the current channel members users or creates a new channel if no match is found. Sendbird server can also use the custom channel type in the custom_type property if specified along with the users to return the corresponding channel. If set to false, Sendbird server always creates a new channel with a combination of the users as well as the channel custom type if specified. (Default: false)

Under this property, Sendbird server does not distinguish channels based on other properties such as channel URL or channel name.. [optional] # noqa: E501 + is_public (bool): Determines whether to allow a user to join the channel without an invitation. (Default: false). [optional] # noqa: E501 + access_code (str): This property can be used only when the channel operator wants to set an access code for a public group channel. If specified, the is_access_code_required property of the channel resource is then set to true, and the channel begins to require the specified access code to a user who attempts to join.. [optional] # noqa: E501 + operator_ids ([str]): Specifies an array of one or more IDs of users to register as operators of the channel. If the operators are not members of the channel yet, they need an [invitation](#2-invite-as-members) to [join](#2-join-a-channel) a privte group channel while they don't need any to join a [public](#-3-private-vs-public) group channel. The maximum allowed number of operators per channel is 100.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -302,15 +293,6 @@ def __init__(self, channel_url, name, cover_url, cover_file, custom_type, data, self._visited_composed_classes = _visited_composed_classes + (self.__class__,) self.channel_url = channel_url - self.name = name - self.cover_url = cover_url - self.cover_file = cover_file - self.custom_type = custom_type - self.data = data - self.is_distinct = is_distinct - self.is_public = is_public - self.access_code = access_code - self.operator_ids = operator_ids for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/sendbird_platform_sdk/model/list_messages_response_messages_inner_og_tag.py b/sendbird_platform_sdk/model/list_messages_response_messages_inner_og_tag.py index a43b908..1d4556c 100644 --- a/sendbird_platform_sdk/model/list_messages_response_messages_inner_og_tag.py +++ b/sendbird_platform_sdk/model/list_messages_response_messages_inner_og_tag.py @@ -31,8 +31,8 @@ def lazy_import(): - from sendbird_platform_sdk.model.list_messages_response_messages_inner_og_tag_og_image import ListMessagesResponseMessagesInnerOgTagOgImage - globals()['ListMessagesResponseMessagesInnerOgTagOgImage'] = ListMessagesResponseMessagesInnerOgTagOgImage + from sendbird_platform_sdk.model.send_bird_og_image import SendBirdOGImage + globals()['SendBirdOGImage'] = SendBirdOGImage class ListMessagesResponseMessagesInnerOgTag(ModelNormal): @@ -91,7 +91,7 @@ def openapi_types(): 'ogurl': (str,), # noqa: E501 'ogtitle': (str,), # noqa: E501 'ogdescription': (str,), # noqa: E501 - 'ogimage': (ListMessagesResponseMessagesInnerOgTagOgImage,), # noqa: E501 + 'ogimage': (SendBirdOGImage,), # noqa: E501 } @cached_property @@ -150,7 +150,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ogurl (str): [optional] # noqa: E501 ogtitle (str): [optional] # noqa: E501 ogdescription (str): [optional] # noqa: E501 - ogimage (ListMessagesResponseMessagesInnerOgTagOgImage): [optional] # noqa: E501 + ogimage (SendBirdOGImage): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -239,7 +239,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 ogurl (str): [optional] # noqa: E501 ogtitle (str): [optional] # noqa: E501 ogdescription (str): [optional] # noqa: E501 - ogimage (ListMessagesResponseMessagesInnerOgTagOgImage): [optional] # noqa: E501 + ogimage (SendBirdOGImage): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/sendbird_platform_sdk/model/remove_registration_or_device_token_by_token_response.py b/sendbird_platform_sdk/model/remove_registration_or_device_token_by_token_response.py index da89448..681b9a4 100644 --- a/sendbird_platform_sdk/model/remove_registration_or_device_token_by_token_response.py +++ b/sendbird_platform_sdk/model/remove_registration_or_device_token_by_token_response.py @@ -88,7 +88,7 @@ def openapi_types(): """ lazy_import() return { - 'token': ([str],), # noqa: E501 + 'token': (str,), # noqa: E501 'user': (SendBirdUser,), # noqa: E501 } @@ -143,7 +143,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - token ([str]): [optional] # noqa: E501 + token (str): [optional] # noqa: E501 user (SendBirdUser): [optional] # noqa: E501 """ @@ -230,7 +230,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - token ([str]): [optional] # noqa: E501 + token (str): [optional] # noqa: E501 user (SendBirdUser): [optional] # noqa: E501 """ diff --git a/sendbird_platform_sdk/model/send_bird_base_channel.py b/sendbird_platform_sdk/model/send_bird_base_channel.py index 4406cc0..023fe70 100644 --- a/sendbird_platform_sdk/model/send_bird_base_channel.py +++ b/sendbird_platform_sdk/model/send_bird_base_channel.py @@ -94,7 +94,6 @@ def openapi_types(): 'custom_type': (str,), # noqa: E501 'data': (str,), # noqa: E501 'is_ephemeral': (bool,), # noqa: E501 - 'is_frozen': (bool,), # noqa: E501 'name': (str,), # noqa: E501 'url': (str,), # noqa: E501 } @@ -111,7 +110,6 @@ def discriminator(): 'custom_type': 'custom_type', # noqa: E501 'data': 'data', # noqa: E501 'is_ephemeral': 'is_ephemeral', # noqa: E501 - 'is_frozen': 'is_frozen', # noqa: E501 'name': 'name', # noqa: E501 'url': 'url', # noqa: E501 } @@ -163,7 +161,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 custom_type (str): [optional] # noqa: E501 data (str): [optional] # noqa: E501 is_ephemeral (bool): [optional] # noqa: E501 - is_frozen (bool): [optional] # noqa: E501 name (str): [optional] # noqa: E501 url (str): [optional] # noqa: E501 """ @@ -257,7 +254,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 custom_type (str): [optional] # noqa: E501 data (str): [optional] # noqa: E501 is_ephemeral (bool): [optional] # noqa: E501 - is_frozen (bool): [optional] # noqa: E501 name (str): [optional] # noqa: E501 url (str): [optional] # noqa: E501 """ diff --git a/sendbird_platform_sdk/model/send_bird_channel_response.py b/sendbird_platform_sdk/model/send_bird_channel_response.py index acdf24d..9c5443a 100644 --- a/sendbird_platform_sdk/model/send_bird_channel_response.py +++ b/sendbird_platform_sdk/model/send_bird_channel_response.py @@ -148,7 +148,6 @@ def openapi_types(): 'is_discoverable': (bool,), # noqa: E501 'is_distinct': (bool,), # noqa: E501 'is_ephemeral': (bool,), # noqa: E501 - 'is_frozen': (bool,), # noqa: E501 'is_hidden': (bool,), # noqa: E501 'is_public': (bool,), # noqa: E501 'is_push_enabled': (bool,), # noqa: E501 @@ -203,7 +202,6 @@ def discriminator(): 'is_discoverable': 'is_discoverable', # noqa: E501 'is_distinct': 'is_distinct', # noqa: E501 'is_ephemeral': 'is_ephemeral', # noqa: E501 - 'is_frozen': 'is_frozen', # noqa: E501 'is_hidden': 'is_hidden', # noqa: E501 'is_public': 'is_public', # noqa: E501 'is_push_enabled': 'is_push_enabled', # noqa: E501 @@ -291,7 +289,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 is_discoverable (bool): [optional] # noqa: E501 is_distinct (bool): [optional] # noqa: E501 is_ephemeral (bool): [optional] # noqa: E501 - is_frozen (bool): [optional] # noqa: E501 is_hidden (bool): [optional] # noqa: E501 is_public (bool): [optional] # noqa: E501 is_push_enabled (bool): [optional] # noqa: E501 @@ -441,7 +438,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 is_discoverable (bool): [optional] # noqa: E501 is_distinct (bool): [optional] # noqa: E501 is_ephemeral (bool): [optional] # noqa: E501 - is_frozen (bool): [optional] # noqa: E501 is_hidden (bool): [optional] # noqa: E501 is_public (bool): [optional] # noqa: E501 is_push_enabled (bool): [optional] # noqa: E501 diff --git a/sendbird_platform_sdk/model/send_bird_group_channel.py b/sendbird_platform_sdk/model/send_bird_group_channel.py index 502214d..e6a0a86 100644 --- a/sendbird_platform_sdk/model/send_bird_group_channel.py +++ b/sendbird_platform_sdk/model/send_bird_group_channel.py @@ -144,7 +144,6 @@ def openapi_types(): 'is_discoverable': (bool,), # noqa: E501 'is_distinct': (bool,), # noqa: E501 'is_ephemeral': (bool,), # noqa: E501 - 'is_frozen': (bool,), # noqa: E501 'is_hidden': (bool,), # noqa: E501 'is_public': (bool,), # noqa: E501 'is_push_enabled': (bool,), # noqa: E501 @@ -197,7 +196,6 @@ def discriminator(): 'is_discoverable': 'is_discoverable', # noqa: E501 'is_distinct': 'is_distinct', # noqa: E501 'is_ephemeral': 'is_ephemeral', # noqa: E501 - 'is_frozen': 'is_frozen', # noqa: E501 'is_hidden': 'is_hidden', # noqa: E501 'is_public': 'is_public', # noqa: E501 'is_push_enabled': 'is_push_enabled', # noqa: E501 @@ -285,7 +283,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 is_discoverable (bool): [optional] # noqa: E501 is_distinct (bool): [optional] # noqa: E501 is_ephemeral (bool): [optional] # noqa: E501 - is_frozen (bool): [optional] # noqa: E501 is_hidden (bool): [optional] # noqa: E501 is_public (bool): [optional] # noqa: E501 is_push_enabled (bool): [optional] # noqa: E501 @@ -415,7 +412,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 is_discoverable (bool): [optional] # noqa: E501 is_distinct (bool): [optional] # noqa: E501 is_ephemeral (bool): [optional] # noqa: E501 - is_frozen (bool): [optional] # noqa: E501 is_hidden (bool): [optional] # noqa: E501 is_public (bool): [optional] # noqa: E501 is_push_enabled (bool): [optional] # noqa: E501 diff --git a/sendbird_platform_sdk/model/send_bird_open_channel.py b/sendbird_platform_sdk/model/send_bird_open_channel.py index cc40a26..c36d34e 100644 --- a/sendbird_platform_sdk/model/send_bird_open_channel.py +++ b/sendbird_platform_sdk/model/send_bird_open_channel.py @@ -97,7 +97,6 @@ def openapi_types(): 'data': (str,), # noqa: E501 'is_dynamic_partitioned': (bool,), # noqa: E501 'is_ephemeral': (bool,), # noqa: E501 - 'is_frozen': (bool,), # noqa: E501 'max_length_message': (float,), # noqa: E501 'operators': ([SendBirdUser],), # noqa: E501 'participant_count': (float,), # noqa: E501 @@ -119,7 +118,6 @@ def discriminator(): 'data': 'data', # noqa: E501 'is_dynamic_partitioned': 'is_dynamic_partitioned', # noqa: E501 'is_ephemeral': 'is_ephemeral', # noqa: E501 - 'is_frozen': 'is_frozen', # noqa: E501 'max_length_message': 'max_length_message', # noqa: E501 'operators': 'operators', # noqa: E501 'participant_count': 'participant_count', # noqa: E501 @@ -176,7 +174,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 data (str): [optional] # noqa: E501 is_dynamic_partitioned (bool): [optional] # noqa: E501 is_ephemeral (bool): [optional] # noqa: E501 - is_frozen (bool): [optional] # noqa: E501 max_length_message (float): [optional] # noqa: E501 operators ([SendBirdUser]): [optional] # noqa: E501 participant_count (float): [optional] # noqa: E501 @@ -275,7 +272,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 data (str): [optional] # noqa: E501 is_dynamic_partitioned (bool): [optional] # noqa: E501 is_ephemeral (bool): [optional] # noqa: E501 - is_frozen (bool): [optional] # noqa: E501 max_length_message (float): [optional] # noqa: E501 operators ([SendBirdUser]): [optional] # noqa: E501 participant_count (float): [optional] # noqa: E501 diff --git a/sendbird_platform_sdk/models/__init__.py b/sendbird_platform_sdk/models/__init__.py index 315567e..b2a70d4 100644 --- a/sendbird_platform_sdk/models/__init__.py +++ b/sendbird_platform_sdk/models/__init__.py @@ -134,7 +134,6 @@ from sendbird_platform_sdk.model.list_messages_response import ListMessagesResponse from sendbird_platform_sdk.model.list_messages_response_messages_inner import ListMessagesResponseMessagesInner from sendbird_platform_sdk.model.list_messages_response_messages_inner_og_tag import ListMessagesResponseMessagesInnerOgTag -from sendbird_platform_sdk.model.list_messages_response_messages_inner_og_tag_og_image import ListMessagesResponseMessagesInnerOgTagOgImage from sendbird_platform_sdk.model.list_messages_response_messages_inner_sorted_metaarray_inner import ListMessagesResponseMessagesInnerSortedMetaarrayInner from sendbird_platform_sdk.model.list_muted_channels_response import ListMutedChannelsResponse from sendbird_platform_sdk.model.list_muted_users_in_channels_with_custom_channel_type200_response import ListMutedUsersInChannelsWithCustomChannelType200Response diff --git a/setup.py b/setup.py index b4f2b3f..d282856 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "sendbird_platform_sdk" -VERSION = "1.0.24" +VERSION = "1.0.26" # To install the library, run the following # # python setup.py install