lightning-sdk 2025.7.17__py3-none-any.whl → 2025.7.22__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 (68) hide show
  1. lightning_sdk/__init__.py +3 -2
  2. lightning_sdk/api/cloud_account_api.py +154 -0
  3. lightning_sdk/api/deployment_api.py +11 -0
  4. lightning_sdk/api/job_api.py +9 -0
  5. lightning_sdk/api/mmt_api.py +9 -0
  6. lightning_sdk/api/pipeline_api.py +4 -3
  7. lightning_sdk/api/studio_api.py +19 -5
  8. lightning_sdk/cli/clusters_menu.py +3 -3
  9. lightning_sdk/cli/create.py +22 -10
  10. lightning_sdk/cli/deploy/_auth.py +19 -3
  11. lightning_sdk/cli/deploy/serve.py +18 -4
  12. lightning_sdk/cli/entrypoint.py +1 -1
  13. lightning_sdk/cli/start.py +37 -7
  14. lightning_sdk/deployment/deployment.py +8 -0
  15. lightning_sdk/job/base.py +27 -3
  16. lightning_sdk/job/job.py +28 -4
  17. lightning_sdk/job/v1.py +10 -1
  18. lightning_sdk/job/v2.py +15 -1
  19. lightning_sdk/lightning_cloud/openapi/__init__.py +9 -1
  20. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +335 -0
  21. lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +153 -48
  22. lightning_sdk/lightning_cloud/openapi/models/__init__.py +9 -1
  23. lightning_sdk/lightning_cloud/openapi/models/blogposts_id_body.py +53 -1
  24. lightning_sdk/lightning_cloud/openapi/models/conversations_id_body1.py +123 -0
  25. lightning_sdk/lightning_cloud/openapi/models/messages_id_body.py +123 -0
  26. lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +29 -3
  27. lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +27 -1
  28. lightning_sdk/lightning_cloud/openapi/models/user_id_upgradetrigger_body.py +175 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_blog_post.py +53 -1
  30. lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +27 -1
  31. lightning_sdk/lightning_cloud/openapi/models/v1_create_billing_upgrade_trigger_record_response.py +97 -0
  32. lightning_sdk/lightning_cloud/openapi/models/v1_create_blog_post_request.py +53 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_request.py +27 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_create_subscription_checkout_session_request.py +29 -3
  35. lightning_sdk/lightning_cloud/openapi/models/{v1_get_clickhouse_assistant_session_daily_aggregated_response.py → v1_get_assistant_session_daily_aggregated_response.py} +22 -22
  36. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +79 -1
  37. lightning_sdk/lightning_cloud/openapi/models/v1_like_status.py +104 -0
  38. lightning_sdk/lightning_cloud/openapi/models/v1_list_published_managed_endpoint_models_response.py +123 -0
  39. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +27 -1
  40. lightning_sdk/lightning_cloud/openapi/models/v1_quote_subscription_response.py +27 -1
  41. lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +27 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_update_conversation_like_response.py +149 -0
  43. lightning_sdk/lightning_cloud/openapi/models/v1_update_conversation_message_like_response.py +149 -0
  44. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +1 -261
  45. lightning_sdk/llm/llm.py +29 -5
  46. lightning_sdk/machine.py +12 -0
  47. lightning_sdk/mmt/base.py +20 -2
  48. lightning_sdk/mmt/mmt.py +25 -3
  49. lightning_sdk/mmt/v1.py +7 -1
  50. lightning_sdk/mmt/v2.py +21 -2
  51. lightning_sdk/organization.py +4 -0
  52. lightning_sdk/pipeline/pipeline.py +16 -5
  53. lightning_sdk/pipeline/printer.py +5 -3
  54. lightning_sdk/pipeline/schedule.py +844 -1
  55. lightning_sdk/pipeline/steps.py +19 -4
  56. lightning_sdk/sandbox.py +4 -1
  57. lightning_sdk/serve.py +2 -0
  58. lightning_sdk/studio.py +79 -39
  59. lightning_sdk/teamspace.py +14 -8
  60. lightning_sdk/utils/resolve.py +29 -2
  61. {lightning_sdk-2025.7.17.dist-info → lightning_sdk-2025.7.22.dist-info}/METADATA +1 -1
  62. {lightning_sdk-2025.7.17.dist-info → lightning_sdk-2025.7.22.dist-info}/RECORD +67 -59
  63. lightning_sdk/api/cluster_api.py +0 -119
  64. /lightning_sdk/cli/{inspect.py → inspection.py} +0 -0
  65. {lightning_sdk-2025.7.17.dist-info → lightning_sdk-2025.7.22.dist-info}/LICENSE +0 -0
  66. {lightning_sdk-2025.7.17.dist-info → lightning_sdk-2025.7.22.dist-info}/WHEEL +0 -0
  67. {lightning_sdk-2025.7.17.dist-info → lightning_sdk-2025.7.22.dist-info}/entry_points.txt +0 -0
  68. {lightning_sdk-2025.7.17.dist-info → lightning_sdk-2025.7.22.dist-info}/top_level.txt +0 -0
@@ -43,6 +43,8 @@ class V1CreateBlogPostRequest(object):
43
43
  swagger_types = {
44
44
  'author_id': 'str',
45
45
  'category': 'str',
46
+ 'customer_logo_url': 'str',
47
+ 'customer_name': 'str',
46
48
  'description': 'str',
47
49
  'image_url': 'str',
48
50
  'lit_page_id': 'str',
@@ -52,16 +54,20 @@ class V1CreateBlogPostRequest(object):
52
54
  attribute_map = {
53
55
  'author_id': 'authorId',
54
56
  'category': 'category',
57
+ 'customer_logo_url': 'customerLogoUrl',
58
+ 'customer_name': 'customerName',
55
59
  'description': 'description',
56
60
  'image_url': 'imageUrl',
57
61
  'lit_page_id': 'litPageId',
58
62
  'title': 'title'
59
63
  }
60
64
 
61
- def __init__(self, author_id: 'str' =None, category: 'str' =None, description: 'str' =None, image_url: 'str' =None, lit_page_id: 'str' =None, title: 'str' =None): # noqa: E501
65
+ def __init__(self, author_id: 'str' =None, category: 'str' =None, customer_logo_url: 'str' =None, customer_name: 'str' =None, description: 'str' =None, image_url: 'str' =None, lit_page_id: 'str' =None, title: 'str' =None): # noqa: E501
62
66
  """V1CreateBlogPostRequest - a model defined in Swagger""" # noqa: E501
63
67
  self._author_id = None
64
68
  self._category = None
69
+ self._customer_logo_url = None
70
+ self._customer_name = None
65
71
  self._description = None
66
72
  self._image_url = None
67
73
  self._lit_page_id = None
@@ -71,6 +77,10 @@ class V1CreateBlogPostRequest(object):
71
77
  self.author_id = author_id
72
78
  if category is not None:
73
79
  self.category = category
80
+ if customer_logo_url is not None:
81
+ self.customer_logo_url = customer_logo_url
82
+ if customer_name is not None:
83
+ self.customer_name = customer_name
74
84
  if description is not None:
75
85
  self.description = description
76
86
  if image_url is not None:
@@ -122,6 +132,48 @@ class V1CreateBlogPostRequest(object):
122
132
 
123
133
  self._category = category
124
134
 
135
+ @property
136
+ def customer_logo_url(self) -> 'str':
137
+ """Gets the customer_logo_url of this V1CreateBlogPostRequest. # noqa: E501
138
+
139
+
140
+ :return: The customer_logo_url of this V1CreateBlogPostRequest. # noqa: E501
141
+ :rtype: str
142
+ """
143
+ return self._customer_logo_url
144
+
145
+ @customer_logo_url.setter
146
+ def customer_logo_url(self, customer_logo_url: 'str'):
147
+ """Sets the customer_logo_url of this V1CreateBlogPostRequest.
148
+
149
+
150
+ :param customer_logo_url: The customer_logo_url of this V1CreateBlogPostRequest. # noqa: E501
151
+ :type: str
152
+ """
153
+
154
+ self._customer_logo_url = customer_logo_url
155
+
156
+ @property
157
+ def customer_name(self) -> 'str':
158
+ """Gets the customer_name of this V1CreateBlogPostRequest. # noqa: E501
159
+
160
+
161
+ :return: The customer_name of this V1CreateBlogPostRequest. # noqa: E501
162
+ :rtype: str
163
+ """
164
+ return self._customer_name
165
+
166
+ @customer_name.setter
167
+ def customer_name(self, customer_name: 'str'):
168
+ """Sets the customer_name of this V1CreateBlogPostRequest.
169
+
170
+
171
+ :param customer_name: The customer_name of this V1CreateBlogPostRequest. # noqa: E501
172
+ :type: str
173
+ """
174
+
175
+ self._customer_name = customer_name
176
+
125
177
  @property
126
178
  def description(self) -> 'str':
127
179
  """Gets the description of this V1CreateBlogPostRequest. # noqa: E501
@@ -43,6 +43,7 @@ class V1CreateCheckoutSessionRequest(object):
43
43
  swagger_types = {
44
44
  'amount': 'float',
45
45
  'capture_method': 'str',
46
+ 'gclid': 'str',
46
47
  'org_id': 'str',
47
48
  'project_id': 'str',
48
49
  'redirect_url_cancelled': 'str',
@@ -54,6 +55,7 @@ class V1CreateCheckoutSessionRequest(object):
54
55
  attribute_map = {
55
56
  'amount': 'amount',
56
57
  'capture_method': 'captureMethod',
58
+ 'gclid': 'gclid',
57
59
  'org_id': 'orgId',
58
60
  'project_id': 'projectId',
59
61
  'redirect_url_cancelled': 'redirectUrlCancelled',
@@ -62,10 +64,11 @@ class V1CreateCheckoutSessionRequest(object):
62
64
  'wallet_type': 'walletType'
63
65
  }
64
66
 
65
- def __init__(self, amount: 'float' =None, capture_method: 'str' =None, org_id: 'str' =None, project_id: 'str' =None, redirect_url_cancelled: 'str' =None, redirect_url_succeeded: 'str' =None, transaction_type: 'str' =None, wallet_type: 'CreateCheckoutSessionRequestWalletType' =None): # noqa: E501
67
+ def __init__(self, amount: 'float' =None, capture_method: 'str' =None, gclid: 'str' =None, org_id: 'str' =None, project_id: 'str' =None, redirect_url_cancelled: 'str' =None, redirect_url_succeeded: 'str' =None, transaction_type: 'str' =None, wallet_type: 'CreateCheckoutSessionRequestWalletType' =None): # noqa: E501
66
68
  """V1CreateCheckoutSessionRequest - a model defined in Swagger""" # noqa: E501
67
69
  self._amount = None
68
70
  self._capture_method = None
71
+ self._gclid = None
69
72
  self._org_id = None
70
73
  self._project_id = None
71
74
  self._redirect_url_cancelled = None
@@ -77,6 +80,8 @@ class V1CreateCheckoutSessionRequest(object):
77
80
  self.amount = amount
78
81
  if capture_method is not None:
79
82
  self.capture_method = capture_method
83
+ if gclid is not None:
84
+ self.gclid = gclid
80
85
  if org_id is not None:
81
86
  self.org_id = org_id
82
87
  if project_id is not None:
@@ -132,6 +137,27 @@ class V1CreateCheckoutSessionRequest(object):
132
137
 
133
138
  self._capture_method = capture_method
134
139
 
140
+ @property
141
+ def gclid(self) -> 'str':
142
+ """Gets the gclid of this V1CreateCheckoutSessionRequest. # noqa: E501
143
+
144
+
145
+ :return: The gclid of this V1CreateCheckoutSessionRequest. # noqa: E501
146
+ :rtype: str
147
+ """
148
+ return self._gclid
149
+
150
+ @gclid.setter
151
+ def gclid(self, gclid: 'str'):
152
+ """Sets the gclid of this V1CreateCheckoutSessionRequest.
153
+
154
+
155
+ :param gclid: The gclid of this V1CreateCheckoutSessionRequest. # noqa: E501
156
+ :type: str
157
+ """
158
+
159
+ self._gclid = gclid
160
+
135
161
  @property
136
162
  def org_id(self) -> 'str':
137
163
  """Gets the org_id of this V1CreateCheckoutSessionRequest. # noqa: E501
@@ -46,7 +46,8 @@ class V1CreateSubscriptionCheckoutSessionRequest(object):
46
46
  'product_id': 'str',
47
47
  'redirect_url_failed': 'str',
48
48
  'redirect_url_succeeded': 'str',
49
- 'seats': 'int'
49
+ 'seats': 'int',
50
+ 'upgrade_feature': 'str'
50
51
  }
51
52
 
52
53
  attribute_map = {
@@ -55,10 +56,11 @@ class V1CreateSubscriptionCheckoutSessionRequest(object):
55
56
  'product_id': 'productId',
56
57
  'redirect_url_failed': 'redirectUrlFailed',
57
58
  'redirect_url_succeeded': 'redirectUrlSucceeded',
58
- 'seats': 'seats'
59
+ 'seats': 'seats',
60
+ 'upgrade_feature': 'upgradeFeature'
59
61
  }
60
62
 
61
- def __init__(self, billing_period: 'V1BillingPeriod' =None, org_id: 'str' =None, product_id: 'str' =None, redirect_url_failed: 'str' =None, redirect_url_succeeded: 'str' =None, seats: 'int' =None): # noqa: E501
63
+ def __init__(self, billing_period: 'V1BillingPeriod' =None, org_id: 'str' =None, product_id: 'str' =None, redirect_url_failed: 'str' =None, redirect_url_succeeded: 'str' =None, seats: 'int' =None, upgrade_feature: 'str' =None): # noqa: E501
62
64
  """V1CreateSubscriptionCheckoutSessionRequest - a model defined in Swagger""" # noqa: E501
63
65
  self._billing_period = None
64
66
  self._org_id = None
@@ -66,6 +68,7 @@ class V1CreateSubscriptionCheckoutSessionRequest(object):
66
68
  self._redirect_url_failed = None
67
69
  self._redirect_url_succeeded = None
68
70
  self._seats = None
71
+ self._upgrade_feature = None
69
72
  self.discriminator = None
70
73
  if billing_period is not None:
71
74
  self.billing_period = billing_period
@@ -79,6 +82,8 @@ class V1CreateSubscriptionCheckoutSessionRequest(object):
79
82
  self.redirect_url_succeeded = redirect_url_succeeded
80
83
  if seats is not None:
81
84
  self.seats = seats
85
+ if upgrade_feature is not None:
86
+ self.upgrade_feature = upgrade_feature
82
87
 
83
88
  @property
84
89
  def billing_period(self) -> 'V1BillingPeriod':
@@ -206,6 +211,27 @@ class V1CreateSubscriptionCheckoutSessionRequest(object):
206
211
 
207
212
  self._seats = seats
208
213
 
214
+ @property
215
+ def upgrade_feature(self) -> 'str':
216
+ """Gets the upgrade_feature of this V1CreateSubscriptionCheckoutSessionRequest. # noqa: E501
217
+
218
+
219
+ :return: The upgrade_feature of this V1CreateSubscriptionCheckoutSessionRequest. # noqa: E501
220
+ :rtype: str
221
+ """
222
+ return self._upgrade_feature
223
+
224
+ @upgrade_feature.setter
225
+ def upgrade_feature(self, upgrade_feature: 'str'):
226
+ """Sets the upgrade_feature of this V1CreateSubscriptionCheckoutSessionRequest.
227
+
228
+
229
+ :param upgrade_feature: The upgrade_feature of this V1CreateSubscriptionCheckoutSessionRequest. # noqa: E501
230
+ :type: str
231
+ """
232
+
233
+ self._upgrade_feature = upgrade_feature
234
+
209
235
  def to_dict(self) -> dict:
210
236
  """Returns the model properties as a dict"""
211
237
  result = {}
@@ -28,7 +28,7 @@ if TYPE_CHECKING:
28
28
  from datetime import datetime
29
29
  from lightning_sdk.lightning_cloud.openapi.models import *
30
30
 
31
- class V1GetClickhouseAssistantSessionDailyAggregatedResponse(object):
31
+ class V1GetAssistantSessionDailyAggregatedResponse(object):
32
32
  """NOTE: This class is auto generated by the swagger code generator program.
33
33
 
34
34
  Do not edit the class manually.
@@ -55,7 +55,7 @@ class V1GetClickhouseAssistantSessionDailyAggregatedResponse(object):
55
55
  }
56
56
 
57
57
  def __init__(self, daily_usage: 'list[V1AssistantSessionDailyAggregated]' =None, total_cost: 'float' =None, total_users: 'int' =None, usage: 'list[V1AssistantSessionDailyAggregated]' =None): # noqa: E501
58
- """V1GetClickhouseAssistantSessionDailyAggregatedResponse - a model defined in Swagger""" # noqa: E501
58
+ """V1GetAssistantSessionDailyAggregatedResponse - a model defined in Swagger""" # noqa: E501
59
59
  self._daily_usage = None
60
60
  self._total_cost = None
61
61
  self._total_users = None
@@ -72,20 +72,20 @@ class V1GetClickhouseAssistantSessionDailyAggregatedResponse(object):
72
72
 
73
73
  @property
74
74
  def daily_usage(self) -> 'list[V1AssistantSessionDailyAggregated]':
75
- """Gets the daily_usage of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
75
+ """Gets the daily_usage of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
76
76
 
77
77
 
78
- :return: The daily_usage of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
78
+ :return: The daily_usage of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
79
79
  :rtype: list[V1AssistantSessionDailyAggregated]
80
80
  """
81
81
  return self._daily_usage
82
82
 
83
83
  @daily_usage.setter
84
84
  def daily_usage(self, daily_usage: 'list[V1AssistantSessionDailyAggregated]'):
85
- """Sets the daily_usage of this V1GetClickhouseAssistantSessionDailyAggregatedResponse.
85
+ """Sets the daily_usage of this V1GetAssistantSessionDailyAggregatedResponse.
86
86
 
87
87
 
88
- :param daily_usage: The daily_usage of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
88
+ :param daily_usage: The daily_usage of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
89
89
  :type: list[V1AssistantSessionDailyAggregated]
90
90
  """
91
91
 
@@ -93,20 +93,20 @@ class V1GetClickhouseAssistantSessionDailyAggregatedResponse(object):
93
93
 
94
94
  @property
95
95
  def total_cost(self) -> 'float':
96
- """Gets the total_cost of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
96
+ """Gets the total_cost of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
97
97
 
98
98
 
99
- :return: The total_cost of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
99
+ :return: The total_cost of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
100
100
  :rtype: float
101
101
  """
102
102
  return self._total_cost
103
103
 
104
104
  @total_cost.setter
105
105
  def total_cost(self, total_cost: 'float'):
106
- """Sets the total_cost of this V1GetClickhouseAssistantSessionDailyAggregatedResponse.
106
+ """Sets the total_cost of this V1GetAssistantSessionDailyAggregatedResponse.
107
107
 
108
108
 
109
- :param total_cost: The total_cost of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
109
+ :param total_cost: The total_cost of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
110
110
  :type: float
111
111
  """
112
112
 
@@ -114,20 +114,20 @@ class V1GetClickhouseAssistantSessionDailyAggregatedResponse(object):
114
114
 
115
115
  @property
116
116
  def total_users(self) -> 'int':
117
- """Gets the total_users of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
117
+ """Gets the total_users of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
118
118
 
119
119
 
120
- :return: The total_users of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
120
+ :return: The total_users of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
121
121
  :rtype: int
122
122
  """
123
123
  return self._total_users
124
124
 
125
125
  @total_users.setter
126
126
  def total_users(self, total_users: 'int'):
127
- """Sets the total_users of this V1GetClickhouseAssistantSessionDailyAggregatedResponse.
127
+ """Sets the total_users of this V1GetAssistantSessionDailyAggregatedResponse.
128
128
 
129
129
 
130
- :param total_users: The total_users of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
130
+ :param total_users: The total_users of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
131
131
  :type: int
132
132
  """
133
133
 
@@ -135,20 +135,20 @@ class V1GetClickhouseAssistantSessionDailyAggregatedResponse(object):
135
135
 
136
136
  @property
137
137
  def usage(self) -> 'list[V1AssistantSessionDailyAggregated]':
138
- """Gets the usage of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
138
+ """Gets the usage of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
139
139
 
140
140
 
141
- :return: The usage of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
141
+ :return: The usage of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
142
142
  :rtype: list[V1AssistantSessionDailyAggregated]
143
143
  """
144
144
  return self._usage
145
145
 
146
146
  @usage.setter
147
147
  def usage(self, usage: 'list[V1AssistantSessionDailyAggregated]'):
148
- """Sets the usage of this V1GetClickhouseAssistantSessionDailyAggregatedResponse.
148
+ """Sets the usage of this V1GetAssistantSessionDailyAggregatedResponse.
149
149
 
150
150
 
151
- :param usage: The usage of this V1GetClickhouseAssistantSessionDailyAggregatedResponse. # noqa: E501
151
+ :param usage: The usage of this V1GetAssistantSessionDailyAggregatedResponse. # noqa: E501
152
152
  :type: list[V1AssistantSessionDailyAggregated]
153
153
  """
154
154
 
@@ -175,7 +175,7 @@ class V1GetClickhouseAssistantSessionDailyAggregatedResponse(object):
175
175
  ))
176
176
  else:
177
177
  result[attr] = value
178
- if issubclass(V1GetClickhouseAssistantSessionDailyAggregatedResponse, dict):
178
+ if issubclass(V1GetAssistantSessionDailyAggregatedResponse, dict):
179
179
  for key, value in self.items():
180
180
  result[key] = value
181
181
 
@@ -189,13 +189,13 @@ class V1GetClickhouseAssistantSessionDailyAggregatedResponse(object):
189
189
  """For `print` and `pprint`"""
190
190
  return self.to_str()
191
191
 
192
- def __eq__(self, other: 'V1GetClickhouseAssistantSessionDailyAggregatedResponse') -> bool:
192
+ def __eq__(self, other: 'V1GetAssistantSessionDailyAggregatedResponse') -> bool:
193
193
  """Returns true if both objects are equal"""
194
- if not isinstance(other, V1GetClickhouseAssistantSessionDailyAggregatedResponse):
194
+ if not isinstance(other, V1GetAssistantSessionDailyAggregatedResponse):
195
195
  return False
196
196
 
197
197
  return self.__dict__ == other.__dict__
198
198
 
199
- def __ne__(self, other: 'V1GetClickhouseAssistantSessionDailyAggregatedResponse') -> bool:
199
+ def __ne__(self, other: 'V1GetAssistantSessionDailyAggregatedResponse') -> bool:
200
200
  """Returns true if both objects are not equal"""
201
201
  return not self == other
@@ -41,25 +41,103 @@ class V1KubernetesDirectV1(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'grafana_dashboard_url': 'str',
45
+ 'grafana_service_name': 'str',
46
+ 'grafana_service_port': 'str',
44
47
  'kubeconfig': 'str',
45
48
  'kubeconfig_elevated': 'str'
46
49
  }
47
50
 
48
51
  attribute_map = {
52
+ 'grafana_dashboard_url': 'grafanaDashboardUrl',
53
+ 'grafana_service_name': 'grafanaServiceName',
54
+ 'grafana_service_port': 'grafanaServicePort',
49
55
  'kubeconfig': 'kubeconfig',
50
56
  'kubeconfig_elevated': 'kubeconfigElevated'
51
57
  }
52
58
 
53
- def __init__(self, kubeconfig: 'str' =None, kubeconfig_elevated: 'str' =None): # noqa: E501
59
+ def __init__(self, grafana_dashboard_url: 'str' =None, grafana_service_name: 'str' =None, grafana_service_port: 'str' =None, kubeconfig: 'str' =None, kubeconfig_elevated: 'str' =None): # noqa: E501
54
60
  """V1KubernetesDirectV1 - a model defined in Swagger""" # noqa: E501
61
+ self._grafana_dashboard_url = None
62
+ self._grafana_service_name = None
63
+ self._grafana_service_port = None
55
64
  self._kubeconfig = None
56
65
  self._kubeconfig_elevated = None
57
66
  self.discriminator = None
67
+ if grafana_dashboard_url is not None:
68
+ self.grafana_dashboard_url = grafana_dashboard_url
69
+ if grafana_service_name is not None:
70
+ self.grafana_service_name = grafana_service_name
71
+ if grafana_service_port is not None:
72
+ self.grafana_service_port = grafana_service_port
58
73
  if kubeconfig is not None:
59
74
  self.kubeconfig = kubeconfig
60
75
  if kubeconfig_elevated is not None:
61
76
  self.kubeconfig_elevated = kubeconfig_elevated
62
77
 
78
+ @property
79
+ def grafana_dashboard_url(self) -> 'str':
80
+ """Gets the grafana_dashboard_url of this V1KubernetesDirectV1. # noqa: E501
81
+
82
+
83
+ :return: The grafana_dashboard_url of this V1KubernetesDirectV1. # noqa: E501
84
+ :rtype: str
85
+ """
86
+ return self._grafana_dashboard_url
87
+
88
+ @grafana_dashboard_url.setter
89
+ def grafana_dashboard_url(self, grafana_dashboard_url: 'str'):
90
+ """Sets the grafana_dashboard_url of this V1KubernetesDirectV1.
91
+
92
+
93
+ :param grafana_dashboard_url: The grafana_dashboard_url of this V1KubernetesDirectV1. # noqa: E501
94
+ :type: str
95
+ """
96
+
97
+ self._grafana_dashboard_url = grafana_dashboard_url
98
+
99
+ @property
100
+ def grafana_service_name(self) -> 'str':
101
+ """Gets the grafana_service_name of this V1KubernetesDirectV1. # noqa: E501
102
+
103
+
104
+ :return: The grafana_service_name of this V1KubernetesDirectV1. # noqa: E501
105
+ :rtype: str
106
+ """
107
+ return self._grafana_service_name
108
+
109
+ @grafana_service_name.setter
110
+ def grafana_service_name(self, grafana_service_name: 'str'):
111
+ """Sets the grafana_service_name of this V1KubernetesDirectV1.
112
+
113
+
114
+ :param grafana_service_name: The grafana_service_name of this V1KubernetesDirectV1. # noqa: E501
115
+ :type: str
116
+ """
117
+
118
+ self._grafana_service_name = grafana_service_name
119
+
120
+ @property
121
+ def grafana_service_port(self) -> 'str':
122
+ """Gets the grafana_service_port of this V1KubernetesDirectV1. # noqa: E501
123
+
124
+
125
+ :return: The grafana_service_port of this V1KubernetesDirectV1. # noqa: E501
126
+ :rtype: str
127
+ """
128
+ return self._grafana_service_port
129
+
130
+ @grafana_service_port.setter
131
+ def grafana_service_port(self, grafana_service_port: 'str'):
132
+ """Sets the grafana_service_port of this V1KubernetesDirectV1.
133
+
134
+
135
+ :param grafana_service_port: The grafana_service_port of this V1KubernetesDirectV1. # noqa: E501
136
+ :type: str
137
+ """
138
+
139
+ self._grafana_service_port = grafana_service_port
140
+
63
141
  @property
64
142
  def kubeconfig(self) -> 'str':
65
143
  """Gets the kubeconfig of this V1KubernetesDirectV1. # noqa: E501
@@ -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 V1LikeStatus(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
+ NONE = "NONE"
41
+ LIKE = "LIKE"
42
+ DISLIKE = "DISLIKE"
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
+ """V1LikeStatus - 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(V1LikeStatus, 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: 'V1LikeStatus') -> bool:
96
+ """Returns true if both objects are equal"""
97
+ if not isinstance(other, V1LikeStatus):
98
+ return False
99
+
100
+ return self.__dict__ == other.__dict__
101
+
102
+ def __ne__(self, other: 'V1LikeStatus') -> bool:
103
+ """Returns true if both objects are not equal"""
104
+ return not self == other