anyscale 0.26.0__py3-none-any.whl → 0.26.2__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 (47) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +13 -1
  2. anyscale/_private/anyscale_client/common.py +1 -1
  3. anyscale/_private/docgen/models.md +2 -2
  4. anyscale/client/README.md +21 -10
  5. anyscale/client/openapi_client/__init__.py +15 -6
  6. anyscale/client/openapi_client/api/default_api.py +322 -83
  7. anyscale/client/openapi_client/models/__init__.py +15 -6
  8. anyscale/client/openapi_client/models/{customer_billing_type.py → actor_status.py} +7 -8
  9. anyscale/client/openapi_client/models/aggregated_instance_usage_csv.py +81 -3
  10. anyscale/client/openapi_client/models/baseimagesenum.py +59 -1
  11. anyscale/client/openapi_client/models/create_organization_configuration.py +3 -3
  12. anyscale/client/openapi_client/models/{create_resource_alert.py → create_resource_notification.py} +40 -40
  13. anyscale/client/openapi_client/models/job_details.py +173 -0
  14. anyscale/client/openapi_client/models/{list_resource_alerts_query.py → list_resource_notifications_query.py} +24 -24
  15. anyscale/client/openapi_client/models/machine_launch_failure.py +152 -0
  16. anyscale/client/openapi_client/models/organization_configuration.py +3 -3
  17. anyscale/client/openapi_client/models/organization_configuration_response.py +3 -3
  18. anyscale/client/openapi_client/models/resource_alert_event_type.py +5 -1
  19. anyscale/client/openapi_client/models/{resource_alert.py → resource_notification.py} +64 -64
  20. anyscale/client/openapi_client/models/resourcenotification_list_response.py +147 -0
  21. anyscale/client/openapi_client/models/{resourcealert_response.py → resourcenotification_response.py} +11 -11
  22. anyscale/client/openapi_client/models/run_attempt_status.py +103 -0
  23. anyscale/client/openapi_client/models/run_status.py +106 -0
  24. anyscale/client/openapi_client/models/scheduler_info.py +32 -3
  25. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +59 -1
  26. anyscale/client/openapi_client/models/tool.py +2 -1
  27. anyscale/client/openapi_client/models/train_resources.py +121 -0
  28. anyscale/client/openapi_client/models/train_run.py +387 -0
  29. anyscale/client/openapi_client/models/train_run_attempt.py +308 -0
  30. anyscale/client/openapi_client/models/train_worker.py +363 -0
  31. anyscale/client/openapi_client/models/{resourcealert_list_response.py → trainrun_list_response.py} +15 -15
  32. anyscale/client/openapi_client/models/workspace_dataplane_proxied_artifacts.py +31 -3
  33. anyscale/commands/machine_pool_commands.py +15 -10
  34. anyscale/resource_quota/commands.py +1 -2
  35. anyscale/sdk/anyscale_client/models/baseimagesenum.py +59 -1
  36. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +59 -1
  37. anyscale/service/_private/service_sdk.py +2 -3
  38. anyscale/shared_anyscale_utils/constants.py +3 -0
  39. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  40. anyscale/version.py +1 -1
  41. {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/METADATA +1 -1
  42. {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/RECORD +47 -37
  43. {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/LICENSE +0 -0
  44. {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/NOTICE +0 -0
  45. {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/WHEEL +0 -0
  46. {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/entry_points.txt +0 -0
  47. {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,152 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Managed Ray API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
+
8
+ The version of the OpenAPI document: 0.1.0
9
+ Generated by: https://openapi-generator.tech
10
+ """
11
+
12
+
13
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ from openapi_client.configuration import Configuration
19
+
20
+
21
+ class MachineLaunchFailure(object):
22
+ """NOTE: This class is auto generated by OpenAPI Generator.
23
+ Ref: https://openapi-generator.tech
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ openapi_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ openapi_types = {
36
+ 'timestamp': 'datetime',
37
+ 'error': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'timestamp': 'timestamp',
42
+ 'error': 'error'
43
+ }
44
+
45
+ def __init__(self, timestamp=None, error=None, local_vars_configuration=None): # noqa: E501
46
+ """MachineLaunchFailure - a model defined in OpenAPI""" # noqa: E501
47
+ if local_vars_configuration is None:
48
+ local_vars_configuration = Configuration()
49
+ self.local_vars_configuration = local_vars_configuration
50
+
51
+ self._timestamp = None
52
+ self._error = None
53
+ self.discriminator = None
54
+
55
+ self.timestamp = timestamp
56
+ self.error = error
57
+
58
+ @property
59
+ def timestamp(self):
60
+ """Gets the timestamp of this MachineLaunchFailure. # noqa: E501
61
+
62
+ The timestamp of the failure. # noqa: E501
63
+
64
+ :return: The timestamp of this MachineLaunchFailure. # noqa: E501
65
+ :rtype: datetime
66
+ """
67
+ return self._timestamp
68
+
69
+ @timestamp.setter
70
+ def timestamp(self, timestamp):
71
+ """Sets the timestamp of this MachineLaunchFailure.
72
+
73
+ The timestamp of the failure. # noqa: E501
74
+
75
+ :param timestamp: The timestamp of this MachineLaunchFailure. # noqa: E501
76
+ :type: datetime
77
+ """
78
+ if self.local_vars_configuration.client_side_validation and timestamp is None: # noqa: E501
79
+ raise ValueError("Invalid value for `timestamp`, must not be `None`") # noqa: E501
80
+
81
+ self._timestamp = timestamp
82
+
83
+ @property
84
+ def error(self):
85
+ """Gets the error of this MachineLaunchFailure. # noqa: E501
86
+
87
+ The error message of the failure. # noqa: E501
88
+
89
+ :return: The error of this MachineLaunchFailure. # noqa: E501
90
+ :rtype: str
91
+ """
92
+ return self._error
93
+
94
+ @error.setter
95
+ def error(self, error):
96
+ """Sets the error of this MachineLaunchFailure.
97
+
98
+ The error message of the failure. # noqa: E501
99
+
100
+ :param error: The error of this MachineLaunchFailure. # noqa: E501
101
+ :type: str
102
+ """
103
+ if self.local_vars_configuration.client_side_validation and error is None: # noqa: E501
104
+ raise ValueError("Invalid value for `error`, must not be `None`") # noqa: E501
105
+
106
+ self._error = error
107
+
108
+ def to_dict(self):
109
+ """Returns the model properties as a dict"""
110
+ result = {}
111
+
112
+ for attr, _ in six.iteritems(self.openapi_types):
113
+ value = getattr(self, attr)
114
+ if isinstance(value, list):
115
+ result[attr] = list(map(
116
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
117
+ value
118
+ ))
119
+ elif hasattr(value, "to_dict"):
120
+ result[attr] = value.to_dict()
121
+ elif isinstance(value, dict):
122
+ result[attr] = dict(map(
123
+ lambda item: (item[0], item[1].to_dict())
124
+ if hasattr(item[1], "to_dict") else item,
125
+ value.items()
126
+ ))
127
+ else:
128
+ result[attr] = value
129
+
130
+ return result
131
+
132
+ def to_str(self):
133
+ """Returns the string representation of the model"""
134
+ return pprint.pformat(self.to_dict())
135
+
136
+ def __repr__(self):
137
+ """For `print` and `pprint`"""
138
+ return self.to_str()
139
+
140
+ def __eq__(self, other):
141
+ """Returns true if both objects are equal"""
142
+ if not isinstance(other, MachineLaunchFailure):
143
+ return False
144
+
145
+ return self.to_dict() == other.to_dict()
146
+
147
+ def __ne__(self, other):
148
+ """Returns true if both objects are not equal"""
149
+ if not isinstance(other, MachineLaunchFailure):
150
+ return True
151
+
152
+ return self.to_dict() != other.to_dict()
@@ -33,7 +33,7 @@ class OrganizationConfiguration(object):
33
33
  and the value is json key in definition.
34
34
  """
35
35
  openapi_types = {
36
- 'customer_billing_type': 'CustomerBillingType',
36
+ 'customer_billing_type': 'str',
37
37
  'invite_code': 'str',
38
38
  'expires_at': 'datetime',
39
39
  'description': 'str',
@@ -84,7 +84,7 @@ class OrganizationConfiguration(object):
84
84
 
85
85
 
86
86
  :return: The customer_billing_type of this OrganizationConfiguration. # noqa: E501
87
- :rtype: CustomerBillingType
87
+ :rtype: str
88
88
  """
89
89
  return self._customer_billing_type
90
90
 
@@ -94,7 +94,7 @@ class OrganizationConfiguration(object):
94
94
 
95
95
 
96
96
  :param customer_billing_type: The customer_billing_type of this OrganizationConfiguration. # noqa: E501
97
- :type: CustomerBillingType
97
+ :type: str
98
98
  """
99
99
  if self.local_vars_configuration.client_side_validation and customer_billing_type is None: # noqa: E501
100
100
  raise ValueError("Invalid value for `customer_billing_type`, must not be `None`") # noqa: E501
@@ -33,7 +33,7 @@ class OrganizationConfigurationResponse(object):
33
33
  and the value is json key in definition.
34
34
  """
35
35
  openapi_types = {
36
- 'customer_billing_type': 'CustomerBillingType',
36
+ 'customer_billing_type': 'str',
37
37
  'invite_code': 'str',
38
38
  'registration_url': 'str',
39
39
  'expires_at': 'datetime',
@@ -75,7 +75,7 @@ class OrganizationConfigurationResponse(object):
75
75
 
76
76
 
77
77
  :return: The customer_billing_type of this OrganizationConfigurationResponse. # noqa: E501
78
- :rtype: CustomerBillingType
78
+ :rtype: str
79
79
  """
80
80
  return self._customer_billing_type
81
81
 
@@ -85,7 +85,7 @@ class OrganizationConfigurationResponse(object):
85
85
 
86
86
 
87
87
  :param customer_billing_type: The customer_billing_type of this OrganizationConfigurationResponse. # noqa: E501
88
- :type: CustomerBillingType
88
+ :type: str
89
89
  """
90
90
  if self.local_vars_configuration.client_side_validation and customer_billing_type is None: # noqa: E501
91
91
  raise ValueError("Invalid value for `customer_billing_type`, must not be `None`") # noqa: E501
@@ -30,9 +30,13 @@ class ResourceAlertEventType(object):
30
30
  """
31
31
  JOB_FAILED = "NOTIFICATION_EVENT_TYPE_JOB_FAILED"
32
32
  JOB_SUCCEEDED = "NOTIFICATION_EVENT_TYPE_JOB_SUCCEEDED"
33
+ JOB_RETRYING = "NOTIFICATION_EVENT_TYPE_JOB_RETRYING"
33
34
  SERVICE_UNHEALTHY = "NOTIFICATION_EVENT_TYPE_SERVICE_UNHEALTHY"
35
+ SERVICE_RUNNING = "NOTIFICATION_EVENT_TYPE_SERVICE_RUNNING"
36
+ SERVICE_ROLLING_OUT = "NOTIFICATION_EVENT_TYPE_SERVICE_ROLLING_OUT"
37
+ SERVICE_ROLLING_BACK = "NOTIFICATION_EVENT_TYPE_SERVICE_ROLLING_BACK"
34
38
 
35
- allowable_values = [JOB_FAILED, JOB_SUCCEEDED, SERVICE_UNHEALTHY] # noqa: E501
39
+ allowable_values = [JOB_FAILED, JOB_SUCCEEDED, JOB_RETRYING, SERVICE_UNHEALTHY, SERVICE_RUNNING, SERVICE_ROLLING_OUT, SERVICE_ROLLING_BACK] # noqa: E501
36
40
 
37
41
  """
38
42
  Attributes:
@@ -18,7 +18,7 @@ import six
18
18
  from openapi_client.configuration import Configuration
19
19
 
20
20
 
21
- class ResourceAlert(object):
21
+ class ResourceNotification(object):
22
22
  """NOTE: This class is auto generated by OpenAPI Generator.
23
23
  Ref: https://openapi-generator.tech
24
24
 
@@ -37,7 +37,7 @@ class ResourceAlert(object):
37
37
  'cloud_id': 'str',
38
38
  'project_id': 'str',
39
39
  'user_id': 'str',
40
- 'alert_events': 'list[ResourceAlertEventType]',
40
+ 'notification_events': 'list[ResourceAlertEventType]',
41
41
  'notification_channel': 'CreateNotificationChannelRecord',
42
42
  'id': 'str',
43
43
  'is_enabled': 'bool',
@@ -52,7 +52,7 @@ class ResourceAlert(object):
52
52
  'cloud_id': 'cloud_id',
53
53
  'project_id': 'project_id',
54
54
  'user_id': 'user_id',
55
- 'alert_events': 'alert_events',
55
+ 'notification_events': 'notification_events',
56
56
  'notification_channel': 'notification_channel',
57
57
  'id': 'id',
58
58
  'is_enabled': 'is_enabled',
@@ -62,8 +62,8 @@ class ResourceAlert(object):
62
62
  'cloud': 'cloud'
63
63
  }
64
64
 
65
- def __init__(self, name=None, cloud_id=None, project_id=None, user_id=None, alert_events=None, notification_channel=None, id=None, is_enabled=True, created_at=None, deleted_at=None, creator=None, cloud=None, local_vars_configuration=None): # noqa: E501
66
- """ResourceAlert - a model defined in OpenAPI""" # noqa: E501
65
+ def __init__(self, name=None, cloud_id=None, project_id=None, user_id=None, notification_events=None, notification_channel=None, id=None, is_enabled=True, created_at=None, deleted_at=None, creator=None, cloud=None, local_vars_configuration=None): # noqa: E501
66
+ """ResourceNotification - a model defined in OpenAPI""" # noqa: E501
67
67
  if local_vars_configuration is None:
68
68
  local_vars_configuration = Configuration()
69
69
  self.local_vars_configuration = local_vars_configuration
@@ -72,7 +72,7 @@ class ResourceAlert(object):
72
72
  self._cloud_id = None
73
73
  self._project_id = None
74
74
  self._user_id = None
75
- self._alert_events = None
75
+ self._notification_events = None
76
76
  self._notification_channel = None
77
77
  self._id = None
78
78
  self._is_enabled = None
@@ -88,7 +88,7 @@ class ResourceAlert(object):
88
88
  self.project_id = project_id
89
89
  if user_id is not None:
90
90
  self.user_id = user_id
91
- self.alert_events = alert_events
91
+ self.notification_events = notification_events
92
92
  if notification_channel is not None:
93
93
  self.notification_channel = notification_channel
94
94
  self.id = id
@@ -102,22 +102,22 @@ class ResourceAlert(object):
102
102
 
103
103
  @property
104
104
  def name(self):
105
- """Gets the name of this ResourceAlert. # noqa: E501
105
+ """Gets the name of this ResourceNotification. # noqa: E501
106
106
 
107
107
  The name of this resource alert. # noqa: E501
108
108
 
109
- :return: The name of this ResourceAlert. # noqa: E501
109
+ :return: The name of this ResourceNotification. # noqa: E501
110
110
  :rtype: str
111
111
  """
112
112
  return self._name
113
113
 
114
114
  @name.setter
115
115
  def name(self, name):
116
- """Sets the name of this ResourceAlert.
116
+ """Sets the name of this ResourceNotification.
117
117
 
118
118
  The name of this resource alert. # noqa: E501
119
119
 
120
- :param name: The name of this ResourceAlert. # noqa: E501
120
+ :param name: The name of this ResourceNotification. # noqa: E501
121
121
  :type: str
122
122
  """
123
123
  if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
@@ -127,22 +127,22 @@ class ResourceAlert(object):
127
127
 
128
128
  @property
129
129
  def cloud_id(self):
130
- """Gets the cloud_id of this ResourceAlert. # noqa: E501
130
+ """Gets the cloud_id of this ResourceNotification. # noqa: E501
131
131
 
132
132
  The ID of the cloud that this resource alert applies to. # noqa: E501
133
133
 
134
- :return: The cloud_id of this ResourceAlert. # noqa: E501
134
+ :return: The cloud_id of this ResourceNotification. # noqa: E501
135
135
  :rtype: str
136
136
  """
137
137
  return self._cloud_id
138
138
 
139
139
  @cloud_id.setter
140
140
  def cloud_id(self, cloud_id):
141
- """Sets the cloud_id of this ResourceAlert.
141
+ """Sets the cloud_id of this ResourceNotification.
142
142
 
143
143
  The ID of the cloud that this resource alert applies to. # noqa: E501
144
144
 
145
- :param cloud_id: The cloud_id of this ResourceAlert. # noqa: E501
145
+ :param cloud_id: The cloud_id of this ResourceNotification. # noqa: E501
146
146
  :type: str
147
147
  """
148
148
  if self.local_vars_configuration.client_side_validation and cloud_id is None: # noqa: E501
@@ -152,22 +152,22 @@ class ResourceAlert(object):
152
152
 
153
153
  @property
154
154
  def project_id(self):
155
- """Gets the project_id of this ResourceAlert. # noqa: E501
155
+ """Gets the project_id of this ResourceNotification. # noqa: E501
156
156
 
157
157
  The ID of the project that this resource alert applies to. # noqa: E501
158
158
 
159
- :return: The project_id of this ResourceAlert. # noqa: E501
159
+ :return: The project_id of this ResourceNotification. # noqa: E501
160
160
  :rtype: str
161
161
  """
162
162
  return self._project_id
163
163
 
164
164
  @project_id.setter
165
165
  def project_id(self, project_id):
166
- """Sets the project_id of this ResourceAlert.
166
+ """Sets the project_id of this ResourceNotification.
167
167
 
168
168
  The ID of the project that this resource alert applies to. # noqa: E501
169
169
 
170
- :param project_id: The project_id of this ResourceAlert. # noqa: E501
170
+ :param project_id: The project_id of this ResourceNotification. # noqa: E501
171
171
  :type: str
172
172
  """
173
173
 
@@ -175,70 +175,70 @@ class ResourceAlert(object):
175
175
 
176
176
  @property
177
177
  def user_id(self):
178
- """Gets the user_id of this ResourceAlert. # noqa: E501
178
+ """Gets the user_id of this ResourceNotification. # noqa: E501
179
179
 
180
180
  The ID of the user that this resource alert applies to. # noqa: E501
181
181
 
182
- :return: The user_id of this ResourceAlert. # noqa: E501
182
+ :return: The user_id of this ResourceNotification. # noqa: E501
183
183
  :rtype: str
184
184
  """
185
185
  return self._user_id
186
186
 
187
187
  @user_id.setter
188
188
  def user_id(self, user_id):
189
- """Sets the user_id of this ResourceAlert.
189
+ """Sets the user_id of this ResourceNotification.
190
190
 
191
191
  The ID of the user that this resource alert applies to. # noqa: E501
192
192
 
193
- :param user_id: The user_id of this ResourceAlert. # noqa: E501
193
+ :param user_id: The user_id of this ResourceNotification. # noqa: E501
194
194
  :type: str
195
195
  """
196
196
 
197
197
  self._user_id = user_id
198
198
 
199
199
  @property
200
- def alert_events(self):
201
- """Gets the alert_events of this ResourceAlert. # noqa: E501
200
+ def notification_events(self):
201
+ """Gets the notification_events of this ResourceNotification. # noqa: E501
202
202
 
203
203
  The event types to alert on. # noqa: E501
204
204
 
205
- :return: The alert_events of this ResourceAlert. # noqa: E501
205
+ :return: The notification_events of this ResourceNotification. # noqa: E501
206
206
  :rtype: list[ResourceAlertEventType]
207
207
  """
208
- return self._alert_events
208
+ return self._notification_events
209
209
 
210
- @alert_events.setter
211
- def alert_events(self, alert_events):
212
- """Sets the alert_events of this ResourceAlert.
210
+ @notification_events.setter
211
+ def notification_events(self, notification_events):
212
+ """Sets the notification_events of this ResourceNotification.
213
213
 
214
214
  The event types to alert on. # noqa: E501
215
215
 
216
- :param alert_events: The alert_events of this ResourceAlert. # noqa: E501
216
+ :param notification_events: The notification_events of this ResourceNotification. # noqa: E501
217
217
  :type: list[ResourceAlertEventType]
218
218
  """
219
- if self.local_vars_configuration.client_side_validation and alert_events is None: # noqa: E501
220
- raise ValueError("Invalid value for `alert_events`, must not be `None`") # noqa: E501
219
+ if self.local_vars_configuration.client_side_validation and notification_events is None: # noqa: E501
220
+ raise ValueError("Invalid value for `notification_events`, must not be `None`") # noqa: E501
221
221
 
222
- self._alert_events = alert_events
222
+ self._notification_events = notification_events
223
223
 
224
224
  @property
225
225
  def notification_channel(self):
226
- """Gets the notification_channel of this ResourceAlert. # noqa: E501
226
+ """Gets the notification_channel of this ResourceNotification. # noqa: E501
227
227
 
228
228
  The notification channel that this resource alert sends notification to. # noqa: E501
229
229
 
230
- :return: The notification_channel of this ResourceAlert. # noqa: E501
230
+ :return: The notification_channel of this ResourceNotification. # noqa: E501
231
231
  :rtype: CreateNotificationChannelRecord
232
232
  """
233
233
  return self._notification_channel
234
234
 
235
235
  @notification_channel.setter
236
236
  def notification_channel(self, notification_channel):
237
- """Sets the notification_channel of this ResourceAlert.
237
+ """Sets the notification_channel of this ResourceNotification.
238
238
 
239
239
  The notification channel that this resource alert sends notification to. # noqa: E501
240
240
 
241
- :param notification_channel: The notification_channel of this ResourceAlert. # noqa: E501
241
+ :param notification_channel: The notification_channel of this ResourceNotification. # noqa: E501
242
242
  :type: CreateNotificationChannelRecord
243
243
  """
244
244
 
@@ -246,22 +246,22 @@ class ResourceAlert(object):
246
246
 
247
247
  @property
248
248
  def id(self):
249
- """Gets the id of this ResourceAlert. # noqa: E501
249
+ """Gets the id of this ResourceNotification. # noqa: E501
250
250
 
251
251
  The ID of this resource alert. # noqa: E501
252
252
 
253
- :return: The id of this ResourceAlert. # noqa: E501
253
+ :return: The id of this ResourceNotification. # noqa: E501
254
254
  :rtype: str
255
255
  """
256
256
  return self._id
257
257
 
258
258
  @id.setter
259
259
  def id(self, id):
260
- """Sets the id of this ResourceAlert.
260
+ """Sets the id of this ResourceNotification.
261
261
 
262
262
  The ID of this resource alert. # noqa: E501
263
263
 
264
- :param id: The id of this ResourceAlert. # noqa: E501
264
+ :param id: The id of this ResourceNotification. # noqa: E501
265
265
  :type: str
266
266
  """
267
267
  if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501
@@ -271,22 +271,22 @@ class ResourceAlert(object):
271
271
 
272
272
  @property
273
273
  def is_enabled(self):
274
- """Gets the is_enabled of this ResourceAlert. # noqa: E501
274
+ """Gets the is_enabled of this ResourceNotification. # noqa: E501
275
275
 
276
276
  Whether this resource alert is enabled. # noqa: E501
277
277
 
278
- :return: The is_enabled of this ResourceAlert. # noqa: E501
278
+ :return: The is_enabled of this ResourceNotification. # noqa: E501
279
279
  :rtype: bool
280
280
  """
281
281
  return self._is_enabled
282
282
 
283
283
  @is_enabled.setter
284
284
  def is_enabled(self, is_enabled):
285
- """Sets the is_enabled of this ResourceAlert.
285
+ """Sets the is_enabled of this ResourceNotification.
286
286
 
287
287
  Whether this resource alert is enabled. # noqa: E501
288
288
 
289
- :param is_enabled: The is_enabled of this ResourceAlert. # noqa: E501
289
+ :param is_enabled: The is_enabled of this ResourceNotification. # noqa: E501
290
290
  :type: bool
291
291
  """
292
292
 
@@ -294,22 +294,22 @@ class ResourceAlert(object):
294
294
 
295
295
  @property
296
296
  def created_at(self):
297
- """Gets the created_at of this ResourceAlert. # noqa: E501
297
+ """Gets the created_at of this ResourceNotification. # noqa: E501
298
298
 
299
299
  The timestamp when this resource alert was created. # noqa: E501
300
300
 
301
- :return: The created_at of this ResourceAlert. # noqa: E501
301
+ :return: The created_at of this ResourceNotification. # noqa: E501
302
302
  :rtype: datetime
303
303
  """
304
304
  return self._created_at
305
305
 
306
306
  @created_at.setter
307
307
  def created_at(self, created_at):
308
- """Sets the created_at of this ResourceAlert.
308
+ """Sets the created_at of this ResourceNotification.
309
309
 
310
310
  The timestamp when this resource alert was created. # noqa: E501
311
311
 
312
- :param created_at: The created_at of this ResourceAlert. # noqa: E501
312
+ :param created_at: The created_at of this ResourceNotification. # noqa: E501
313
313
  :type: datetime
314
314
  """
315
315
  if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501
@@ -319,22 +319,22 @@ class ResourceAlert(object):
319
319
 
320
320
  @property
321
321
  def deleted_at(self):
322
- """Gets the deleted_at of this ResourceAlert. # noqa: E501
322
+ """Gets the deleted_at of this ResourceNotification. # noqa: E501
323
323
 
324
324
  The timestamp when this resource alert was deleted. # noqa: E501
325
325
 
326
- :return: The deleted_at of this ResourceAlert. # noqa: E501
326
+ :return: The deleted_at of this ResourceNotification. # noqa: E501
327
327
  :rtype: datetime
328
328
  """
329
329
  return self._deleted_at
330
330
 
331
331
  @deleted_at.setter
332
332
  def deleted_at(self, deleted_at):
333
- """Sets the deleted_at of this ResourceAlert.
333
+ """Sets the deleted_at of this ResourceNotification.
334
334
 
335
335
  The timestamp when this resource alert was deleted. # noqa: E501
336
336
 
337
- :param deleted_at: The deleted_at of this ResourceAlert. # noqa: E501
337
+ :param deleted_at: The deleted_at of this ResourceNotification. # noqa: E501
338
338
  :type: datetime
339
339
  """
340
340
 
@@ -342,22 +342,22 @@ class ResourceAlert(object):
342
342
 
343
343
  @property
344
344
  def creator(self):
345
- """Gets the creator of this ResourceAlert. # noqa: E501
345
+ """Gets the creator of this ResourceNotification. # noqa: E501
346
346
 
347
347
  The user that created this resource alert. # noqa: E501
348
348
 
349
- :return: The creator of this ResourceAlert. # noqa: E501
349
+ :return: The creator of this ResourceNotification. # noqa: E501
350
350
  :rtype: MiniUser
351
351
  """
352
352
  return self._creator
353
353
 
354
354
  @creator.setter
355
355
  def creator(self, creator):
356
- """Sets the creator of this ResourceAlert.
356
+ """Sets the creator of this ResourceNotification.
357
357
 
358
358
  The user that created this resource alert. # noqa: E501
359
359
 
360
- :param creator: The creator of this ResourceAlert. # noqa: E501
360
+ :param creator: The creator of this ResourceNotification. # noqa: E501
361
361
  :type: MiniUser
362
362
  """
363
363
  if self.local_vars_configuration.client_side_validation and creator is None: # noqa: E501
@@ -367,22 +367,22 @@ class ResourceAlert(object):
367
367
 
368
368
  @property
369
369
  def cloud(self):
370
- """Gets the cloud of this ResourceAlert. # noqa: E501
370
+ """Gets the cloud of this ResourceNotification. # noqa: E501
371
371
 
372
372
  The cloud that this resource alert applies to. # noqa: E501
373
373
 
374
- :return: The cloud of this ResourceAlert. # noqa: E501
374
+ :return: The cloud of this ResourceNotification. # noqa: E501
375
375
  :rtype: MiniCloud
376
376
  """
377
377
  return self._cloud
378
378
 
379
379
  @cloud.setter
380
380
  def cloud(self, cloud):
381
- """Sets the cloud of this ResourceAlert.
381
+ """Sets the cloud of this ResourceNotification.
382
382
 
383
383
  The cloud that this resource alert applies to. # noqa: E501
384
384
 
385
- :param cloud: The cloud of this ResourceAlert. # noqa: E501
385
+ :param cloud: The cloud of this ResourceNotification. # noqa: E501
386
386
  :type: MiniCloud
387
387
  """
388
388
  if self.local_vars_configuration.client_side_validation and cloud is None: # noqa: E501
@@ -424,14 +424,14 @@ class ResourceAlert(object):
424
424
 
425
425
  def __eq__(self, other):
426
426
  """Returns true if both objects are equal"""
427
- if not isinstance(other, ResourceAlert):
427
+ if not isinstance(other, ResourceNotification):
428
428
  return False
429
429
 
430
430
  return self.to_dict() == other.to_dict()
431
431
 
432
432
  def __ne__(self, other):
433
433
  """Returns true if both objects are not equal"""
434
- if not isinstance(other, ResourceAlert):
434
+ if not isinstance(other, ResourceNotification):
435
435
  return True
436
436
 
437
437
  return self.to_dict() != other.to_dict()