windmill-api 1.440.1__py3-none-any.whl → 1.450.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of windmill-api might be problematic. Click here for more details.
- windmill_api/api/capture/{get_capture.py → delete_capture.py} +12 -14
- windmill_api/api/capture/get_capture_configs.py +186 -0
- windmill_api/api/capture/list_captures.py +241 -0
- windmill_api/api/capture/ping_capture_config.py +121 -0
- windmill_api/api/capture/set_capture_config.py +107 -0
- windmill_api/api/input_/get_input_history.py +15 -0
- windmill_api/api/job/get_slack_approval_payload.py +171 -0
- windmill_api/api/nats_trigger/__init__.py +0 -0
- windmill_api/api/nats_trigger/create_nats_trigger.py +105 -0
- windmill_api/api/{capture/create_capture.py → nats_trigger/delete_nats_trigger.py} +4 -6
- windmill_api/api/nats_trigger/exists_nats_trigger.py +160 -0
- windmill_api/api/nats_trigger/get_nats_trigger.py +166 -0
- windmill_api/api/nats_trigger/list_nats_triggers.py +237 -0
- windmill_api/api/nats_trigger/set_nats_trigger_enabled.py +113 -0
- windmill_api/api/nats_trigger/update_nats_trigger.py +113 -0
- windmill_api/api/postgres_trigger/__init__.py +0 -0
- windmill_api/api/postgres_trigger/create_postgres_publication.py +121 -0
- windmill_api/api/postgres_trigger/create_postgres_replication_slot.py +113 -0
- windmill_api/api/postgres_trigger/create_postgres_trigger.py +105 -0
- windmill_api/api/postgres_trigger/create_template_script.py +105 -0
- windmill_api/api/postgres_trigger/delete_postgres_publication.py +109 -0
- windmill_api/api/postgres_trigger/delete_postgres_replication_slot.py +113 -0
- windmill_api/api/{capture/update_capture.py → postgres_trigger/delete_postgres_trigger.py} +4 -6
- windmill_api/api/postgres_trigger/exists_postgres_trigger.py +160 -0
- windmill_api/api/postgres_trigger/get_postgres_publication.py +180 -0
- windmill_api/api/postgres_trigger/get_postgres_trigger.py +166 -0
- windmill_api/api/postgres_trigger/get_template_script.py +101 -0
- windmill_api/api/postgres_trigger/is_valid_postgres_configuration.py +160 -0
- windmill_api/api/postgres_trigger/list_postgres_publication.py +161 -0
- windmill_api/api/postgres_trigger/list_postgres_replication_slot.py +171 -0
- windmill_api/api/postgres_trigger/list_postgres_triggers.py +237 -0
- windmill_api/api/postgres_trigger/set_postgres_trigger_enabled.py +113 -0
- windmill_api/api/postgres_trigger/update_postgres_publication.py +121 -0
- windmill_api/api/postgres_trigger/update_postgres_trigger.py +113 -0
- windmill_api/api/teams/__init__.py +0 -0
- windmill_api/api/teams/sync_teams.py +131 -0
- windmill_api/api/worker/get_custom_tags.py +50 -4
- windmill_api/api/workspace/change_workspace_color.py +105 -0
- windmill_api/api/workspace/get_threshold_alert.py +152 -0
- windmill_api/api/workspace/set_threshold_alert.py +105 -0
- windmill_api/api/workspace/update_operator_settings.py +109 -0
- windmill_api/models/add_granular_acls_kind.py +2 -0
- windmill_api/models/archive_script_by_hash_response_200.py +8 -0
- windmill_api/models/archive_script_by_hash_response_200_kind.py +1 -0
- windmill_api/models/archive_script_by_hash_response_200_language.py +1 -0
- windmill_api/models/capture.py +94 -0
- windmill_api/models/capture_config.py +95 -0
- windmill_api/models/capture_config_trigger_kind.py +13 -0
- windmill_api/models/capture_trigger_kind.py +13 -0
- windmill_api/models/change_workspace_color_json_body.py +58 -0
- windmill_api/models/channel_info.py +80 -0
- windmill_api/models/completed_job_language.py +1 -0
- windmill_api/models/create_nats_trigger_json_body.py +120 -0
- windmill_api/models/create_postgres_publication_json_body.py +90 -0
- windmill_api/models/create_postgres_publication_json_body_table_to_track_item.py +86 -0
- windmill_api/models/create_postgres_publication_json_body_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/create_postgres_replication_slot_json_body.py +58 -0
- windmill_api/models/create_postgres_trigger_json_body.py +125 -0
- windmill_api/models/create_postgres_trigger_json_body_publication.py +92 -0
- windmill_api/models/create_postgres_trigger_json_body_publication_table_to_track_item.py +86 -0
- windmill_api/models/create_postgres_trigger_json_body_publication_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/create_script_json_body.py +8 -0
- windmill_api/models/create_script_json_body_kind.py +1 -0
- windmill_api/models/create_script_json_body_language.py +1 -0
- windmill_api/models/create_template_script_json_body.py +90 -0
- windmill_api/models/create_template_script_json_body_language.py +8 -0
- windmill_api/models/create_template_script_json_body_relations_item.py +86 -0
- windmill_api/models/create_template_script_json_body_relations_item_table_to_track_item.py +79 -0
- windmill_api/models/create_websocket_trigger_json_body.py +42 -29
- windmill_api/models/create_workspace.py +8 -0
- windmill_api/models/create_workspace_json_body.py +8 -0
- windmill_api/models/delete_completed_job_response_200_language.py +1 -0
- windmill_api/models/delete_postgres_replication_slot_json_body.py +58 -0
- windmill_api/models/delete_script_by_hash_response_200.py +8 -0
- windmill_api/models/delete_script_by_hash_response_200_kind.py +1 -0
- windmill_api/models/delete_script_by_hash_response_200_language.py +1 -0
- windmill_api/models/edit_nats_trigger.py +112 -0
- windmill_api/models/edit_postgres_trigger.py +123 -0
- windmill_api/models/edit_postgres_trigger_publication.py +90 -0
- windmill_api/models/edit_postgres_trigger_publication_table_to_track_item.py +86 -0
- windmill_api/models/edit_postgres_trigger_publication_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/edit_websocket_trigger.py +35 -21
- windmill_api/models/extended_jobs_jobs_item_type_0_language.py +1 -0
- windmill_api/models/extended_jobs_jobs_item_type_1_language.py +1 -0
- windmill_api/models/flow_metadata.py +8 -0
- windmill_api/models/flow_module_value_2_type_0_language.py +1 -0
- windmill_api/models/get_capture_configs_response_200_item.py +95 -0
- windmill_api/models/get_capture_configs_response_200_item_trigger_kind.py +13 -0
- windmill_api/models/get_capture_configs_runnable_kind.py +9 -0
- windmill_api/models/get_completed_job_response_200_language.py +1 -0
- windmill_api/models/get_flow_by_path_response_200.py +8 -0
- windmill_api/models/get_flow_by_path_with_draft_response_200_draft.py +8 -0
- windmill_api/models/get_flow_version_response_200.py +8 -0
- windmill_api/models/get_granular_acls_kind.py +2 -0
- windmill_api/models/get_http_trigger_response_200.py +36 -36
- windmill_api/models/get_job_response_200_type_0_language.py +1 -0
- windmill_api/models/get_job_response_200_type_1_language.py +1 -0
- windmill_api/models/get_nats_trigger_response_200.py +196 -0
- windmill_api/models/get_nats_trigger_response_200_extra_perms.py +44 -0
- windmill_api/models/get_postgres_publication_response_200.py +90 -0
- windmill_api/models/get_postgres_publication_response_200_table_to_track_item.py +86 -0
- windmill_api/models/get_postgres_publication_response_200_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/get_postgres_trigger_response_200.py +178 -0
- windmill_api/models/get_postgres_trigger_response_200_extra_perms.py +44 -0
- windmill_api/models/get_premium_info_response_200.py +7 -0
- windmill_api/models/get_script_by_hash_response_200.py +8 -0
- windmill_api/models/get_script_by_hash_response_200_kind.py +1 -0
- windmill_api/models/get_script_by_hash_response_200_language.py +1 -0
- windmill_api/models/get_script_by_path_response_200.py +8 -0
- windmill_api/models/get_script_by_path_response_200_kind.py +1 -0
- windmill_api/models/get_script_by_path_response_200_language.py +1 -0
- windmill_api/models/get_script_by_path_with_draft_response_200.py +8 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_draft.py +8 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_draft_kind.py +1 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_draft_language.py +1 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_kind.py +1 -0
- windmill_api/models/get_script_by_path_with_draft_response_200_language.py +1 -0
- windmill_api/models/get_settings_response_200.py +27 -0
- windmill_api/models/get_settings_response_200_operator_settings.py +114 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_0_language.py +1 -0
- windmill_api/models/get_suspended_job_flow_response_200_job_type_1_language.py +1 -0
- windmill_api/models/get_threshold_alert_response_200.py +75 -0
- windmill_api/models/get_triggers_count_of_flow_response_200.py +16 -0
- windmill_api/models/get_triggers_count_of_script_response_200.py +16 -0
- windmill_api/models/get_used_triggers_response_200.py +14 -0
- windmill_api/models/get_websocket_trigger_response_200.py +89 -76
- windmill_api/models/http_trigger.py +36 -36
- windmill_api/models/job_type_0_language.py +1 -0
- windmill_api/models/job_type_1_language.py +1 -0
- windmill_api/models/language.py +8 -0
- windmill_api/models/list_captures_response_200_item.py +94 -0
- windmill_api/models/list_captures_response_200_item_trigger_kind.py +13 -0
- windmill_api/models/list_captures_runnable_kind.py +9 -0
- windmill_api/models/list_captures_trigger_kind.py +13 -0
- windmill_api/models/list_completed_jobs_response_200_item_language.py +1 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_language.py +1 -0
- windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_language.py +1 -0
- windmill_api/models/list_http_triggers_response_200_item.py +36 -36
- windmill_api/models/list_jobs_response_200_item_type_0_language.py +1 -0
- windmill_api/models/list_jobs_response_200_item_type_1_language.py +1 -0
- windmill_api/models/list_nats_triggers_response_200_item.py +196 -0
- windmill_api/models/list_nats_triggers_response_200_item_extra_perms.py +44 -0
- windmill_api/models/list_postgres_replication_slot_response_200_item.py +66 -0
- windmill_api/models/list_postgres_triggers_response_200_item.py +182 -0
- windmill_api/models/list_postgres_triggers_response_200_item_extra_perms.py +44 -0
- windmill_api/models/list_queue_response_200_item_language.py +1 -0
- windmill_api/models/list_scripts_response_200_item.py +8 -0
- windmill_api/models/list_scripts_response_200_item_kind.py +1 -0
- windmill_api/models/list_scripts_response_200_item_language.py +1 -0
- windmill_api/models/list_user_workspaces_response_200_workspaces_item.py +39 -1
- windmill_api/models/list_user_workspaces_response_200_workspaces_item_operator_settings.py +114 -0
- windmill_api/models/list_websocket_triggers_response_200_item.py +89 -76
- windmill_api/models/list_workspaces_as_super_admin_response_200_item.py +8 -0
- windmill_api/models/list_workspaces_response_200_item.py +8 -0
- windmill_api/models/nats_trigger.py +196 -0
- windmill_api/models/nats_trigger_extra_perms.py +44 -0
- windmill_api/models/new_nats_trigger.py +120 -0
- windmill_api/models/new_postgres_trigger.py +125 -0
- windmill_api/models/new_postgres_trigger_publication.py +90 -0
- windmill_api/models/new_postgres_trigger_publication_table_to_track_item.py +86 -0
- windmill_api/models/new_postgres_trigger_publication_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/new_script.py +8 -0
- windmill_api/models/new_script_kind.py +1 -0
- windmill_api/models/new_script_language.py +1 -0
- windmill_api/models/new_script_with_draft.py +8 -0
- windmill_api/models/new_script_with_draft_draft.py +8 -0
- windmill_api/models/new_script_with_draft_draft_kind.py +1 -0
- windmill_api/models/new_script_with_draft_draft_language.py +1 -0
- windmill_api/models/new_script_with_draft_kind.py +1 -0
- windmill_api/models/new_script_with_draft_language.py +1 -0
- windmill_api/models/new_websocket_trigger.py +36 -26
- windmill_api/models/open_flow_w_path.py +8 -0
- windmill_api/models/operator_settings.py +114 -0
- windmill_api/models/ping_capture_config_runnable_kind.py +9 -0
- windmill_api/models/ping_capture_config_trigger_kind.py +13 -0
- windmill_api/models/postgres_trigger.py +178 -0
- windmill_api/models/postgres_trigger_extra_perms.py +44 -0
- windmill_api/models/preview_language.py +1 -0
- windmill_api/models/publication_data.py +86 -0
- windmill_api/models/publication_data_table_to_track_item.py +84 -0
- windmill_api/models/publication_data_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/queued_job_language.py +1 -0
- windmill_api/models/raw_script_for_dependencies_language.py +1 -0
- windmill_api/models/raw_script_language.py +1 -0
- windmill_api/models/relations.py +80 -0
- windmill_api/models/relations_table_to_track_item.py +79 -0
- windmill_api/models/remove_granular_acls_kind.py +2 -0
- windmill_api/models/run_raw_script_dependencies_json_body_raw_scripts_item_language.py +1 -0
- windmill_api/models/run_script_preview_json_body_language.py +1 -0
- windmill_api/models/script.py +8 -0
- windmill_api/models/script_kind.py +1 -0
- windmill_api/models/script_lang.py +25 -0
- windmill_api/models/script_language.py +1 -0
- windmill_api/models/set_capture_config_json_body.py +97 -0
- windmill_api/models/set_capture_config_json_body_trigger_config.py +44 -0
- windmill_api/models/set_capture_config_json_body_trigger_kind.py +13 -0
- windmill_api/models/set_nats_trigger_enabled_json_body.py +58 -0
- windmill_api/models/set_postgres_trigger_enabled_json_body.py +58 -0
- windmill_api/models/set_threshold_alert_json_body.py +58 -0
- windmill_api/models/slot.py +58 -0
- windmill_api/models/slot_list.py +66 -0
- windmill_api/models/sync_teams_response_200_item.py +87 -0
- windmill_api/models/sync_teams_response_200_item_channels_item.py +80 -0
- windmill_api/models/table_to_track_item.py +79 -0
- windmill_api/models/team_info.py +87 -0
- windmill_api/models/team_info_channels_item.py +80 -0
- windmill_api/models/template_script.py +90 -0
- windmill_api/models/template_script_language.py +8 -0
- windmill_api/models/template_script_relations_item.py +82 -0
- windmill_api/models/template_script_relations_item_table_to_track_item.py +79 -0
- windmill_api/models/trigger_extra_property.py +95 -0
- windmill_api/models/trigger_extra_property_extra_perms.py +44 -0
- windmill_api/models/triggers_count.py +16 -0
- windmill_api/models/update_nats_trigger_json_body.py +112 -0
- windmill_api/models/update_operator_settings_json_body.py +114 -0
- windmill_api/models/update_postgres_publication_json_body.py +90 -0
- windmill_api/models/update_postgres_publication_json_body_table_to_track_item.py +86 -0
- windmill_api/models/update_postgres_publication_json_body_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/update_postgres_trigger_json_body.py +123 -0
- windmill_api/models/update_postgres_trigger_json_body_publication.py +92 -0
- windmill_api/models/update_postgres_trigger_json_body_publication_table_to_track_item.py +86 -0
- windmill_api/models/update_postgres_trigger_json_body_publication_table_to_track_item_table_to_track_item.py +79 -0
- windmill_api/models/update_websocket_trigger_json_body.py +40 -24
- windmill_api/models/user_workspace_list_workspaces_item.py +37 -1
- windmill_api/models/user_workspace_list_workspaces_item_operator_settings.py +114 -0
- windmill_api/models/websocket_trigger.py +83 -73
- windmill_api/models/workspace.py +8 -0
- {windmill_api-1.440.1.dist-info → windmill_api-1.450.1.dist-info}/METADATA +1 -1
- {windmill_api-1.440.1.dist-info → windmill_api-1.450.1.dist-info}/RECORD +231 -100
- {windmill_api-1.440.1.dist-info → windmill_api-1.450.1.dist-info}/LICENSE +0 -0
- {windmill_api-1.440.1.dist-info → windmill_api-1.450.1.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from ..models.update_postgres_trigger_json_body_publication import UpdatePostgresTriggerJsonBodyPublication
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
T = TypeVar("T", bound="UpdatePostgresTriggerJsonBody")
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@_attrs_define
|
|
16
|
+
class UpdatePostgresTriggerJsonBody:
|
|
17
|
+
"""
|
|
18
|
+
Attributes:
|
|
19
|
+
replication_slot_name (str):
|
|
20
|
+
publication_name (str):
|
|
21
|
+
path (str):
|
|
22
|
+
script_path (str):
|
|
23
|
+
is_flow (bool):
|
|
24
|
+
enabled (bool):
|
|
25
|
+
postgres_resource_path (str):
|
|
26
|
+
publication (Union[Unset, UpdatePostgresTriggerJsonBodyPublication]):
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
replication_slot_name: str
|
|
30
|
+
publication_name: str
|
|
31
|
+
path: str
|
|
32
|
+
script_path: str
|
|
33
|
+
is_flow: bool
|
|
34
|
+
enabled: bool
|
|
35
|
+
postgres_resource_path: str
|
|
36
|
+
publication: Union[Unset, "UpdatePostgresTriggerJsonBodyPublication"] = UNSET
|
|
37
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
38
|
+
|
|
39
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
40
|
+
replication_slot_name = self.replication_slot_name
|
|
41
|
+
publication_name = self.publication_name
|
|
42
|
+
path = self.path
|
|
43
|
+
script_path = self.script_path
|
|
44
|
+
is_flow = self.is_flow
|
|
45
|
+
enabled = self.enabled
|
|
46
|
+
postgres_resource_path = self.postgres_resource_path
|
|
47
|
+
publication: Union[Unset, Dict[str, Any]] = UNSET
|
|
48
|
+
if not isinstance(self.publication, Unset):
|
|
49
|
+
publication = self.publication.to_dict()
|
|
50
|
+
|
|
51
|
+
field_dict: Dict[str, Any] = {}
|
|
52
|
+
field_dict.update(self.additional_properties)
|
|
53
|
+
field_dict.update(
|
|
54
|
+
{
|
|
55
|
+
"replication_slot_name": replication_slot_name,
|
|
56
|
+
"publication_name": publication_name,
|
|
57
|
+
"path": path,
|
|
58
|
+
"script_path": script_path,
|
|
59
|
+
"is_flow": is_flow,
|
|
60
|
+
"enabled": enabled,
|
|
61
|
+
"postgres_resource_path": postgres_resource_path,
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
if publication is not UNSET:
|
|
65
|
+
field_dict["publication"] = publication
|
|
66
|
+
|
|
67
|
+
return field_dict
|
|
68
|
+
|
|
69
|
+
@classmethod
|
|
70
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
71
|
+
from ..models.update_postgres_trigger_json_body_publication import UpdatePostgresTriggerJsonBodyPublication
|
|
72
|
+
|
|
73
|
+
d = src_dict.copy()
|
|
74
|
+
replication_slot_name = d.pop("replication_slot_name")
|
|
75
|
+
|
|
76
|
+
publication_name = d.pop("publication_name")
|
|
77
|
+
|
|
78
|
+
path = d.pop("path")
|
|
79
|
+
|
|
80
|
+
script_path = d.pop("script_path")
|
|
81
|
+
|
|
82
|
+
is_flow = d.pop("is_flow")
|
|
83
|
+
|
|
84
|
+
enabled = d.pop("enabled")
|
|
85
|
+
|
|
86
|
+
postgres_resource_path = d.pop("postgres_resource_path")
|
|
87
|
+
|
|
88
|
+
_publication = d.pop("publication", UNSET)
|
|
89
|
+
publication: Union[Unset, UpdatePostgresTriggerJsonBodyPublication]
|
|
90
|
+
if isinstance(_publication, Unset):
|
|
91
|
+
publication = UNSET
|
|
92
|
+
else:
|
|
93
|
+
publication = UpdatePostgresTriggerJsonBodyPublication.from_dict(_publication)
|
|
94
|
+
|
|
95
|
+
update_postgres_trigger_json_body = cls(
|
|
96
|
+
replication_slot_name=replication_slot_name,
|
|
97
|
+
publication_name=publication_name,
|
|
98
|
+
path=path,
|
|
99
|
+
script_path=script_path,
|
|
100
|
+
is_flow=is_flow,
|
|
101
|
+
enabled=enabled,
|
|
102
|
+
postgres_resource_path=postgres_resource_path,
|
|
103
|
+
publication=publication,
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
update_postgres_trigger_json_body.additional_properties = d
|
|
107
|
+
return update_postgres_trigger_json_body
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
def additional_keys(self) -> List[str]:
|
|
111
|
+
return list(self.additional_properties.keys())
|
|
112
|
+
|
|
113
|
+
def __getitem__(self, key: str) -> Any:
|
|
114
|
+
return self.additional_properties[key]
|
|
115
|
+
|
|
116
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
117
|
+
self.additional_properties[key] = value
|
|
118
|
+
|
|
119
|
+
def __delitem__(self, key: str) -> None:
|
|
120
|
+
del self.additional_properties[key]
|
|
121
|
+
|
|
122
|
+
def __contains__(self, key: str) -> bool:
|
|
123
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union, cast
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from ..models.update_postgres_trigger_json_body_publication_table_to_track_item import (
|
|
10
|
+
UpdatePostgresTriggerJsonBodyPublicationTableToTrackItem,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
T = TypeVar("T", bound="UpdatePostgresTriggerJsonBodyPublication")
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
@_attrs_define
|
|
18
|
+
class UpdatePostgresTriggerJsonBodyPublication:
|
|
19
|
+
"""
|
|
20
|
+
Attributes:
|
|
21
|
+
transaction_to_track (List[str]):
|
|
22
|
+
table_to_track (Union[Unset, List['UpdatePostgresTriggerJsonBodyPublicationTableToTrackItem']]):
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
transaction_to_track: List[str]
|
|
26
|
+
table_to_track: Union[Unset, List["UpdatePostgresTriggerJsonBodyPublicationTableToTrackItem"]] = UNSET
|
|
27
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
28
|
+
|
|
29
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
30
|
+
transaction_to_track = self.transaction_to_track
|
|
31
|
+
|
|
32
|
+
table_to_track: Union[Unset, List[Dict[str, Any]]] = UNSET
|
|
33
|
+
if not isinstance(self.table_to_track, Unset):
|
|
34
|
+
table_to_track = []
|
|
35
|
+
for table_to_track_item_data in self.table_to_track:
|
|
36
|
+
table_to_track_item = table_to_track_item_data.to_dict()
|
|
37
|
+
|
|
38
|
+
table_to_track.append(table_to_track_item)
|
|
39
|
+
|
|
40
|
+
field_dict: Dict[str, Any] = {}
|
|
41
|
+
field_dict.update(self.additional_properties)
|
|
42
|
+
field_dict.update(
|
|
43
|
+
{
|
|
44
|
+
"transaction_to_track": transaction_to_track,
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
if table_to_track is not UNSET:
|
|
48
|
+
field_dict["table_to_track"] = table_to_track
|
|
49
|
+
|
|
50
|
+
return field_dict
|
|
51
|
+
|
|
52
|
+
@classmethod
|
|
53
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
54
|
+
from ..models.update_postgres_trigger_json_body_publication_table_to_track_item import (
|
|
55
|
+
UpdatePostgresTriggerJsonBodyPublicationTableToTrackItem,
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
d = src_dict.copy()
|
|
59
|
+
transaction_to_track = cast(List[str], d.pop("transaction_to_track"))
|
|
60
|
+
|
|
61
|
+
table_to_track = []
|
|
62
|
+
_table_to_track = d.pop("table_to_track", UNSET)
|
|
63
|
+
for table_to_track_item_data in _table_to_track or []:
|
|
64
|
+
table_to_track_item = UpdatePostgresTriggerJsonBodyPublicationTableToTrackItem.from_dict(
|
|
65
|
+
table_to_track_item_data
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
table_to_track.append(table_to_track_item)
|
|
69
|
+
|
|
70
|
+
update_postgres_trigger_json_body_publication = cls(
|
|
71
|
+
transaction_to_track=transaction_to_track,
|
|
72
|
+
table_to_track=table_to_track,
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
update_postgres_trigger_json_body_publication.additional_properties = d
|
|
76
|
+
return update_postgres_trigger_json_body_publication
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def additional_keys(self) -> List[str]:
|
|
80
|
+
return list(self.additional_properties.keys())
|
|
81
|
+
|
|
82
|
+
def __getitem__(self, key: str) -> Any:
|
|
83
|
+
return self.additional_properties[key]
|
|
84
|
+
|
|
85
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
86
|
+
self.additional_properties[key] = value
|
|
87
|
+
|
|
88
|
+
def __delitem__(self, key: str) -> None:
|
|
89
|
+
del self.additional_properties[key]
|
|
90
|
+
|
|
91
|
+
def __contains__(self, key: str) -> bool:
|
|
92
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
from ..models.update_postgres_trigger_json_body_publication_table_to_track_item_table_to_track_item import (
|
|
8
|
+
UpdatePostgresTriggerJsonBodyPublicationTableToTrackItemTableToTrackItem,
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
T = TypeVar("T", bound="UpdatePostgresTriggerJsonBodyPublicationTableToTrackItem")
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@_attrs_define
|
|
16
|
+
class UpdatePostgresTriggerJsonBodyPublicationTableToTrackItem:
|
|
17
|
+
"""
|
|
18
|
+
Attributes:
|
|
19
|
+
schema_name (str):
|
|
20
|
+
table_to_track (List['UpdatePostgresTriggerJsonBodyPublicationTableToTrackItemTableToTrackItem']):
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
schema_name: str
|
|
24
|
+
table_to_track: List["UpdatePostgresTriggerJsonBodyPublicationTableToTrackItemTableToTrackItem"]
|
|
25
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
26
|
+
|
|
27
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
28
|
+
schema_name = self.schema_name
|
|
29
|
+
table_to_track = []
|
|
30
|
+
for table_to_track_item_data in self.table_to_track:
|
|
31
|
+
table_to_track_item = table_to_track_item_data.to_dict()
|
|
32
|
+
|
|
33
|
+
table_to_track.append(table_to_track_item)
|
|
34
|
+
|
|
35
|
+
field_dict: Dict[str, Any] = {}
|
|
36
|
+
field_dict.update(self.additional_properties)
|
|
37
|
+
field_dict.update(
|
|
38
|
+
{
|
|
39
|
+
"schema_name": schema_name,
|
|
40
|
+
"table_to_track": table_to_track,
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
return field_dict
|
|
45
|
+
|
|
46
|
+
@classmethod
|
|
47
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
48
|
+
from ..models.update_postgres_trigger_json_body_publication_table_to_track_item_table_to_track_item import (
|
|
49
|
+
UpdatePostgresTriggerJsonBodyPublicationTableToTrackItemTableToTrackItem,
|
|
50
|
+
)
|
|
51
|
+
|
|
52
|
+
d = src_dict.copy()
|
|
53
|
+
schema_name = d.pop("schema_name")
|
|
54
|
+
|
|
55
|
+
table_to_track = []
|
|
56
|
+
_table_to_track = d.pop("table_to_track")
|
|
57
|
+
for table_to_track_item_data in _table_to_track:
|
|
58
|
+
table_to_track_item = UpdatePostgresTriggerJsonBodyPublicationTableToTrackItemTableToTrackItem.from_dict(
|
|
59
|
+
table_to_track_item_data
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
table_to_track.append(table_to_track_item)
|
|
63
|
+
|
|
64
|
+
update_postgres_trigger_json_body_publication_table_to_track_item = cls(
|
|
65
|
+
schema_name=schema_name,
|
|
66
|
+
table_to_track=table_to_track,
|
|
67
|
+
)
|
|
68
|
+
|
|
69
|
+
update_postgres_trigger_json_body_publication_table_to_track_item.additional_properties = d
|
|
70
|
+
return update_postgres_trigger_json_body_publication_table_to_track_item
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def additional_keys(self) -> List[str]:
|
|
74
|
+
return list(self.additional_properties.keys())
|
|
75
|
+
|
|
76
|
+
def __getitem__(self, key: str) -> Any:
|
|
77
|
+
return self.additional_properties[key]
|
|
78
|
+
|
|
79
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
80
|
+
self.additional_properties[key] = value
|
|
81
|
+
|
|
82
|
+
def __delitem__(self, key: str) -> None:
|
|
83
|
+
del self.additional_properties[key]
|
|
84
|
+
|
|
85
|
+
def __contains__(self, key: str) -> bool:
|
|
86
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar, Union, cast
|
|
2
|
+
|
|
3
|
+
from attrs import define as _attrs_define
|
|
4
|
+
from attrs import field as _attrs_field
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
T = TypeVar("T", bound="UpdatePostgresTriggerJsonBodyPublicationTableToTrackItemTableToTrackItem")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class UpdatePostgresTriggerJsonBodyPublicationTableToTrackItemTableToTrackItem:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
table_name (str):
|
|
16
|
+
columns_name (Union[Unset, List[str]]):
|
|
17
|
+
where_clause (Union[Unset, str]):
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
table_name: str
|
|
21
|
+
columns_name: Union[Unset, List[str]] = UNSET
|
|
22
|
+
where_clause: Union[Unset, str] = UNSET
|
|
23
|
+
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
24
|
+
|
|
25
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
26
|
+
table_name = self.table_name
|
|
27
|
+
columns_name: Union[Unset, List[str]] = UNSET
|
|
28
|
+
if not isinstance(self.columns_name, Unset):
|
|
29
|
+
columns_name = self.columns_name
|
|
30
|
+
|
|
31
|
+
where_clause = self.where_clause
|
|
32
|
+
|
|
33
|
+
field_dict: Dict[str, Any] = {}
|
|
34
|
+
field_dict.update(self.additional_properties)
|
|
35
|
+
field_dict.update(
|
|
36
|
+
{
|
|
37
|
+
"table_name": table_name,
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
if columns_name is not UNSET:
|
|
41
|
+
field_dict["columns_name"] = columns_name
|
|
42
|
+
if where_clause is not UNSET:
|
|
43
|
+
field_dict["where_clause"] = where_clause
|
|
44
|
+
|
|
45
|
+
return field_dict
|
|
46
|
+
|
|
47
|
+
@classmethod
|
|
48
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
49
|
+
d = src_dict.copy()
|
|
50
|
+
table_name = d.pop("table_name")
|
|
51
|
+
|
|
52
|
+
columns_name = cast(List[str], d.pop("columns_name", UNSET))
|
|
53
|
+
|
|
54
|
+
where_clause = d.pop("where_clause", UNSET)
|
|
55
|
+
|
|
56
|
+
update_postgres_trigger_json_body_publication_table_to_track_item_table_to_track_item = cls(
|
|
57
|
+
table_name=table_name,
|
|
58
|
+
columns_name=columns_name,
|
|
59
|
+
where_clause=where_clause,
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
update_postgres_trigger_json_body_publication_table_to_track_item_table_to_track_item.additional_properties = d
|
|
63
|
+
return update_postgres_trigger_json_body_publication_table_to_track_item_table_to_track_item
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def additional_keys(self) -> List[str]:
|
|
67
|
+
return list(self.additional_properties.keys())
|
|
68
|
+
|
|
69
|
+
def __getitem__(self, key: str) -> Any:
|
|
70
|
+
return self.additional_properties[key]
|
|
71
|
+
|
|
72
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
73
|
+
self.additional_properties[key] = value
|
|
74
|
+
|
|
75
|
+
def __delitem__(self, key: str) -> None:
|
|
76
|
+
del self.additional_properties[key]
|
|
77
|
+
|
|
78
|
+
def __contains__(self, key: str) -> bool:
|
|
79
|
+
return key in self.additional_properties
|
|
@@ -3,6 +3,8 @@ from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
|
3
3
|
from attrs import define as _attrs_define
|
|
4
4
|
from attrs import field as _attrs_field
|
|
5
5
|
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
6
8
|
if TYPE_CHECKING:
|
|
7
9
|
from ..models.update_websocket_trigger_json_body_filters_item import UpdateWebsocketTriggerJsonBodyFiltersItem
|
|
8
10
|
from ..models.update_websocket_trigger_json_body_initial_messages_item_type_0 import (
|
|
@@ -28,9 +30,9 @@ class UpdateWebsocketTriggerJsonBody:
|
|
|
28
30
|
script_path (str):
|
|
29
31
|
is_flow (bool):
|
|
30
32
|
filters (List['UpdateWebsocketTriggerJsonBodyFiltersItem']):
|
|
31
|
-
initial_messages (List[Union['UpdateWebsocketTriggerJsonBodyInitialMessagesItemType0',
|
|
32
|
-
'UpdateWebsocketTriggerJsonBodyInitialMessagesItemType1']]):
|
|
33
|
-
url_runnable_args (UpdateWebsocketTriggerJsonBodyUrlRunnableArgs):
|
|
33
|
+
initial_messages (Union[Unset, List[Union['UpdateWebsocketTriggerJsonBodyInitialMessagesItemType0',
|
|
34
|
+
'UpdateWebsocketTriggerJsonBodyInitialMessagesItemType1']]]):
|
|
35
|
+
url_runnable_args (Union[Unset, UpdateWebsocketTriggerJsonBodyUrlRunnableArgs]):
|
|
34
36
|
"""
|
|
35
37
|
|
|
36
38
|
url: str
|
|
@@ -38,13 +40,16 @@ class UpdateWebsocketTriggerJsonBody:
|
|
|
38
40
|
script_path: str
|
|
39
41
|
is_flow: bool
|
|
40
42
|
filters: List["UpdateWebsocketTriggerJsonBodyFiltersItem"]
|
|
41
|
-
initial_messages:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
initial_messages: Union[
|
|
44
|
+
Unset,
|
|
45
|
+
List[
|
|
46
|
+
Union[
|
|
47
|
+
"UpdateWebsocketTriggerJsonBodyInitialMessagesItemType0",
|
|
48
|
+
"UpdateWebsocketTriggerJsonBodyInitialMessagesItemType1",
|
|
49
|
+
]
|
|
50
|
+
],
|
|
51
|
+
] = UNSET
|
|
52
|
+
url_runnable_args: Union[Unset, "UpdateWebsocketTriggerJsonBodyUrlRunnableArgs"] = UNSET
|
|
48
53
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
49
54
|
|
|
50
55
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -62,19 +67,23 @@ class UpdateWebsocketTriggerJsonBody:
|
|
|
62
67
|
|
|
63
68
|
filters.append(filters_item)
|
|
64
69
|
|
|
65
|
-
initial_messages
|
|
66
|
-
|
|
67
|
-
|
|
70
|
+
initial_messages: Union[Unset, List[Dict[str, Any]]] = UNSET
|
|
71
|
+
if not isinstance(self.initial_messages, Unset):
|
|
72
|
+
initial_messages = []
|
|
73
|
+
for initial_messages_item_data in self.initial_messages:
|
|
74
|
+
initial_messages_item: Dict[str, Any]
|
|
68
75
|
|
|
69
|
-
|
|
70
|
-
|
|
76
|
+
if isinstance(initial_messages_item_data, UpdateWebsocketTriggerJsonBodyInitialMessagesItemType0):
|
|
77
|
+
initial_messages_item = initial_messages_item_data.to_dict()
|
|
71
78
|
|
|
72
|
-
|
|
73
|
-
|
|
79
|
+
else:
|
|
80
|
+
initial_messages_item = initial_messages_item_data.to_dict()
|
|
74
81
|
|
|
75
|
-
|
|
82
|
+
initial_messages.append(initial_messages_item)
|
|
76
83
|
|
|
77
|
-
url_runnable_args =
|
|
84
|
+
url_runnable_args: Union[Unset, Dict[str, Any]] = UNSET
|
|
85
|
+
if not isinstance(self.url_runnable_args, Unset):
|
|
86
|
+
url_runnable_args = self.url_runnable_args.to_dict()
|
|
78
87
|
|
|
79
88
|
field_dict: Dict[str, Any] = {}
|
|
80
89
|
field_dict.update(self.additional_properties)
|
|
@@ -85,10 +94,12 @@ class UpdateWebsocketTriggerJsonBody:
|
|
|
85
94
|
"script_path": script_path,
|
|
86
95
|
"is_flow": is_flow,
|
|
87
96
|
"filters": filters,
|
|
88
|
-
"initial_messages": initial_messages,
|
|
89
|
-
"url_runnable_args": url_runnable_args,
|
|
90
97
|
}
|
|
91
98
|
)
|
|
99
|
+
if initial_messages is not UNSET:
|
|
100
|
+
field_dict["initial_messages"] = initial_messages
|
|
101
|
+
if url_runnable_args is not UNSET:
|
|
102
|
+
field_dict["url_runnable_args"] = url_runnable_args
|
|
92
103
|
|
|
93
104
|
return field_dict
|
|
94
105
|
|
|
@@ -122,8 +133,8 @@ class UpdateWebsocketTriggerJsonBody:
|
|
|
122
133
|
filters.append(filters_item)
|
|
123
134
|
|
|
124
135
|
initial_messages = []
|
|
125
|
-
_initial_messages = d.pop("initial_messages")
|
|
126
|
-
for initial_messages_item_data in _initial_messages:
|
|
136
|
+
_initial_messages = d.pop("initial_messages", UNSET)
|
|
137
|
+
for initial_messages_item_data in _initial_messages or []:
|
|
127
138
|
|
|
128
139
|
def _parse_initial_messages_item(
|
|
129
140
|
data: object,
|
|
@@ -151,7 +162,12 @@ class UpdateWebsocketTriggerJsonBody:
|
|
|
151
162
|
|
|
152
163
|
initial_messages.append(initial_messages_item)
|
|
153
164
|
|
|
154
|
-
|
|
165
|
+
_url_runnable_args = d.pop("url_runnable_args", UNSET)
|
|
166
|
+
url_runnable_args: Union[Unset, UpdateWebsocketTriggerJsonBodyUrlRunnableArgs]
|
|
167
|
+
if isinstance(_url_runnable_args, Unset):
|
|
168
|
+
url_runnable_args = UNSET
|
|
169
|
+
else:
|
|
170
|
+
url_runnable_args = UpdateWebsocketTriggerJsonBodyUrlRunnableArgs.from_dict(_url_runnable_args)
|
|
155
171
|
|
|
156
172
|
update_websocket_trigger_json_body = cls(
|
|
157
173
|
url=url,
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
from typing import Any, Dict, List, Type, TypeVar
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
2
|
|
|
3
3
|
from attrs import define as _attrs_define
|
|
4
4
|
from attrs import field as _attrs_field
|
|
5
5
|
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from ..models.user_workspace_list_workspaces_item_operator_settings import (
|
|
10
|
+
UserWorkspaceListWorkspacesItemOperatorSettings,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
T = TypeVar("T", bound="UserWorkspaceListWorkspacesItem")
|
|
7
15
|
|
|
8
16
|
|
|
@@ -13,17 +21,25 @@ class UserWorkspaceListWorkspacesItem:
|
|
|
13
21
|
id (str):
|
|
14
22
|
name (str):
|
|
15
23
|
username (str):
|
|
24
|
+
color (str):
|
|
25
|
+
operator_settings (Union[Unset, None, UserWorkspaceListWorkspacesItemOperatorSettings]):
|
|
16
26
|
"""
|
|
17
27
|
|
|
18
28
|
id: str
|
|
19
29
|
name: str
|
|
20
30
|
username: str
|
|
31
|
+
color: str
|
|
32
|
+
operator_settings: Union[Unset, None, "UserWorkspaceListWorkspacesItemOperatorSettings"] = UNSET
|
|
21
33
|
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
22
34
|
|
|
23
35
|
def to_dict(self) -> Dict[str, Any]:
|
|
24
36
|
id = self.id
|
|
25
37
|
name = self.name
|
|
26
38
|
username = self.username
|
|
39
|
+
color = self.color
|
|
40
|
+
operator_settings: Union[Unset, None, Dict[str, Any]] = UNSET
|
|
41
|
+
if not isinstance(self.operator_settings, Unset):
|
|
42
|
+
operator_settings = self.operator_settings.to_dict() if self.operator_settings else None
|
|
27
43
|
|
|
28
44
|
field_dict: Dict[str, Any] = {}
|
|
29
45
|
field_dict.update(self.additional_properties)
|
|
@@ -32,13 +48,20 @@ class UserWorkspaceListWorkspacesItem:
|
|
|
32
48
|
"id": id,
|
|
33
49
|
"name": name,
|
|
34
50
|
"username": username,
|
|
51
|
+
"color": color,
|
|
35
52
|
}
|
|
36
53
|
)
|
|
54
|
+
if operator_settings is not UNSET:
|
|
55
|
+
field_dict["operator_settings"] = operator_settings
|
|
37
56
|
|
|
38
57
|
return field_dict
|
|
39
58
|
|
|
40
59
|
@classmethod
|
|
41
60
|
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
61
|
+
from ..models.user_workspace_list_workspaces_item_operator_settings import (
|
|
62
|
+
UserWorkspaceListWorkspacesItemOperatorSettings,
|
|
63
|
+
)
|
|
64
|
+
|
|
42
65
|
d = src_dict.copy()
|
|
43
66
|
id = d.pop("id")
|
|
44
67
|
|
|
@@ -46,10 +69,23 @@ class UserWorkspaceListWorkspacesItem:
|
|
|
46
69
|
|
|
47
70
|
username = d.pop("username")
|
|
48
71
|
|
|
72
|
+
color = d.pop("color")
|
|
73
|
+
|
|
74
|
+
_operator_settings = d.pop("operator_settings", UNSET)
|
|
75
|
+
operator_settings: Union[Unset, None, UserWorkspaceListWorkspacesItemOperatorSettings]
|
|
76
|
+
if _operator_settings is None:
|
|
77
|
+
operator_settings = None
|
|
78
|
+
elif isinstance(_operator_settings, Unset):
|
|
79
|
+
operator_settings = UNSET
|
|
80
|
+
else:
|
|
81
|
+
operator_settings = UserWorkspaceListWorkspacesItemOperatorSettings.from_dict(_operator_settings)
|
|
82
|
+
|
|
49
83
|
user_workspace_list_workspaces_item = cls(
|
|
50
84
|
id=id,
|
|
51
85
|
name=name,
|
|
52
86
|
username=username,
|
|
87
|
+
color=color,
|
|
88
|
+
operator_settings=operator_settings,
|
|
53
89
|
)
|
|
54
90
|
|
|
55
91
|
user_workspace_list_workspaces_item.additional_properties = d
|