anyscale 0.26.57__py3-none-any.whl → 0.26.59__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/common.py +1 -1
- anyscale/client/README.md +60 -0
- anyscale/client/openapi_client/__init__.py +42 -0
- anyscale/client/openapi_client/api/default_api.py +2541 -303
- anyscale/client/openapi_client/models/__init__.py +42 -0
- anyscale/client/openapi_client/models/apply_production_service_v2_model.py +31 -3
- anyscale/client/openapi_client/models/baseimagesenum.py +76 -1
- anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
- anyscale/client/openapi_client/models/create_internal_production_job.py +31 -3
- anyscale/client/openapi_client/models/create_job_queue_requests.py +31 -3
- anyscale/client/openapi_client/models/create_workspace_template.py +404 -0
- anyscale/client/openapi_client/models/create_workspace_template_version.py +178 -0
- anyscale/client/openapi_client/models/delete_resource_tags_request.py +175 -0
- anyscale/client/openapi_client/models/deleted_count.py +121 -0
- anyscale/client/openapi_client/models/deletedcount_response.py +121 -0
- anyscale/client/openapi_client/models/email_verification_request.py +175 -0
- anyscale/client/openapi_client/models/email_verification_response.py +120 -0
- anyscale/client/openapi_client/models/emailverificationresponse_response.py +121 -0
- anyscale/client/openapi_client/models/global_workspace_template.py +465 -0
- anyscale/client/openapi_client/models/globalworkspacetemplate_list_response.py +147 -0
- anyscale/client/openapi_client/models/job_queues_query.py +31 -3
- anyscale/client/openapi_client/models/operator_event.py +256 -0
- anyscale/client/openapi_client/models/operator_event_response.py +148 -0
- anyscale/client/openapi_client/models/operator_event_type.py +101 -0
- anyscale/client/openapi_client/models/published_filter.py +101 -0
- anyscale/client/openapi_client/models/resource_tag_record.py +310 -0
- anyscale/client/openapi_client/models/resource_tag_resource_type.py +102 -0
- anyscale/client/openapi_client/models/resource_tags_list.py +121 -0
- anyscale/client/openapi_client/models/resourcetagslist_response.py +121 -0
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +76 -1
- anyscale/client/openapi_client/models/tag_key.py +121 -0
- anyscale/client/openapi_client/models/tag_key_value.py +148 -0
- anyscale/client/openapi_client/models/tag_search_in.py +101 -0
- anyscale/client/openapi_client/models/tag_value.py +121 -0
- anyscale/client/openapi_client/models/tagkey_list_response.py +147 -0
- anyscale/client/openapi_client/models/tagkeyvalue_list_response.py +147 -0
- anyscale/client/openapi_client/models/tagvalue_list_response.py +147 -0
- anyscale/client/openapi_client/models/task_attempts.py +101 -0
- anyscale/client/openapi_client/models/task_table_config.py +29 -3
- anyscale/client/openapi_client/models/update_job_queue_request.py +31 -3
- anyscale/client/openapi_client/models/upsert_resource_tags_request.py +175 -0
- anyscale/client/openapi_client/models/use_work_os_response.py +121 -0
- anyscale/client/openapi_client/models/useworkosresponse_response.py +121 -0
- anyscale/client/openapi_client/models/work_os_authorize_url_response.py +120 -0
- anyscale/client/openapi_client/models/workosauthorizeurlresponse_response.py +121 -0
- anyscale/client/openapi_client/models/workspace_system_artifacts.py +234 -0
- anyscale/client/openapi_client/models/workspace_template.py +343 -204
- anyscale/client/openapi_client/models/workspace_template_category.py +100 -0
- anyscale/client/openapi_client/models/workspace_template_complexity.py +101 -0
- anyscale/client/openapi_client/models/workspace_template_icon_background_color.py +105 -0
- anyscale/client/openapi_client/models/workspace_template_icon_type.py +108 -0
- anyscale/client/openapi_client/models/workspace_template_version.py +323 -0
- anyscale/client/openapi_client/models/workspace_template_version_data_object.py +323 -0
- anyscale/client/openapi_client/models/workspace_templates_sort_field.py +101 -0
- anyscale/client/openapi_client/models/workspacetemplate_response.py +121 -0
- anyscale/client/openapi_client/models/workspacetemplateversion_list_response.py +147 -0
- anyscale/client/openapi_client/models/workspacetemplateversion_response.py +121 -0
- anyscale/commands/cloud_commands.py +15 -3
- anyscale/commands/command_examples.py +2 -2
- anyscale/controllers/cloud_controller.py +7 -3
- anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +31 -3
- anyscale/sdk/anyscale_client/models/apply_service_model.py +31 -3
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +76 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +76 -1
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/shared_anyscale_utils/utils/id_gen.py +3 -0
- anyscale/version.py +1 -1
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/METADATA +1 -1
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/RECORD +74 -32
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/WHEEL +0 -0
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/licenses/LICENSE +0 -0
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/licenses/NOTICE +0 -0
- {anyscale-0.26.57.dist-info → anyscale-0.26.59.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,120 @@
|
|
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 WorkOSAuthorizeUrlResponse(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
|
+
'url': 'str'
|
37
|
+
}
|
38
|
+
|
39
|
+
attribute_map = {
|
40
|
+
'url': 'url'
|
41
|
+
}
|
42
|
+
|
43
|
+
def __init__(self, url=None, local_vars_configuration=None): # noqa: E501
|
44
|
+
"""WorkOSAuthorizeUrlResponse - a model defined in OpenAPI""" # noqa: E501
|
45
|
+
if local_vars_configuration is None:
|
46
|
+
local_vars_configuration = Configuration()
|
47
|
+
self.local_vars_configuration = local_vars_configuration
|
48
|
+
|
49
|
+
self._url = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if url is not None:
|
53
|
+
self.url = url
|
54
|
+
|
55
|
+
@property
|
56
|
+
def url(self):
|
57
|
+
"""Gets the url of this WorkOSAuthorizeUrlResponse. # noqa: E501
|
58
|
+
|
59
|
+
|
60
|
+
:return: The url of this WorkOSAuthorizeUrlResponse. # noqa: E501
|
61
|
+
:rtype: str
|
62
|
+
"""
|
63
|
+
return self._url
|
64
|
+
|
65
|
+
@url.setter
|
66
|
+
def url(self, url):
|
67
|
+
"""Sets the url of this WorkOSAuthorizeUrlResponse.
|
68
|
+
|
69
|
+
|
70
|
+
:param url: The url of this WorkOSAuthorizeUrlResponse. # noqa: E501
|
71
|
+
:type: str
|
72
|
+
"""
|
73
|
+
|
74
|
+
self._url = url
|
75
|
+
|
76
|
+
def to_dict(self):
|
77
|
+
"""Returns the model properties as a dict"""
|
78
|
+
result = {}
|
79
|
+
|
80
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
81
|
+
value = getattr(self, attr)
|
82
|
+
if isinstance(value, list):
|
83
|
+
result[attr] = list(map(
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
85
|
+
value
|
86
|
+
))
|
87
|
+
elif hasattr(value, "to_dict"):
|
88
|
+
result[attr] = value.to_dict()
|
89
|
+
elif isinstance(value, dict):
|
90
|
+
result[attr] = dict(map(
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
93
|
+
value.items()
|
94
|
+
))
|
95
|
+
else:
|
96
|
+
result[attr] = value
|
97
|
+
|
98
|
+
return result
|
99
|
+
|
100
|
+
def to_str(self):
|
101
|
+
"""Returns the string representation of the model"""
|
102
|
+
return pprint.pformat(self.to_dict())
|
103
|
+
|
104
|
+
def __repr__(self):
|
105
|
+
"""For `print` and `pprint`"""
|
106
|
+
return self.to_str()
|
107
|
+
|
108
|
+
def __eq__(self, other):
|
109
|
+
"""Returns true if both objects are equal"""
|
110
|
+
if not isinstance(other, WorkOSAuthorizeUrlResponse):
|
111
|
+
return False
|
112
|
+
|
113
|
+
return self.to_dict() == other.to_dict()
|
114
|
+
|
115
|
+
def __ne__(self, other):
|
116
|
+
"""Returns true if both objects are not equal"""
|
117
|
+
if not isinstance(other, WorkOSAuthorizeUrlResponse):
|
118
|
+
return True
|
119
|
+
|
120
|
+
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,121 @@
|
|
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 WorkosauthorizeurlresponseResponse(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
|
+
'result': 'WorkOSAuthorizeUrlResponse'
|
37
|
+
}
|
38
|
+
|
39
|
+
attribute_map = {
|
40
|
+
'result': 'result'
|
41
|
+
}
|
42
|
+
|
43
|
+
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
+
"""WorkosauthorizeurlresponseResponse - a model defined in OpenAPI""" # noqa: E501
|
45
|
+
if local_vars_configuration is None:
|
46
|
+
local_vars_configuration = Configuration()
|
47
|
+
self.local_vars_configuration = local_vars_configuration
|
48
|
+
|
49
|
+
self._result = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
self.result = result
|
53
|
+
|
54
|
+
@property
|
55
|
+
def result(self):
|
56
|
+
"""Gets the result of this WorkosauthorizeurlresponseResponse. # noqa: E501
|
57
|
+
|
58
|
+
|
59
|
+
:return: The result of this WorkosauthorizeurlresponseResponse. # noqa: E501
|
60
|
+
:rtype: WorkOSAuthorizeUrlResponse
|
61
|
+
"""
|
62
|
+
return self._result
|
63
|
+
|
64
|
+
@result.setter
|
65
|
+
def result(self, result):
|
66
|
+
"""Sets the result of this WorkosauthorizeurlresponseResponse.
|
67
|
+
|
68
|
+
|
69
|
+
:param result: The result of this WorkosauthorizeurlresponseResponse. # noqa: E501
|
70
|
+
:type: WorkOSAuthorizeUrlResponse
|
71
|
+
"""
|
72
|
+
if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
|
73
|
+
raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
|
74
|
+
|
75
|
+
self._result = result
|
76
|
+
|
77
|
+
def to_dict(self):
|
78
|
+
"""Returns the model properties as a dict"""
|
79
|
+
result = {}
|
80
|
+
|
81
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
82
|
+
value = getattr(self, attr)
|
83
|
+
if isinstance(value, list):
|
84
|
+
result[attr] = list(map(
|
85
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
86
|
+
value
|
87
|
+
))
|
88
|
+
elif hasattr(value, "to_dict"):
|
89
|
+
result[attr] = value.to_dict()
|
90
|
+
elif isinstance(value, dict):
|
91
|
+
result[attr] = dict(map(
|
92
|
+
lambda item: (item[0], item[1].to_dict())
|
93
|
+
if hasattr(item[1], "to_dict") else item,
|
94
|
+
value.items()
|
95
|
+
))
|
96
|
+
else:
|
97
|
+
result[attr] = value
|
98
|
+
|
99
|
+
return result
|
100
|
+
|
101
|
+
def to_str(self):
|
102
|
+
"""Returns the string representation of the model"""
|
103
|
+
return pprint.pformat(self.to_dict())
|
104
|
+
|
105
|
+
def __repr__(self):
|
106
|
+
"""For `print` and `pprint`"""
|
107
|
+
return self.to_str()
|
108
|
+
|
109
|
+
def __eq__(self, other):
|
110
|
+
"""Returns true if both objects are equal"""
|
111
|
+
if not isinstance(other, WorkosauthorizeurlresponseResponse):
|
112
|
+
return False
|
113
|
+
|
114
|
+
return self.to_dict() == other.to_dict()
|
115
|
+
|
116
|
+
def __ne__(self, other):
|
117
|
+
"""Returns true if both objects are not equal"""
|
118
|
+
if not isinstance(other, WorkosauthorizeurlresponseResponse):
|
119
|
+
return True
|
120
|
+
|
121
|
+
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,234 @@
|
|
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 WorkspaceSystemArtifacts(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
|
+
'pip_requirements_uri': 'str',
|
37
|
+
'skip_packages_tracking_uri': 'str',
|
38
|
+
'environment_variables_uri': 'str',
|
39
|
+
'dockerfile_uri': 'str',
|
40
|
+
'working_dir_content_uri': 'str'
|
41
|
+
}
|
42
|
+
|
43
|
+
attribute_map = {
|
44
|
+
'pip_requirements_uri': 'pip_requirements_uri',
|
45
|
+
'skip_packages_tracking_uri': 'skip_packages_tracking_uri',
|
46
|
+
'environment_variables_uri': 'environment_variables_uri',
|
47
|
+
'dockerfile_uri': 'dockerfile_uri',
|
48
|
+
'working_dir_content_uri': 'working_dir_content_uri'
|
49
|
+
}
|
50
|
+
|
51
|
+
def __init__(self, pip_requirements_uri=None, skip_packages_tracking_uri=None, environment_variables_uri=None, dockerfile_uri=None, working_dir_content_uri=None, local_vars_configuration=None): # noqa: E501
|
52
|
+
"""WorkspaceSystemArtifacts - a model defined in OpenAPI""" # noqa: E501
|
53
|
+
if local_vars_configuration is None:
|
54
|
+
local_vars_configuration = Configuration()
|
55
|
+
self.local_vars_configuration = local_vars_configuration
|
56
|
+
|
57
|
+
self._pip_requirements_uri = None
|
58
|
+
self._skip_packages_tracking_uri = None
|
59
|
+
self._environment_variables_uri = None
|
60
|
+
self._dockerfile_uri = None
|
61
|
+
self._working_dir_content_uri = None
|
62
|
+
self.discriminator = None
|
63
|
+
|
64
|
+
if pip_requirements_uri is not None:
|
65
|
+
self.pip_requirements_uri = pip_requirements_uri
|
66
|
+
if skip_packages_tracking_uri is not None:
|
67
|
+
self.skip_packages_tracking_uri = skip_packages_tracking_uri
|
68
|
+
if environment_variables_uri is not None:
|
69
|
+
self.environment_variables_uri = environment_variables_uri
|
70
|
+
if dockerfile_uri is not None:
|
71
|
+
self.dockerfile_uri = dockerfile_uri
|
72
|
+
if working_dir_content_uri is not None:
|
73
|
+
self.working_dir_content_uri = working_dir_content_uri
|
74
|
+
|
75
|
+
@property
|
76
|
+
def pip_requirements_uri(self):
|
77
|
+
"""Gets the pip_requirements_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
78
|
+
|
79
|
+
URI pointing to the pip requirements.txt file. # noqa: E501
|
80
|
+
|
81
|
+
:return: The pip_requirements_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
82
|
+
:rtype: str
|
83
|
+
"""
|
84
|
+
return self._pip_requirements_uri
|
85
|
+
|
86
|
+
@pip_requirements_uri.setter
|
87
|
+
def pip_requirements_uri(self, pip_requirements_uri):
|
88
|
+
"""Sets the pip_requirements_uri of this WorkspaceSystemArtifacts.
|
89
|
+
|
90
|
+
URI pointing to the pip requirements.txt file. # noqa: E501
|
91
|
+
|
92
|
+
:param pip_requirements_uri: The pip_requirements_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
93
|
+
:type: str
|
94
|
+
"""
|
95
|
+
|
96
|
+
self._pip_requirements_uri = pip_requirements_uri
|
97
|
+
|
98
|
+
@property
|
99
|
+
def skip_packages_tracking_uri(self):
|
100
|
+
"""Gets the skip_packages_tracking_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
101
|
+
|
102
|
+
URI pointing to the .skip_packages_tracking file. # noqa: E501
|
103
|
+
|
104
|
+
:return: The skip_packages_tracking_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
105
|
+
:rtype: str
|
106
|
+
"""
|
107
|
+
return self._skip_packages_tracking_uri
|
108
|
+
|
109
|
+
@skip_packages_tracking_uri.setter
|
110
|
+
def skip_packages_tracking_uri(self, skip_packages_tracking_uri):
|
111
|
+
"""Sets the skip_packages_tracking_uri of this WorkspaceSystemArtifacts.
|
112
|
+
|
113
|
+
URI pointing to the .skip_packages_tracking file. # noqa: E501
|
114
|
+
|
115
|
+
:param skip_packages_tracking_uri: The skip_packages_tracking_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
116
|
+
:type: str
|
117
|
+
"""
|
118
|
+
|
119
|
+
self._skip_packages_tracking_uri = skip_packages_tracking_uri
|
120
|
+
|
121
|
+
@property
|
122
|
+
def environment_variables_uri(self):
|
123
|
+
"""Gets the environment_variables_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
124
|
+
|
125
|
+
URI pointing to the environment variables file. # noqa: E501
|
126
|
+
|
127
|
+
:return: The environment_variables_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
128
|
+
:rtype: str
|
129
|
+
"""
|
130
|
+
return self._environment_variables_uri
|
131
|
+
|
132
|
+
@environment_variables_uri.setter
|
133
|
+
def environment_variables_uri(self, environment_variables_uri):
|
134
|
+
"""Sets the environment_variables_uri of this WorkspaceSystemArtifacts.
|
135
|
+
|
136
|
+
URI pointing to the environment variables file. # noqa: E501
|
137
|
+
|
138
|
+
:param environment_variables_uri: The environment_variables_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
139
|
+
:type: str
|
140
|
+
"""
|
141
|
+
|
142
|
+
self._environment_variables_uri = environment_variables_uri
|
143
|
+
|
144
|
+
@property
|
145
|
+
def dockerfile_uri(self):
|
146
|
+
"""Gets the dockerfile_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
147
|
+
|
148
|
+
URI pointing to the Dockerfile (or containerfile). # noqa: E501
|
149
|
+
|
150
|
+
:return: The dockerfile_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
151
|
+
:rtype: str
|
152
|
+
"""
|
153
|
+
return self._dockerfile_uri
|
154
|
+
|
155
|
+
@dockerfile_uri.setter
|
156
|
+
def dockerfile_uri(self, dockerfile_uri):
|
157
|
+
"""Sets the dockerfile_uri of this WorkspaceSystemArtifacts.
|
158
|
+
|
159
|
+
URI pointing to the Dockerfile (or containerfile). # noqa: E501
|
160
|
+
|
161
|
+
:param dockerfile_uri: The dockerfile_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
162
|
+
:type: str
|
163
|
+
"""
|
164
|
+
|
165
|
+
self._dockerfile_uri = dockerfile_uri
|
166
|
+
|
167
|
+
@property
|
168
|
+
def working_dir_content_uri(self):
|
169
|
+
"""Gets the working_dir_content_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
170
|
+
|
171
|
+
URI pointing to the working directory content. # noqa: E501
|
172
|
+
|
173
|
+
:return: The working_dir_content_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
174
|
+
:rtype: str
|
175
|
+
"""
|
176
|
+
return self._working_dir_content_uri
|
177
|
+
|
178
|
+
@working_dir_content_uri.setter
|
179
|
+
def working_dir_content_uri(self, working_dir_content_uri):
|
180
|
+
"""Sets the working_dir_content_uri of this WorkspaceSystemArtifacts.
|
181
|
+
|
182
|
+
URI pointing to the working directory content. # noqa: E501
|
183
|
+
|
184
|
+
:param working_dir_content_uri: The working_dir_content_uri of this WorkspaceSystemArtifacts. # noqa: E501
|
185
|
+
:type: str
|
186
|
+
"""
|
187
|
+
|
188
|
+
self._working_dir_content_uri = working_dir_content_uri
|
189
|
+
|
190
|
+
def to_dict(self):
|
191
|
+
"""Returns the model properties as a dict"""
|
192
|
+
result = {}
|
193
|
+
|
194
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
195
|
+
value = getattr(self, attr)
|
196
|
+
if isinstance(value, list):
|
197
|
+
result[attr] = list(map(
|
198
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
199
|
+
value
|
200
|
+
))
|
201
|
+
elif hasattr(value, "to_dict"):
|
202
|
+
result[attr] = value.to_dict()
|
203
|
+
elif isinstance(value, dict):
|
204
|
+
result[attr] = dict(map(
|
205
|
+
lambda item: (item[0], item[1].to_dict())
|
206
|
+
if hasattr(item[1], "to_dict") else item,
|
207
|
+
value.items()
|
208
|
+
))
|
209
|
+
else:
|
210
|
+
result[attr] = value
|
211
|
+
|
212
|
+
return result
|
213
|
+
|
214
|
+
def to_str(self):
|
215
|
+
"""Returns the string representation of the model"""
|
216
|
+
return pprint.pformat(self.to_dict())
|
217
|
+
|
218
|
+
def __repr__(self):
|
219
|
+
"""For `print` and `pprint`"""
|
220
|
+
return self.to_str()
|
221
|
+
|
222
|
+
def __eq__(self, other):
|
223
|
+
"""Returns true if both objects are equal"""
|
224
|
+
if not isinstance(other, WorkspaceSystemArtifacts):
|
225
|
+
return False
|
226
|
+
|
227
|
+
return self.to_dict() == other.to_dict()
|
228
|
+
|
229
|
+
def __ne__(self, other):
|
230
|
+
"""Returns true if both objects are not equal"""
|
231
|
+
if not isinstance(other, WorkspaceSystemArtifacts):
|
232
|
+
return True
|
233
|
+
|
234
|
+
return self.to_dict() != other.to_dict()
|