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.
- anyscale/_private/anyscale_client/anyscale_client.py +13 -1
- anyscale/_private/anyscale_client/common.py +1 -1
- anyscale/_private/docgen/models.md +2 -2
- anyscale/client/README.md +21 -10
- anyscale/client/openapi_client/__init__.py +15 -6
- anyscale/client/openapi_client/api/default_api.py +322 -83
- anyscale/client/openapi_client/models/__init__.py +15 -6
- anyscale/client/openapi_client/models/{customer_billing_type.py → actor_status.py} +7 -8
- anyscale/client/openapi_client/models/aggregated_instance_usage_csv.py +81 -3
- anyscale/client/openapi_client/models/baseimagesenum.py +59 -1
- anyscale/client/openapi_client/models/create_organization_configuration.py +3 -3
- anyscale/client/openapi_client/models/{create_resource_alert.py → create_resource_notification.py} +40 -40
- anyscale/client/openapi_client/models/job_details.py +173 -0
- anyscale/client/openapi_client/models/{list_resource_alerts_query.py → list_resource_notifications_query.py} +24 -24
- anyscale/client/openapi_client/models/machine_launch_failure.py +152 -0
- anyscale/client/openapi_client/models/organization_configuration.py +3 -3
- anyscale/client/openapi_client/models/organization_configuration_response.py +3 -3
- anyscale/client/openapi_client/models/resource_alert_event_type.py +5 -1
- anyscale/client/openapi_client/models/{resource_alert.py → resource_notification.py} +64 -64
- anyscale/client/openapi_client/models/resourcenotification_list_response.py +147 -0
- anyscale/client/openapi_client/models/{resourcealert_response.py → resourcenotification_response.py} +11 -11
- anyscale/client/openapi_client/models/run_attempt_status.py +103 -0
- anyscale/client/openapi_client/models/run_status.py +106 -0
- anyscale/client/openapi_client/models/scheduler_info.py +32 -3
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +59 -1
- anyscale/client/openapi_client/models/tool.py +2 -1
- anyscale/client/openapi_client/models/train_resources.py +121 -0
- anyscale/client/openapi_client/models/train_run.py +387 -0
- anyscale/client/openapi_client/models/train_run_attempt.py +308 -0
- anyscale/client/openapi_client/models/train_worker.py +363 -0
- anyscale/client/openapi_client/models/{resourcealert_list_response.py → trainrun_list_response.py} +15 -15
- anyscale/client/openapi_client/models/workspace_dataplane_proxied_artifacts.py +31 -3
- anyscale/commands/machine_pool_commands.py +15 -10
- anyscale/resource_quota/commands.py +1 -2
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +59 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +59 -1
- anyscale/service/_private/service_sdk.py +2 -3
- anyscale/shared_anyscale_utils/constants.py +3 -0
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/METADATA +1 -1
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/RECORD +47 -37
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/LICENSE +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/NOTICE +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/WHEEL +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/top_level.txt +0 -0
anyscale/client/openapi_client/models/{create_resource_alert.py → create_resource_notification.py}
RENAMED
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class CreateResourceNotification(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 CreateResourceAlert(object):
|
|
37
37
|
'cloud_id': 'str',
|
38
38
|
'project_id': 'str',
|
39
39
|
'user_id': 'str',
|
40
|
-
'
|
40
|
+
'notification_events': 'list[ResourceAlertEventType]',
|
41
41
|
'notification_channel': 'CreateNotificationChannelRecord'
|
42
42
|
}
|
43
43
|
|
@@ -46,12 +46,12 @@ class CreateResourceAlert(object):
|
|
46
46
|
'cloud_id': 'cloud_id',
|
47
47
|
'project_id': 'project_id',
|
48
48
|
'user_id': 'user_id',
|
49
|
-
'
|
49
|
+
'notification_events': 'notification_events',
|
50
50
|
'notification_channel': 'notification_channel'
|
51
51
|
}
|
52
52
|
|
53
|
-
def __init__(self, name=None, cloud_id=None, project_id=None, user_id=None,
|
54
|
-
"""
|
53
|
+
def __init__(self, name=None, cloud_id=None, project_id=None, user_id=None, notification_events=None, notification_channel=None, local_vars_configuration=None): # noqa: E501
|
54
|
+
"""CreateResourceNotification - a model defined in OpenAPI""" # noqa: E501
|
55
55
|
if local_vars_configuration is None:
|
56
56
|
local_vars_configuration = Configuration()
|
57
57
|
self.local_vars_configuration = local_vars_configuration
|
@@ -60,7 +60,7 @@ class CreateResourceAlert(object):
|
|
60
60
|
self._cloud_id = None
|
61
61
|
self._project_id = None
|
62
62
|
self._user_id = None
|
63
|
-
self.
|
63
|
+
self._notification_events = None
|
64
64
|
self._notification_channel = None
|
65
65
|
self.discriminator = None
|
66
66
|
|
@@ -70,28 +70,28 @@ class CreateResourceAlert(object):
|
|
70
70
|
self.project_id = project_id
|
71
71
|
if user_id is not None:
|
72
72
|
self.user_id = user_id
|
73
|
-
self.
|
73
|
+
self.notification_events = notification_events
|
74
74
|
if notification_channel is not None:
|
75
75
|
self.notification_channel = notification_channel
|
76
76
|
|
77
77
|
@property
|
78
78
|
def name(self):
|
79
|
-
"""Gets the name of this
|
79
|
+
"""Gets the name of this CreateResourceNotification. # noqa: E501
|
80
80
|
|
81
81
|
The name of this resource alert. # noqa: E501
|
82
82
|
|
83
|
-
:return: The name of this
|
83
|
+
:return: The name of this CreateResourceNotification. # noqa: E501
|
84
84
|
:rtype: str
|
85
85
|
"""
|
86
86
|
return self._name
|
87
87
|
|
88
88
|
@name.setter
|
89
89
|
def name(self, name):
|
90
|
-
"""Sets the name of this
|
90
|
+
"""Sets the name of this CreateResourceNotification.
|
91
91
|
|
92
92
|
The name of this resource alert. # noqa: E501
|
93
93
|
|
94
|
-
:param name: The name of this
|
94
|
+
:param name: The name of this CreateResourceNotification. # noqa: E501
|
95
95
|
:type: str
|
96
96
|
"""
|
97
97
|
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
|
@@ -101,22 +101,22 @@ class CreateResourceAlert(object):
|
|
101
101
|
|
102
102
|
@property
|
103
103
|
def cloud_id(self):
|
104
|
-
"""Gets the cloud_id of this
|
104
|
+
"""Gets the cloud_id of this CreateResourceNotification. # noqa: E501
|
105
105
|
|
106
106
|
The ID of the cloud that this resource alert applies to. # noqa: E501
|
107
107
|
|
108
|
-
:return: The cloud_id of this
|
108
|
+
:return: The cloud_id of this CreateResourceNotification. # noqa: E501
|
109
109
|
:rtype: str
|
110
110
|
"""
|
111
111
|
return self._cloud_id
|
112
112
|
|
113
113
|
@cloud_id.setter
|
114
114
|
def cloud_id(self, cloud_id):
|
115
|
-
"""Sets the cloud_id of this
|
115
|
+
"""Sets the cloud_id of this CreateResourceNotification.
|
116
116
|
|
117
117
|
The ID of the cloud that this resource alert applies to. # noqa: E501
|
118
118
|
|
119
|
-
:param cloud_id: The cloud_id of this
|
119
|
+
:param cloud_id: The cloud_id of this CreateResourceNotification. # noqa: E501
|
120
120
|
:type: str
|
121
121
|
"""
|
122
122
|
if self.local_vars_configuration.client_side_validation and cloud_id is None: # noqa: E501
|
@@ -126,22 +126,22 @@ class CreateResourceAlert(object):
|
|
126
126
|
|
127
127
|
@property
|
128
128
|
def project_id(self):
|
129
|
-
"""Gets the project_id of this
|
129
|
+
"""Gets the project_id of this CreateResourceNotification. # noqa: E501
|
130
130
|
|
131
131
|
The ID of the project that this resource alert applies to. # noqa: E501
|
132
132
|
|
133
|
-
:return: The project_id of this
|
133
|
+
:return: The project_id of this CreateResourceNotification. # noqa: E501
|
134
134
|
:rtype: str
|
135
135
|
"""
|
136
136
|
return self._project_id
|
137
137
|
|
138
138
|
@project_id.setter
|
139
139
|
def project_id(self, project_id):
|
140
|
-
"""Sets the project_id of this
|
140
|
+
"""Sets the project_id of this CreateResourceNotification.
|
141
141
|
|
142
142
|
The ID of the project that this resource alert applies to. # noqa: E501
|
143
143
|
|
144
|
-
:param project_id: The project_id of this
|
144
|
+
:param project_id: The project_id of this CreateResourceNotification. # noqa: E501
|
145
145
|
:type: str
|
146
146
|
"""
|
147
147
|
|
@@ -149,70 +149,70 @@ class CreateResourceAlert(object):
|
|
149
149
|
|
150
150
|
@property
|
151
151
|
def user_id(self):
|
152
|
-
"""Gets the user_id of this
|
152
|
+
"""Gets the user_id of this CreateResourceNotification. # noqa: E501
|
153
153
|
|
154
154
|
The ID of the user that this resource alert applies to. # noqa: E501
|
155
155
|
|
156
|
-
:return: The user_id of this
|
156
|
+
:return: The user_id of this CreateResourceNotification. # noqa: E501
|
157
157
|
:rtype: str
|
158
158
|
"""
|
159
159
|
return self._user_id
|
160
160
|
|
161
161
|
@user_id.setter
|
162
162
|
def user_id(self, user_id):
|
163
|
-
"""Sets the user_id of this
|
163
|
+
"""Sets the user_id of this CreateResourceNotification.
|
164
164
|
|
165
165
|
The ID of the user that this resource alert applies to. # noqa: E501
|
166
166
|
|
167
|
-
:param user_id: The user_id of this
|
167
|
+
:param user_id: The user_id of this CreateResourceNotification. # noqa: E501
|
168
168
|
:type: str
|
169
169
|
"""
|
170
170
|
|
171
171
|
self._user_id = user_id
|
172
172
|
|
173
173
|
@property
|
174
|
-
def
|
175
|
-
"""Gets the
|
174
|
+
def notification_events(self):
|
175
|
+
"""Gets the notification_events of this CreateResourceNotification. # noqa: E501
|
176
176
|
|
177
177
|
The event types to alert on. # noqa: E501
|
178
178
|
|
179
|
-
:return: The
|
179
|
+
:return: The notification_events of this CreateResourceNotification. # noqa: E501
|
180
180
|
:rtype: list[ResourceAlertEventType]
|
181
181
|
"""
|
182
|
-
return self.
|
182
|
+
return self._notification_events
|
183
183
|
|
184
|
-
@
|
185
|
-
def
|
186
|
-
"""Sets the
|
184
|
+
@notification_events.setter
|
185
|
+
def notification_events(self, notification_events):
|
186
|
+
"""Sets the notification_events of this CreateResourceNotification.
|
187
187
|
|
188
188
|
The event types to alert on. # noqa: E501
|
189
189
|
|
190
|
-
:param
|
190
|
+
:param notification_events: The notification_events of this CreateResourceNotification. # noqa: E501
|
191
191
|
:type: list[ResourceAlertEventType]
|
192
192
|
"""
|
193
|
-
if self.local_vars_configuration.client_side_validation and
|
194
|
-
raise ValueError("Invalid value for `
|
193
|
+
if self.local_vars_configuration.client_side_validation and notification_events is None: # noqa: E501
|
194
|
+
raise ValueError("Invalid value for `notification_events`, must not be `None`") # noqa: E501
|
195
195
|
|
196
|
-
self.
|
196
|
+
self._notification_events = notification_events
|
197
197
|
|
198
198
|
@property
|
199
199
|
def notification_channel(self):
|
200
|
-
"""Gets the notification_channel of this
|
200
|
+
"""Gets the notification_channel of this CreateResourceNotification. # noqa: E501
|
201
201
|
|
202
202
|
The notification channel that this resource alert sends notification to. # noqa: E501
|
203
203
|
|
204
|
-
:return: The notification_channel of this
|
204
|
+
:return: The notification_channel of this CreateResourceNotification. # noqa: E501
|
205
205
|
:rtype: CreateNotificationChannelRecord
|
206
206
|
"""
|
207
207
|
return self._notification_channel
|
208
208
|
|
209
209
|
@notification_channel.setter
|
210
210
|
def notification_channel(self, notification_channel):
|
211
|
-
"""Sets the notification_channel of this
|
211
|
+
"""Sets the notification_channel of this CreateResourceNotification.
|
212
212
|
|
213
213
|
The notification channel that this resource alert sends notification to. # noqa: E501
|
214
214
|
|
215
|
-
:param notification_channel: The notification_channel of this
|
215
|
+
:param notification_channel: The notification_channel of this CreateResourceNotification. # noqa: E501
|
216
216
|
:type: CreateNotificationChannelRecord
|
217
217
|
"""
|
218
218
|
|
@@ -252,14 +252,14 @@ class CreateResourceAlert(object):
|
|
252
252
|
|
253
253
|
def __eq__(self, other):
|
254
254
|
"""Returns true if both objects are equal"""
|
255
|
-
if not isinstance(other,
|
255
|
+
if not isinstance(other, CreateResourceNotification):
|
256
256
|
return False
|
257
257
|
|
258
258
|
return self.to_dict() == other.to_dict()
|
259
259
|
|
260
260
|
def __ne__(self, other):
|
261
261
|
"""Returns true if both objects are not equal"""
|
262
|
-
if not isinstance(other,
|
262
|
+
if not isinstance(other, CreateResourceNotification):
|
263
263
|
return True
|
264
264
|
|
265
265
|
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,173 @@
|
|
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 JobDetails(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
|
+
'job_id': 'str',
|
37
|
+
'submission_id': 'str',
|
38
|
+
'entrypoint': 'str'
|
39
|
+
}
|
40
|
+
|
41
|
+
attribute_map = {
|
42
|
+
'job_id': 'job_id',
|
43
|
+
'submission_id': 'submission_id',
|
44
|
+
'entrypoint': 'entrypoint'
|
45
|
+
}
|
46
|
+
|
47
|
+
def __init__(self, job_id=None, submission_id=None, entrypoint=None, local_vars_configuration=None): # noqa: E501
|
48
|
+
"""JobDetails - a model defined in OpenAPI""" # noqa: E501
|
49
|
+
if local_vars_configuration is None:
|
50
|
+
local_vars_configuration = Configuration()
|
51
|
+
self.local_vars_configuration = local_vars_configuration
|
52
|
+
|
53
|
+
self._job_id = None
|
54
|
+
self._submission_id = None
|
55
|
+
self._entrypoint = None
|
56
|
+
self.discriminator = None
|
57
|
+
|
58
|
+
if job_id is not None:
|
59
|
+
self.job_id = job_id
|
60
|
+
if submission_id is not None:
|
61
|
+
self.submission_id = submission_id
|
62
|
+
self.entrypoint = entrypoint
|
63
|
+
|
64
|
+
@property
|
65
|
+
def job_id(self):
|
66
|
+
"""Gets the job_id of this JobDetails. # noqa: E501
|
67
|
+
|
68
|
+
|
69
|
+
:return: The job_id of this JobDetails. # noqa: E501
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._job_id
|
73
|
+
|
74
|
+
@job_id.setter
|
75
|
+
def job_id(self, job_id):
|
76
|
+
"""Sets the job_id of this JobDetails.
|
77
|
+
|
78
|
+
|
79
|
+
:param job_id: The job_id of this JobDetails. # noqa: E501
|
80
|
+
:type: str
|
81
|
+
"""
|
82
|
+
|
83
|
+
self._job_id = job_id
|
84
|
+
|
85
|
+
@property
|
86
|
+
def submission_id(self):
|
87
|
+
"""Gets the submission_id of this JobDetails. # noqa: E501
|
88
|
+
|
89
|
+
|
90
|
+
:return: The submission_id of this JobDetails. # noqa: E501
|
91
|
+
:rtype: str
|
92
|
+
"""
|
93
|
+
return self._submission_id
|
94
|
+
|
95
|
+
@submission_id.setter
|
96
|
+
def submission_id(self, submission_id):
|
97
|
+
"""Sets the submission_id of this JobDetails.
|
98
|
+
|
99
|
+
|
100
|
+
:param submission_id: The submission_id of this JobDetails. # noqa: E501
|
101
|
+
:type: str
|
102
|
+
"""
|
103
|
+
|
104
|
+
self._submission_id = submission_id
|
105
|
+
|
106
|
+
@property
|
107
|
+
def entrypoint(self):
|
108
|
+
"""Gets the entrypoint of this JobDetails. # noqa: E501
|
109
|
+
|
110
|
+
|
111
|
+
:return: The entrypoint of this JobDetails. # noqa: E501
|
112
|
+
:rtype: str
|
113
|
+
"""
|
114
|
+
return self._entrypoint
|
115
|
+
|
116
|
+
@entrypoint.setter
|
117
|
+
def entrypoint(self, entrypoint):
|
118
|
+
"""Sets the entrypoint of this JobDetails.
|
119
|
+
|
120
|
+
|
121
|
+
:param entrypoint: The entrypoint of this JobDetails. # noqa: E501
|
122
|
+
:type: str
|
123
|
+
"""
|
124
|
+
if self.local_vars_configuration.client_side_validation and entrypoint is None: # noqa: E501
|
125
|
+
raise ValueError("Invalid value for `entrypoint`, must not be `None`") # noqa: E501
|
126
|
+
|
127
|
+
self._entrypoint = entrypoint
|
128
|
+
|
129
|
+
def to_dict(self):
|
130
|
+
"""Returns the model properties as a dict"""
|
131
|
+
result = {}
|
132
|
+
|
133
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
134
|
+
value = getattr(self, attr)
|
135
|
+
if isinstance(value, list):
|
136
|
+
result[attr] = list(map(
|
137
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
138
|
+
value
|
139
|
+
))
|
140
|
+
elif hasattr(value, "to_dict"):
|
141
|
+
result[attr] = value.to_dict()
|
142
|
+
elif isinstance(value, dict):
|
143
|
+
result[attr] = dict(map(
|
144
|
+
lambda item: (item[0], item[1].to_dict())
|
145
|
+
if hasattr(item[1], "to_dict") else item,
|
146
|
+
value.items()
|
147
|
+
))
|
148
|
+
else:
|
149
|
+
result[attr] = value
|
150
|
+
|
151
|
+
return result
|
152
|
+
|
153
|
+
def to_str(self):
|
154
|
+
"""Returns the string representation of the model"""
|
155
|
+
return pprint.pformat(self.to_dict())
|
156
|
+
|
157
|
+
def __repr__(self):
|
158
|
+
"""For `print` and `pprint`"""
|
159
|
+
return self.to_str()
|
160
|
+
|
161
|
+
def __eq__(self, other):
|
162
|
+
"""Returns true if both objects are equal"""
|
163
|
+
if not isinstance(other, JobDetails):
|
164
|
+
return False
|
165
|
+
|
166
|
+
return self.to_dict() == other.to_dict()
|
167
|
+
|
168
|
+
def __ne__(self, other):
|
169
|
+
"""Returns true if both objects are not equal"""
|
170
|
+
if not isinstance(other, JobDetails):
|
171
|
+
return True
|
172
|
+
|
173
|
+
return self.to_dict() != other.to_dict()
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class ListResourceNotificationsQuery(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -49,7 +49,7 @@ class ListResourceAlertsQuery(object):
|
|
49
49
|
}
|
50
50
|
|
51
51
|
def __init__(self, name=None, cloud_id=None, creator_id=None, is_enabled=None, paging=None, local_vars_configuration=None): # noqa: E501
|
52
|
-
"""
|
52
|
+
"""ListResourceNotificationsQuery - a model defined in OpenAPI""" # noqa: E501
|
53
53
|
if local_vars_configuration is None:
|
54
54
|
local_vars_configuration = Configuration()
|
55
55
|
self.local_vars_configuration = local_vars_configuration
|
@@ -74,22 +74,22 @@ class ListResourceAlertsQuery(object):
|
|
74
74
|
|
75
75
|
@property
|
76
76
|
def name(self):
|
77
|
-
"""Gets the name of this
|
77
|
+
"""Gets the name of this ListResourceNotificationsQuery. # noqa: E501
|
78
78
|
|
79
79
|
The name filter for the resource alerts. # noqa: E501
|
80
80
|
|
81
|
-
:return: The name of this
|
81
|
+
:return: The name of this ListResourceNotificationsQuery. # noqa: E501
|
82
82
|
:rtype: TextQuery
|
83
83
|
"""
|
84
84
|
return self._name
|
85
85
|
|
86
86
|
@name.setter
|
87
87
|
def name(self, name):
|
88
|
-
"""Sets the name of this
|
88
|
+
"""Sets the name of this ListResourceNotificationsQuery.
|
89
89
|
|
90
90
|
The name filter for the resource alerts. # noqa: E501
|
91
91
|
|
92
|
-
:param name: The name of this
|
92
|
+
:param name: The name of this ListResourceNotificationsQuery. # noqa: E501
|
93
93
|
:type: TextQuery
|
94
94
|
"""
|
95
95
|
|
@@ -97,22 +97,22 @@ class ListResourceAlertsQuery(object):
|
|
97
97
|
|
98
98
|
@property
|
99
99
|
def cloud_id(self):
|
100
|
-
"""Gets the cloud_id of this
|
100
|
+
"""Gets the cloud_id of this ListResourceNotificationsQuery. # noqa: E501
|
101
101
|
|
102
102
|
The cloud ID filter for the resource alerts. # noqa: E501
|
103
103
|
|
104
|
-
:return: The cloud_id of this
|
104
|
+
:return: The cloud_id of this ListResourceNotificationsQuery. # noqa: E501
|
105
105
|
:rtype: str
|
106
106
|
"""
|
107
107
|
return self._cloud_id
|
108
108
|
|
109
109
|
@cloud_id.setter
|
110
110
|
def cloud_id(self, cloud_id):
|
111
|
-
"""Sets the cloud_id of this
|
111
|
+
"""Sets the cloud_id of this ListResourceNotificationsQuery.
|
112
112
|
|
113
113
|
The cloud ID filter for the resource alerts. # noqa: E501
|
114
114
|
|
115
|
-
:param cloud_id: The cloud_id of this
|
115
|
+
:param cloud_id: The cloud_id of this ListResourceNotificationsQuery. # noqa: E501
|
116
116
|
:type: str
|
117
117
|
"""
|
118
118
|
|
@@ -120,22 +120,22 @@ class ListResourceAlertsQuery(object):
|
|
120
120
|
|
121
121
|
@property
|
122
122
|
def creator_id(self):
|
123
|
-
"""Gets the creator_id of this
|
123
|
+
"""Gets the creator_id of this ListResourceNotificationsQuery. # noqa: E501
|
124
124
|
|
125
125
|
The creator ID filter for the resource alerts. # noqa: E501
|
126
126
|
|
127
|
-
:return: The creator_id of this
|
127
|
+
:return: The creator_id of this ListResourceNotificationsQuery. # noqa: E501
|
128
128
|
:rtype: str
|
129
129
|
"""
|
130
130
|
return self._creator_id
|
131
131
|
|
132
132
|
@creator_id.setter
|
133
133
|
def creator_id(self, creator_id):
|
134
|
-
"""Sets the creator_id of this
|
134
|
+
"""Sets the creator_id of this ListResourceNotificationsQuery.
|
135
135
|
|
136
136
|
The creator ID filter for the resource alerts. # noqa: E501
|
137
137
|
|
138
|
-
:param creator_id: The creator_id of this
|
138
|
+
:param creator_id: The creator_id of this ListResourceNotificationsQuery. # noqa: E501
|
139
139
|
:type: str
|
140
140
|
"""
|
141
141
|
|
@@ -143,22 +143,22 @@ class ListResourceAlertsQuery(object):
|
|
143
143
|
|
144
144
|
@property
|
145
145
|
def is_enabled(self):
|
146
|
-
"""Gets the is_enabled of this
|
146
|
+
"""Gets the is_enabled of this ListResourceNotificationsQuery. # noqa: E501
|
147
147
|
|
148
148
|
The is_enabled filter for the resource alerts. # noqa: E501
|
149
149
|
|
150
|
-
:return: The is_enabled of this
|
150
|
+
:return: The is_enabled of this ListResourceNotificationsQuery. # noqa: E501
|
151
151
|
:rtype: bool
|
152
152
|
"""
|
153
153
|
return self._is_enabled
|
154
154
|
|
155
155
|
@is_enabled.setter
|
156
156
|
def is_enabled(self, is_enabled):
|
157
|
-
"""Sets the is_enabled of this
|
157
|
+
"""Sets the is_enabled of this ListResourceNotificationsQuery.
|
158
158
|
|
159
159
|
The is_enabled filter for the resource alerts. # noqa: E501
|
160
160
|
|
161
|
-
:param is_enabled: The is_enabled of this
|
161
|
+
:param is_enabled: The is_enabled of this ListResourceNotificationsQuery. # noqa: E501
|
162
162
|
:type: bool
|
163
163
|
"""
|
164
164
|
|
@@ -166,22 +166,22 @@ class ListResourceAlertsQuery(object):
|
|
166
166
|
|
167
167
|
@property
|
168
168
|
def paging(self):
|
169
|
-
"""Gets the paging of this
|
169
|
+
"""Gets the paging of this ListResourceNotificationsQuery. # noqa: E501
|
170
170
|
|
171
171
|
Pagination information. # noqa: E501
|
172
172
|
|
173
|
-
:return: The paging of this
|
173
|
+
:return: The paging of this ListResourceNotificationsQuery. # noqa: E501
|
174
174
|
:rtype: PageQuery
|
175
175
|
"""
|
176
176
|
return self._paging
|
177
177
|
|
178
178
|
@paging.setter
|
179
179
|
def paging(self, paging):
|
180
|
-
"""Sets the paging of this
|
180
|
+
"""Sets the paging of this ListResourceNotificationsQuery.
|
181
181
|
|
182
182
|
Pagination information. # noqa: E501
|
183
183
|
|
184
|
-
:param paging: The paging of this
|
184
|
+
:param paging: The paging of this ListResourceNotificationsQuery. # noqa: E501
|
185
185
|
:type: PageQuery
|
186
186
|
"""
|
187
187
|
|
@@ -221,14 +221,14 @@ class ListResourceAlertsQuery(object):
|
|
221
221
|
|
222
222
|
def __eq__(self, other):
|
223
223
|
"""Returns true if both objects are equal"""
|
224
|
-
if not isinstance(other,
|
224
|
+
if not isinstance(other, ListResourceNotificationsQuery):
|
225
225
|
return False
|
226
226
|
|
227
227
|
return self.to_dict() == other.to_dict()
|
228
228
|
|
229
229
|
def __ne__(self, other):
|
230
230
|
"""Returns true if both objects are not equal"""
|
231
|
-
if not isinstance(other,
|
231
|
+
if not isinstance(other, ListResourceNotificationsQuery):
|
232
232
|
return True
|
233
233
|
|
234
234
|
return self.to_dict() != other.to_dict()
|