lightning-sdk 2025.11.13.post0__py3-none-any.whl → 2025.11.21__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.
Files changed (61) hide show
  1. lightning_sdk/__init__.py +2 -0
  2. lightning_sdk/__version__.py +1 -1
  3. lightning_sdk/api/__init__.py +2 -9
  4. lightning_sdk/api/k8s_api.py +105 -0
  5. lightning_sdk/api/studio_api.py +19 -0
  6. lightning_sdk/api/utils.py +19 -0
  7. lightning_sdk/exceptions.py +2 -0
  8. lightning_sdk/k8s_cluster.py +83 -0
  9. lightning_sdk/lightning_cloud/openapi/__init__.py +15 -0
  10. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +134 -1
  11. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +5 -1
  12. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +539 -2
  13. lightning_sdk/lightning_cloud/openapi/api/k8_s_cluster_service_api.py +114 -0
  14. lightning_sdk/lightning_cloud/openapi/api/markets_service_api.py +5 -1
  15. lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +99 -2
  16. lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +5 -1
  17. lightning_sdk/lightning_cloud/openapi/models/__init__.py +15 -0
  18. lightning_sdk/lightning_cloud/openapi/models/cluster_id_metrics_body.py +29 -3
  19. lightning_sdk/lightning_cloud/openapi/models/deployments_deployment_id_body.py +149 -0
  20. lightning_sdk/lightning_cloud/openapi/models/id_content_body.py +123 -0
  21. lightning_sdk/lightning_cloud/openapi/models/job_id_systemmetrics_body.py +123 -0
  22. lightning_sdk/lightning_cloud/openapi/models/message_id_actions_body.py +27 -1
  23. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +1 -27
  24. lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +27 -1
  25. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +107 -3
  26. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +53 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_compute_cluster_machines.py +149 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_compute_cluster_request.py +149 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +1 -27
  30. lightning_sdk/lightning_cloud/openapi/models/v1_generic_job.py +305 -0
  31. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_balance_response.py +27 -1
  32. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +27 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_pod.py +435 -0
  34. lightning_sdk/lightning_cloud/openapi/models/v1_list_all_jobs_response.py +175 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_list_jobs_sort_by.py +104 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_list_jobs_sort_order.py +104 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_list_kubernetes_pods_response.py +149 -0
  38. lightning_sdk/lightning_cloud/openapi/models/v1_list_pipelines_response.py +55 -3
  39. lightning_sdk/lightning_cloud/openapi/models/v1_machine_direct_v1.py +53 -1
  40. lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py +27 -1
  41. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +1 -27
  42. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +27 -1
  43. lightning_sdk/lightning_cloud/openapi/models/v1_message_action.py +27 -1
  44. lightning_sdk/lightning_cloud/openapi/models/v1_org_deployment_visibility.py +227 -0
  45. lightning_sdk/lightning_cloud/openapi/models/v1_pod_preemption_event.py +305 -0
  46. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +1 -27
  47. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +1 -27
  48. lightning_sdk/lightning_cloud/openapi/models/v1_report_job_system_metrics_response.py +97 -0
  49. lightning_sdk/lightning_cloud/openapi/models/v1_resource_visibility.py +27 -1
  50. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
  51. lightning_sdk/lightning_cloud/openapi/models/v1_update_conversation_message_content_response.py +123 -0
  52. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +133 -107
  53. lightning_sdk/lightning_cloud/openapi/models/v1_validate_storage_transfer_response.py +15 -15
  54. lightning_sdk/lightning_cloud/rest_client.py +2 -0
  55. lightning_sdk/studio.py +12 -0
  56. {lightning_sdk-2025.11.13.post0.dist-info → lightning_sdk-2025.11.21.dist-info}/METADATA +2 -1
  57. {lightning_sdk-2025.11.13.post0.dist-info → lightning_sdk-2025.11.21.dist-info}/RECORD +61 -43
  58. {lightning_sdk-2025.11.13.post0.dist-info → lightning_sdk-2025.11.21.dist-info}/LICENSE +0 -0
  59. {lightning_sdk-2025.11.13.post0.dist-info → lightning_sdk-2025.11.21.dist-info}/WHEEL +0 -0
  60. {lightning_sdk-2025.11.13.post0.dist-info → lightning_sdk-2025.11.21.dist-info}/entry_points.txt +0 -0
  61. {lightning_sdk-2025.11.13.post0.dist-info → lightning_sdk-2025.11.21.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,104 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class V1ListJobsSortOrder(object):
32
+ """NOTE: This class is auto generated by the swagger code generator program.
33
+
34
+ Do not edit the class manually.
35
+ """
36
+
37
+ """
38
+ allowed enum values
39
+ """
40
+ UNSPECIFIED = "LIST_JOBS_SORT_ORDER_UNSPECIFIED"
41
+ ASCENDING = "LIST_JOBS_SORT_ORDER_ASCENDING"
42
+ DESCENDING = "LIST_JOBS_SORT_ORDER_DESCENDING"
43
+ """
44
+ Attributes:
45
+ swagger_types (dict): The key is attribute name
46
+ and the value is attribute type.
47
+ attribute_map (dict): The key is attribute name
48
+ and the value is json key in definition.
49
+ """
50
+ swagger_types = {
51
+ }
52
+
53
+ attribute_map = {
54
+ }
55
+
56
+ def __init__(self): # noqa: E501
57
+ """V1ListJobsSortOrder - a model defined in Swagger""" # noqa: E501
58
+ self.discriminator = None
59
+
60
+ def to_dict(self) -> dict:
61
+ """Returns the model properties as a dict"""
62
+ result = {}
63
+
64
+ for attr, _ in six.iteritems(self.swagger_types):
65
+ value = getattr(self, attr)
66
+ if isinstance(value, list):
67
+ result[attr] = list(map(
68
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
69
+ value
70
+ ))
71
+ elif hasattr(value, "to_dict"):
72
+ result[attr] = value.to_dict()
73
+ elif isinstance(value, dict):
74
+ result[attr] = dict(map(
75
+ lambda item: (item[0], item[1].to_dict())
76
+ if hasattr(item[1], "to_dict") else item,
77
+ value.items()
78
+ ))
79
+ else:
80
+ result[attr] = value
81
+ if issubclass(V1ListJobsSortOrder, dict):
82
+ for key, value in self.items():
83
+ result[key] = value
84
+
85
+ return result
86
+
87
+ def to_str(self) -> str:
88
+ """Returns the string representation of the model"""
89
+ return pprint.pformat(self.to_dict())
90
+
91
+ def __repr__(self) -> str:
92
+ """For `print` and `pprint`"""
93
+ return self.to_str()
94
+
95
+ def __eq__(self, other: 'V1ListJobsSortOrder') -> bool:
96
+ """Returns true if both objects are equal"""
97
+ if not isinstance(other, V1ListJobsSortOrder):
98
+ return False
99
+
100
+ return self.__dict__ == other.__dict__
101
+
102
+ def __ne__(self, other: 'V1ListJobsSortOrder') -> bool:
103
+ """Returns true if both objects are not equal"""
104
+ return not self == other
@@ -0,0 +1,149 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class V1ListKubernetesPodsResponse(object):
32
+ """NOTE: This class is auto generated by the swagger code generator program.
33
+
34
+ Do not edit the class manually.
35
+ """
36
+ """
37
+ Attributes:
38
+ swagger_types (dict): The key is attribute name
39
+ and the value is attribute type.
40
+ attribute_map (dict): The key is attribute name
41
+ and the value is json key in definition.
42
+ """
43
+ swagger_types = {
44
+ 'pods': 'list[V1KubernetesPod]',
45
+ 'status_in': 'list[str]'
46
+ }
47
+
48
+ attribute_map = {
49
+ 'pods': 'pods',
50
+ 'status_in': 'statusIn'
51
+ }
52
+
53
+ def __init__(self, pods: 'list[V1KubernetesPod]' =None, status_in: 'list[str]' =None): # noqa: E501
54
+ """V1ListKubernetesPodsResponse - a model defined in Swagger""" # noqa: E501
55
+ self._pods = None
56
+ self._status_in = None
57
+ self.discriminator = None
58
+ if pods is not None:
59
+ self.pods = pods
60
+ if status_in is not None:
61
+ self.status_in = status_in
62
+
63
+ @property
64
+ def pods(self) -> 'list[V1KubernetesPod]':
65
+ """Gets the pods of this V1ListKubernetesPodsResponse. # noqa: E501
66
+
67
+
68
+ :return: The pods of this V1ListKubernetesPodsResponse. # noqa: E501
69
+ :rtype: list[V1KubernetesPod]
70
+ """
71
+ return self._pods
72
+
73
+ @pods.setter
74
+ def pods(self, pods: 'list[V1KubernetesPod]'):
75
+ """Sets the pods of this V1ListKubernetesPodsResponse.
76
+
77
+
78
+ :param pods: The pods of this V1ListKubernetesPodsResponse. # noqa: E501
79
+ :type: list[V1KubernetesPod]
80
+ """
81
+
82
+ self._pods = pods
83
+
84
+ @property
85
+ def status_in(self) -> 'list[str]':
86
+ """Gets the status_in of this V1ListKubernetesPodsResponse. # noqa: E501
87
+
88
+
89
+ :return: The status_in of this V1ListKubernetesPodsResponse. # noqa: E501
90
+ :rtype: list[str]
91
+ """
92
+ return self._status_in
93
+
94
+ @status_in.setter
95
+ def status_in(self, status_in: 'list[str]'):
96
+ """Sets the status_in of this V1ListKubernetesPodsResponse.
97
+
98
+
99
+ :param status_in: The status_in of this V1ListKubernetesPodsResponse. # noqa: E501
100
+ :type: list[str]
101
+ """
102
+
103
+ self._status_in = status_in
104
+
105
+ def to_dict(self) -> dict:
106
+ """Returns the model properties as a dict"""
107
+ result = {}
108
+
109
+ for attr, _ in six.iteritems(self.swagger_types):
110
+ value = getattr(self, attr)
111
+ if isinstance(value, list):
112
+ result[attr] = list(map(
113
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
114
+ value
115
+ ))
116
+ elif hasattr(value, "to_dict"):
117
+ result[attr] = value.to_dict()
118
+ elif isinstance(value, dict):
119
+ result[attr] = dict(map(
120
+ lambda item: (item[0], item[1].to_dict())
121
+ if hasattr(item[1], "to_dict") else item,
122
+ value.items()
123
+ ))
124
+ else:
125
+ result[attr] = value
126
+ if issubclass(V1ListKubernetesPodsResponse, dict):
127
+ for key, value in self.items():
128
+ result[key] = value
129
+
130
+ return result
131
+
132
+ def to_str(self) -> str:
133
+ """Returns the string representation of the model"""
134
+ return pprint.pformat(self.to_dict())
135
+
136
+ def __repr__(self) -> str:
137
+ """For `print` and `pprint`"""
138
+ return self.to_str()
139
+
140
+ def __eq__(self, other: 'V1ListKubernetesPodsResponse') -> bool:
141
+ """Returns true if both objects are equal"""
142
+ if not isinstance(other, V1ListKubernetesPodsResponse):
143
+ return False
144
+
145
+ return self.__dict__ == other.__dict__
146
+
147
+ def __ne__(self, other: 'V1ListKubernetesPodsResponse') -> bool:
148
+ """Returns true if both objects are not equal"""
149
+ return not self == other
@@ -41,19 +41,50 @@ class V1ListPipelinesResponse(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'pipelines': 'list[V1Pipeline]'
44
+ 'next_page_token': 'str',
45
+ 'pipelines': 'list[V1Pipeline]',
46
+ 'previous_page_token': 'str'
45
47
  }
46
48
 
47
49
  attribute_map = {
48
- 'pipelines': 'pipelines'
50
+ 'next_page_token': 'nextPageToken',
51
+ 'pipelines': 'pipelines',
52
+ 'previous_page_token': 'previousPageToken'
49
53
  }
50
54
 
51
- def __init__(self, pipelines: 'list[V1Pipeline]' =None): # noqa: E501
55
+ def __init__(self, next_page_token: 'str' =None, pipelines: 'list[V1Pipeline]' =None, previous_page_token: 'str' =None): # noqa: E501
52
56
  """V1ListPipelinesResponse - a model defined in Swagger""" # noqa: E501
57
+ self._next_page_token = None
53
58
  self._pipelines = None
59
+ self._previous_page_token = None
54
60
  self.discriminator = None
61
+ if next_page_token is not None:
62
+ self.next_page_token = next_page_token
55
63
  if pipelines is not None:
56
64
  self.pipelines = pipelines
65
+ if previous_page_token is not None:
66
+ self.previous_page_token = previous_page_token
67
+
68
+ @property
69
+ def next_page_token(self) -> 'str':
70
+ """Gets the next_page_token of this V1ListPipelinesResponse. # noqa: E501
71
+
72
+
73
+ :return: The next_page_token of this V1ListPipelinesResponse. # noqa: E501
74
+ :rtype: str
75
+ """
76
+ return self._next_page_token
77
+
78
+ @next_page_token.setter
79
+ def next_page_token(self, next_page_token: 'str'):
80
+ """Sets the next_page_token of this V1ListPipelinesResponse.
81
+
82
+
83
+ :param next_page_token: The next_page_token of this V1ListPipelinesResponse. # noqa: E501
84
+ :type: str
85
+ """
86
+
87
+ self._next_page_token = next_page_token
57
88
 
58
89
  @property
59
90
  def pipelines(self) -> 'list[V1Pipeline]':
@@ -76,6 +107,27 @@ class V1ListPipelinesResponse(object):
76
107
 
77
108
  self._pipelines = pipelines
78
109
 
110
+ @property
111
+ def previous_page_token(self) -> 'str':
112
+ """Gets the previous_page_token of this V1ListPipelinesResponse. # noqa: E501
113
+
114
+
115
+ :return: The previous_page_token of this V1ListPipelinesResponse. # noqa: E501
116
+ :rtype: str
117
+ """
118
+ return self._previous_page_token
119
+
120
+ @previous_page_token.setter
121
+ def previous_page_token(self, previous_page_token: 'str'):
122
+ """Sets the previous_page_token of this V1ListPipelinesResponse.
123
+
124
+
125
+ :param previous_page_token: The previous_page_token of this V1ListPipelinesResponse. # noqa: E501
126
+ :type: str
127
+ """
128
+
129
+ self._previous_page_token = previous_page_token
130
+
79
131
  def to_dict(self) -> dict:
80
132
  """Returns the model properties as a dict"""
81
133
  result = {}
@@ -41,20 +41,72 @@ class V1MachineDirectV1(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'primary_region': 'str',
45
+ 'regions': 'list[str]',
44
46
  'tailscale_auth_key_secret_id': 'str'
45
47
  }
46
48
 
47
49
  attribute_map = {
50
+ 'primary_region': 'primaryRegion',
51
+ 'regions': 'regions',
48
52
  'tailscale_auth_key_secret_id': 'tailscaleAuthKeySecretId'
49
53
  }
50
54
 
51
- def __init__(self, tailscale_auth_key_secret_id: 'str' =None): # noqa: E501
55
+ def __init__(self, primary_region: 'str' =None, regions: 'list[str]' =None, tailscale_auth_key_secret_id: 'str' =None): # noqa: E501
52
56
  """V1MachineDirectV1 - a model defined in Swagger""" # noqa: E501
57
+ self._primary_region = None
58
+ self._regions = None
53
59
  self._tailscale_auth_key_secret_id = None
54
60
  self.discriminator = None
61
+ if primary_region is not None:
62
+ self.primary_region = primary_region
63
+ if regions is not None:
64
+ self.regions = regions
55
65
  if tailscale_auth_key_secret_id is not None:
56
66
  self.tailscale_auth_key_secret_id = tailscale_auth_key_secret_id
57
67
 
68
+ @property
69
+ def primary_region(self) -> 'str':
70
+ """Gets the primary_region of this V1MachineDirectV1. # noqa: E501
71
+
72
+
73
+ :return: The primary_region of this V1MachineDirectV1. # noqa: E501
74
+ :rtype: str
75
+ """
76
+ return self._primary_region
77
+
78
+ @primary_region.setter
79
+ def primary_region(self, primary_region: 'str'):
80
+ """Sets the primary_region of this V1MachineDirectV1.
81
+
82
+
83
+ :param primary_region: The primary_region of this V1MachineDirectV1. # noqa: E501
84
+ :type: str
85
+ """
86
+
87
+ self._primary_region = primary_region
88
+
89
+ @property
90
+ def regions(self) -> 'list[str]':
91
+ """Gets the regions of this V1MachineDirectV1. # noqa: E501
92
+
93
+
94
+ :return: The regions of this V1MachineDirectV1. # noqa: E501
95
+ :rtype: list[str]
96
+ """
97
+ return self._regions
98
+
99
+ @regions.setter
100
+ def regions(self, regions: 'list[str]'):
101
+ """Sets the regions of this V1MachineDirectV1.
102
+
103
+
104
+ :param regions: The regions of this V1MachineDirectV1. # noqa: E501
105
+ :type: list[str]
106
+ """
107
+
108
+ self._regions = regions
109
+
58
110
  @property
59
111
  def tailscale_auth_key_secret_id(self) -> 'str':
60
112
  """Gets the tailscale_auth_key_secret_id of this V1MachineDirectV1. # noqa: E501
@@ -44,6 +44,7 @@ class V1MagicLinkLoginRequest(object):
44
44
  'collab_session_id': 'str',
45
45
  'email': 'str',
46
46
  'experimentation_id': 'str',
47
+ 'guest_user_api_key': 'str',
47
48
  'invite_code': 'str',
48
49
  'redirect_url': 'str',
49
50
  'referrer_params': 'str'
@@ -53,16 +54,18 @@ class V1MagicLinkLoginRequest(object):
53
54
  'collab_session_id': 'collabSessionId',
54
55
  'email': 'email',
55
56
  'experimentation_id': 'experimentationId',
57
+ 'guest_user_api_key': 'guestUserApiKey',
56
58
  'invite_code': 'inviteCode',
57
59
  'redirect_url': 'redirectUrl',
58
60
  'referrer_params': 'referrerParams'
59
61
  }
60
62
 
61
- def __init__(self, collab_session_id: 'str' =None, email: 'str' =None, experimentation_id: 'str' =None, invite_code: 'str' =None, redirect_url: 'str' =None, referrer_params: 'str' =None): # noqa: E501
63
+ def __init__(self, collab_session_id: 'str' =None, email: 'str' =None, experimentation_id: 'str' =None, guest_user_api_key: 'str' =None, invite_code: 'str' =None, redirect_url: 'str' =None, referrer_params: 'str' =None): # noqa: E501
62
64
  """V1MagicLinkLoginRequest - a model defined in Swagger""" # noqa: E501
63
65
  self._collab_session_id = None
64
66
  self._email = None
65
67
  self._experimentation_id = None
68
+ self._guest_user_api_key = None
66
69
  self._invite_code = None
67
70
  self._redirect_url = None
68
71
  self._referrer_params = None
@@ -73,6 +76,8 @@ class V1MagicLinkLoginRequest(object):
73
76
  self.email = email
74
77
  if experimentation_id is not None:
75
78
  self.experimentation_id = experimentation_id
79
+ if guest_user_api_key is not None:
80
+ self.guest_user_api_key = guest_user_api_key
76
81
  if invite_code is not None:
77
82
  self.invite_code = invite_code
78
83
  if redirect_url is not None:
@@ -143,6 +148,27 @@ class V1MagicLinkLoginRequest(object):
143
148
 
144
149
  self._experimentation_id = experimentation_id
145
150
 
151
+ @property
152
+ def guest_user_api_key(self) -> 'str':
153
+ """Gets the guest_user_api_key of this V1MagicLinkLoginRequest. # noqa: E501
154
+
155
+
156
+ :return: The guest_user_api_key of this V1MagicLinkLoginRequest. # noqa: E501
157
+ :rtype: str
158
+ """
159
+ return self._guest_user_api_key
160
+
161
+ @guest_user_api_key.setter
162
+ def guest_user_api_key(self, guest_user_api_key: 'str'):
163
+ """Sets the guest_user_api_key of this V1MagicLinkLoginRequest.
164
+
165
+
166
+ :param guest_user_api_key: The guest_user_api_key of this V1MagicLinkLoginRequest. # noqa: E501
167
+ :type: str
168
+ """
169
+
170
+ self._guest_user_api_key = guest_user_api_key
171
+
146
172
  @property
147
173
  def invite_code(self) -> 'str':
148
174
  """Gets the invite_code of this V1MagicLinkLoginRequest. # noqa: E501
@@ -56,7 +56,6 @@ class V1Membership(object):
56
56
  'membership_count': 'str',
57
57
  'name': 'str',
58
58
  'next_free_credits_grant': 'str',
59
- 'organization_billing_enabled': 'bool',
60
59
  'owner_id': 'str',
61
60
  'owner_type': 'V1OwnerType',
62
61
  'project_id': 'str',
@@ -82,7 +81,6 @@ class V1Membership(object):
82
81
  'membership_count': 'membershipCount',
83
82
  'name': 'name',
84
83
  'next_free_credits_grant': 'nextFreeCreditsGrant',
85
- 'organization_billing_enabled': 'organizationBillingEnabled',
86
84
  'owner_id': 'ownerId',
87
85
  'owner_type': 'ownerType',
88
86
  'project_id': 'projectId',
@@ -92,7 +90,7 @@ class V1Membership(object):
92
90
  'user_id': 'userId'
93
91
  }
94
92
 
95
- def __init__(self, balance: 'float' =None, budgeting_enabled: 'bool' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, datastore_count: 'str' =None, description: 'str' =None, display_name: 'str' =None, free_credits_enabled: 'bool' =None, free_storage_bytes: 'str' =None, is_default: 'bool' =None, job_count: 'str' =None, membership_count: 'str' =None, name: 'str' =None, next_free_credits_grant: 'str' =None, organization_billing_enabled: 'bool' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, project_id: 'str' =None, quotas: 'V1Quotas' =None, roles: 'list[V1Role]' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
93
+ def __init__(self, balance: 'float' =None, budgeting_enabled: 'bool' =None, created_at: 'datetime' =None, creator_id: 'str' =None, current_storage_bytes: 'str' =None, datastore_count: 'str' =None, description: 'str' =None, display_name: 'str' =None, free_credits_enabled: 'bool' =None, free_storage_bytes: 'str' =None, is_default: 'bool' =None, job_count: 'str' =None, membership_count: 'str' =None, name: 'str' =None, next_free_credits_grant: 'str' =None, owner_id: 'str' =None, owner_type: 'V1OwnerType' =None, project_id: 'str' =None, quotas: 'V1Quotas' =None, roles: 'list[V1Role]' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
96
94
  """V1Membership - a model defined in Swagger""" # noqa: E501
97
95
  self._balance = None
98
96
  self._budgeting_enabled = None
@@ -109,7 +107,6 @@ class V1Membership(object):
109
107
  self._membership_count = None
110
108
  self._name = None
111
109
  self._next_free_credits_grant = None
112
- self._organization_billing_enabled = None
113
110
  self._owner_id = None
114
111
  self._owner_type = None
115
112
  self._project_id = None
@@ -148,8 +145,6 @@ class V1Membership(object):
148
145
  self.name = name
149
146
  if next_free_credits_grant is not None:
150
147
  self.next_free_credits_grant = next_free_credits_grant
151
- if organization_billing_enabled is not None:
152
- self.organization_billing_enabled = organization_billing_enabled
153
148
  if owner_id is not None:
154
149
  self.owner_id = owner_id
155
150
  if owner_type is not None:
@@ -480,27 +475,6 @@ class V1Membership(object):
480
475
 
481
476
  self._next_free_credits_grant = next_free_credits_grant
482
477
 
483
- @property
484
- def organization_billing_enabled(self) -> 'bool':
485
- """Gets the organization_billing_enabled of this V1Membership. # noqa: E501
486
-
487
-
488
- :return: The organization_billing_enabled of this V1Membership. # noqa: E501
489
- :rtype: bool
490
- """
491
- return self._organization_billing_enabled
492
-
493
- @organization_billing_enabled.setter
494
- def organization_billing_enabled(self, organization_billing_enabled: 'bool'):
495
- """Sets the organization_billing_enabled of this V1Membership.
496
-
497
-
498
- :param organization_billing_enabled: The organization_billing_enabled of this V1Membership. # noqa: E501
499
- :type: bool
500
- """
501
-
502
- self._organization_billing_enabled = organization_billing_enabled
503
-
504
478
  @property
505
479
  def owner_id(self) -> 'str':
506
480
  """Gets the owner_id of this V1Membership. # noqa: E501
@@ -54,6 +54,7 @@ class V1Message(object):
54
54
  'like': 'V1LikeStatus',
55
55
  'metadata': 'dict(str, str)',
56
56
  'model': 'str',
57
+ 'parent_conversation_id': 'str',
57
58
  'parent_message_id': 'str',
58
59
  'prompt_tokens': 'str',
59
60
  'throughput': 'float'
@@ -73,12 +74,13 @@ class V1Message(object):
73
74
  'like': 'like',
74
75
  'metadata': 'metadata',
75
76
  'model': 'model',
77
+ 'parent_conversation_id': 'parentConversationId',
76
78
  'parent_message_id': 'parentMessageId',
77
79
  'prompt_tokens': 'promptTokens',
78
80
  'throughput': 'throughput'
79
81
  }
80
82
 
81
- def __init__(self, account_id: 'str' =None, assistant_id: 'str' =None, author: 'V1MessageAuthor' =None, completion_tokens: 'str' =None, content: 'list[V1MessageContent]' =None, conversation_id: 'str' =None, created_at: 'datetime' =None, executable: 'bool' =None, id: 'str' =None, internal_message: 'bool' =None, like: 'V1LikeStatus' =None, metadata: 'dict(str, str)' =None, model: 'str' =None, parent_message_id: 'str' =None, prompt_tokens: 'str' =None, throughput: 'float' =None): # noqa: E501
83
+ def __init__(self, account_id: 'str' =None, assistant_id: 'str' =None, author: 'V1MessageAuthor' =None, completion_tokens: 'str' =None, content: 'list[V1MessageContent]' =None, conversation_id: 'str' =None, created_at: 'datetime' =None, executable: 'bool' =None, id: 'str' =None, internal_message: 'bool' =None, like: 'V1LikeStatus' =None, metadata: 'dict(str, str)' =None, model: 'str' =None, parent_conversation_id: 'str' =None, parent_message_id: 'str' =None, prompt_tokens: 'str' =None, throughput: 'float' =None): # noqa: E501
82
84
  """V1Message - a model defined in Swagger""" # noqa: E501
83
85
  self._account_id = None
84
86
  self._assistant_id = None
@@ -93,6 +95,7 @@ class V1Message(object):
93
95
  self._like = None
94
96
  self._metadata = None
95
97
  self._model = None
98
+ self._parent_conversation_id = None
96
99
  self._parent_message_id = None
97
100
  self._prompt_tokens = None
98
101
  self._throughput = None
@@ -123,6 +126,8 @@ class V1Message(object):
123
126
  self.metadata = metadata
124
127
  if model is not None:
125
128
  self.model = model
129
+ if parent_conversation_id is not None:
130
+ self.parent_conversation_id = parent_conversation_id
126
131
  if parent_message_id is not None:
127
132
  self.parent_message_id = parent_message_id
128
133
  if prompt_tokens is not None:
@@ -403,6 +408,27 @@ class V1Message(object):
403
408
 
404
409
  self._model = model
405
410
 
411
+ @property
412
+ def parent_conversation_id(self) -> 'str':
413
+ """Gets the parent_conversation_id of this V1Message. # noqa: E501
414
+
415
+
416
+ :return: The parent_conversation_id of this V1Message. # noqa: E501
417
+ :rtype: str
418
+ """
419
+ return self._parent_conversation_id
420
+
421
+ @parent_conversation_id.setter
422
+ def parent_conversation_id(self, parent_conversation_id: 'str'):
423
+ """Sets the parent_conversation_id of this V1Message.
424
+
425
+
426
+ :param parent_conversation_id: The parent_conversation_id of this V1Message. # noqa: E501
427
+ :type: str
428
+ """
429
+
430
+ self._parent_conversation_id = parent_conversation_id
431
+
406
432
  @property
407
433
  def parent_message_id(self) -> 'str':
408
434
  """Gets the parent_message_id of this V1Message. # noqa: E501
@@ -44,6 +44,7 @@ class V1MessageAction(object):
44
44
  'actioned_at': 'datetime',
45
45
  'assistant_id': 'str',
46
46
  'block_id': 'str',
47
+ 'cloudspace_id': 'str',
47
48
  'conversation_id': 'str',
48
49
  'message_id': 'str',
49
50
  'project_id': 'str',
@@ -54,17 +55,19 @@ class V1MessageAction(object):
54
55
  'actioned_at': 'actionedAt',
55
56
  'assistant_id': 'assistantId',
56
57
  'block_id': 'blockId',
58
+ 'cloudspace_id': 'cloudspaceId',
57
59
  'conversation_id': 'conversationId',
58
60
  'message_id': 'messageId',
59
61
  'project_id': 'projectId',
60
62
  'type': 'type'
61
63
  }
62
64
 
63
- def __init__(self, actioned_at: 'datetime' =None, assistant_id: 'str' =None, block_id: 'str' =None, conversation_id: 'str' =None, message_id: 'str' =None, project_id: 'str' =None, type: 'str' =None): # noqa: E501
65
+ def __init__(self, actioned_at: 'datetime' =None, assistant_id: 'str' =None, block_id: 'str' =None, cloudspace_id: 'str' =None, conversation_id: 'str' =None, message_id: 'str' =None, project_id: 'str' =None, type: 'str' =None): # noqa: E501
64
66
  """V1MessageAction - a model defined in Swagger""" # noqa: E501
65
67
  self._actioned_at = None
66
68
  self._assistant_id = None
67
69
  self._block_id = None
70
+ self._cloudspace_id = None
68
71
  self._conversation_id = None
69
72
  self._message_id = None
70
73
  self._project_id = None
@@ -76,6 +79,8 @@ class V1MessageAction(object):
76
79
  self.assistant_id = assistant_id
77
80
  if block_id is not None:
78
81
  self.block_id = block_id
82
+ if cloudspace_id is not None:
83
+ self.cloudspace_id = cloudspace_id
79
84
  if conversation_id is not None:
80
85
  self.conversation_id = conversation_id
81
86
  if message_id is not None:
@@ -148,6 +153,27 @@ class V1MessageAction(object):
148
153
 
149
154
  self._block_id = block_id
150
155
 
156
+ @property
157
+ def cloudspace_id(self) -> 'str':
158
+ """Gets the cloudspace_id of this V1MessageAction. # noqa: E501
159
+
160
+
161
+ :return: The cloudspace_id of this V1MessageAction. # noqa: E501
162
+ :rtype: str
163
+ """
164
+ return self._cloudspace_id
165
+
166
+ @cloudspace_id.setter
167
+ def cloudspace_id(self, cloudspace_id: 'str'):
168
+ """Sets the cloudspace_id of this V1MessageAction.
169
+
170
+
171
+ :param cloudspace_id: The cloudspace_id of this V1MessageAction. # noqa: E501
172
+ :type: str
173
+ """
174
+
175
+ self._cloudspace_id = cloudspace_id
176
+
151
177
  @property
152
178
  def conversation_id(self) -> 'str':
153
179
  """Gets the conversation_id of this V1MessageAction. # noqa: E501