anyscale 0.26.20__py3-none-any.whl → 0.26.21__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/client/README.md +0 -9
- anyscale/client/openapi_client/__init__.py +0 -3
- anyscale/client/openapi_client/api/default_api.py +35 -720
- anyscale/client/openapi_client/models/__init__.py +0 -3
- anyscale/commands/cloud_commands.py +15 -4
- anyscale/controllers/cloud_controller.py +358 -49
- anyscale/utils/gcp_utils.py +20 -4
- anyscale/version.py +1 -1
- {anyscale-0.26.20.dist-info → anyscale-0.26.21.dist-info}/METADATA +1 -1
- {anyscale-0.26.20.dist-info → anyscale-0.26.21.dist-info}/RECORD +15 -18
- anyscale/client/openapi_client/models/organization_public_identifier.py +0 -121
- anyscale/client/openapi_client/models/organization_response.py +0 -121
- anyscale/client/openapi_client/models/organizationpublicidentifier_response.py +0 -121
- {anyscale-0.26.20.dist-info → anyscale-0.26.21.dist-info}/LICENSE +0 -0
- {anyscale-0.26.20.dist-info → anyscale-0.26.21.dist-info}/NOTICE +0 -0
- {anyscale-0.26.20.dist-info → anyscale-0.26.21.dist-info}/WHEEL +0 -0
- {anyscale-0.26.20.dist-info → anyscale-0.26.21.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.20.dist-info → anyscale-0.26.21.dist-info}/top_level.txt +0 -0
@@ -27,7 +27,7 @@ anyscale/scripts.py,sha256=2LWIBxPHRhFG8m0La7xJXM2xKOQIG3SvlQobS4op2b0,5624
|
|
27
27
|
anyscale/snapshot.py,sha256=UGJT5C1s_4xmQxjWODK5DFpGxHRBX5jOCdSCqXESH8E,1685
|
28
28
|
anyscale/tables.py,sha256=TV4F2uLnwehvbkAfaP7iuLlT2wLIo6ORH2LVdRGXW5g,2840
|
29
29
|
anyscale/util.py,sha256=hDV4_eopdMOoVpdHmhDmxNiK-dlaAbSXLva4BM_PJFE,40825
|
30
|
-
anyscale/version.py,sha256=
|
30
|
+
anyscale/version.py,sha256=gtsPKN_satzDwTv3o1otQl1HwWzwBXeUyb8XS8-QBNs,24
|
31
31
|
anyscale/workspace_utils.py,sha256=OViE88CnIF5ruVxd3kazQ0Mf2BxqtMq6wx-XQ5A2cp8,1204
|
32
32
|
anyscale/_private/anyscale_client/README.md,sha256=gk8obk7kqg6VWoUHcqDMwJULh35tYKEZFC0UF_dixGA,718
|
33
33
|
anyscale/_private/anyscale_client/__init__.py,sha256=807Blx3RHQeS8BmKZcsOQQ4dYoKlCnpm6Bdsif2CrHg,337
|
@@ -105,7 +105,7 @@ anyscale/background/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
105
105
|
anyscale/background/job_runner.py,sha256=LTuv9JOahyv6C9i7DLQAONgQF6--FfYZEmJrKy-sUG8,2687
|
106
106
|
anyscale/client/.gitignore,sha256=JZyvYEtT2DCSK9V5Joi6lQofhMik4PXiJRCWsg7SvqI,807
|
107
107
|
anyscale/client/.openapi-generator-ignore,sha256=pu2PTide7pJtJ-DFLzDy0cTYQJRlrB-8RRH3zGLeUds,1040
|
108
|
-
anyscale/client/README.md,sha256=
|
108
|
+
anyscale/client/README.md,sha256=3FxbrFpKQk2GRf6_rig8DdsCO5N66bpyUEL8I6bJaE8,113251
|
109
109
|
anyscale/client/git_push.sh,sha256=EDCZOTTiLxbtPHmiU63qC99rGH67B7dhdPZdNUKivF0,1827
|
110
110
|
anyscale/client/requirements.txt,sha256=dkVKYUStC5h_g_87SH7pRdhXCj7ySozAJMGAFEzGgFc,126
|
111
111
|
anyscale/client/setup.cfg,sha256=l7bdKSIedeBhhoDtupsBwx1xPrlBf2yYeTH7a8kMga4,28
|
@@ -113,14 +113,14 @@ anyscale/client/setup.py,sha256=tSxqw1kAL1B9adnrnOarjnQfSbwGmnTr_kg8ZXhlm5A,1109
|
|
113
113
|
anyscale/client/test-requirements.txt,sha256=sTjmDTj5W9fh1ZAeo8UT2EBdeGDBNttj_PHiPBXg1D4,111
|
114
114
|
anyscale/client/tox.ini,sha256=M6L3UmvAdvU65LsoAF-Oi7oRjwZlCJZn8I7ofdXn5Ok,156
|
115
115
|
anyscale/client/.openapi-generator/VERSION,sha256=J0RzX-4u4jfin1kviKtmncjUePyjHm2kyvmkobOrt_E,5
|
116
|
-
anyscale/client/openapi_client/__init__.py,sha256=
|
116
|
+
anyscale/client/openapi_client/__init__.py,sha256=KjpX2QTgjefH9f9j1YF4bGhAMKM4IAB_5bOqNYVkrg0,50319
|
117
117
|
anyscale/client/openapi_client/api_client.py,sha256=d8Un6j2Ny2vlS2qBXPVFj6_ql0k36DFahpWt_28TfCk,25563
|
118
118
|
anyscale/client/openapi_client/configuration.py,sha256=Dd5XrlHwv-wxnf0C35PG_-HBQoY3Yaz6hKrmkZz-m0E,12363
|
119
119
|
anyscale/client/openapi_client/exceptions.py,sha256=3egwsXQG2j_vARbqgBxUO1xSltAhpfiHTYVP7VXTvU0,3792
|
120
120
|
anyscale/client/openapi_client/rest.py,sha256=Ehj37v7GHW6SXV067Hze5HE42ayKaGi6a6ZlkR7u3Lg,12501
|
121
121
|
anyscale/client/openapi_client/api/__init__.py,sha256=i8u7BI2xX1GrXTL3hN0pKpYIlnT-D_uDxH2ElOfYG1I,141
|
122
|
-
anyscale/client/openapi_client/api/default_api.py,sha256=
|
123
|
-
anyscale/client/openapi_client/models/__init__.py,sha256=
|
122
|
+
anyscale/client/openapi_client/api/default_api.py,sha256=K2P4urpB3fd4PuUED0YpksLguFc8utgljGgnSmtKSQs,1818466
|
123
|
+
anyscale/client/openapi_client/models/__init__.py,sha256=RWJEccUSdsZM9QRtU0uH4_qPyGz66DQu5PHlNbyKQVU,49829
|
124
124
|
anyscale/client/openapi_client/models/access_config.py,sha256=b2mA0qtuTA5PFbp6C61Jc_T2zUMaojM1v32IhZo0MfY,3648
|
125
125
|
anyscale/client/openapi_client/models/actor_status.py,sha256=6xyX_aIqURj2raBdY9DmBxsdDACFrqqYvElGiM6YG2E,2813
|
126
126
|
anyscale/client/openapi_client/models/admin_create_user.py,sha256=9DPr8D0lKgoEZ3Z2kGsAd8L7ocFCiP6woOGLVs8SRb8,7251
|
@@ -513,8 +513,6 @@ anyscale/client/openapi_client/models/organization_marketing_questions.py,sha256
|
|
513
513
|
anyscale/client/openapi_client/models/organization_permission_level.py,sha256=Sy1xIvsy9fzjby9nDPRY-h17ApP6w0dAJihsX8GfNR8,2901
|
514
514
|
anyscale/client/openapi_client/models/organization_project_collaborator.py,sha256=ehPJ8ooHDgWsczYpEvcKCjA4PXZJJNMfRy7QouO1TRc,5549
|
515
515
|
anyscale/client/openapi_client/models/organization_project_collaborator_value.py,sha256=GjJOuK3YJxT4Zo1x8Qtx8vNSVrd1-TNoP0pq5rK_7zQ,4940
|
516
|
-
anyscale/client/openapi_client/models/organization_public_identifier.py,sha256=Q4IbV0dAICW8FsAz6H34Ew_sX3HNF7ZCj_-4x0t-atg,3818
|
517
|
-
anyscale/client/openapi_client/models/organization_response.py,sha256=MkKCkhv3di4eQjMrx_Ejhb5nCUt47ob8GPMrZEDVba4,3550
|
518
516
|
anyscale/client/openapi_client/models/organization_summary.py,sha256=ZPgla-b8Nd3TMkV8YvQ4cBnIM9IFDgDImu78Z3Q_uCo,7076
|
519
517
|
anyscale/client/openapi_client/models/organization_usage_alert.py,sha256=Uy-lvb3Dbt0xodA-FtNZ6wkbZT4PVkUgjP2XvioY_ko,6761
|
520
518
|
anyscale/client/openapi_client/models/organization_usage_alert_severity.py,sha256=PwbYUpLVgcZzvao-t4MyH6r7wfiIoMaqsxbMkpakoWE,2898
|
@@ -525,7 +523,6 @@ anyscale/client/openapi_client/models/organizationinvitation_list_response.py,sh
|
|
525
523
|
anyscale/client/openapi_client/models/organizationinvitation_response.py,sha256=I1XZtYWD9cqHSpKE1iObaN8Nyu_r4cGrmEQrg4Rt5qA,3660
|
526
524
|
anyscale/client/openapi_client/models/organizationinvitationbase_response.py,sha256=AGaWU4PB23BsBWjUKbAhSSqp0e5Q2shzwrzac3JhwPM,3704
|
527
525
|
anyscale/client/openapi_client/models/organizationprojectcollaborator_list_response.py,sha256=KMsgUJv21jbhJ8o3WxNKdy0au447f3cGcGEmzmdzGbM,4662
|
528
|
-
anyscale/client/openapi_client/models/organizationpublicidentifier_response.py,sha256=35Hz_zc13R7QKUDQQ-5yZGCNTkdQ6O-mYNFKwcmS3P0,3726
|
529
526
|
anyscale/client/openapi_client/models/organizationusagealert_list_response.py,sha256=AojOBFsB3Edd8H1ZusnfBGhX5oGc162k_q4XZFEigHY,4527
|
530
527
|
anyscale/client/openapi_client/models/page_query.py,sha256=dw5HgH5gVYi2OcLW3Kg0Zt5mf0GWq-Qv-RW83FANLeM,4585
|
531
528
|
anyscale/client/openapi_client/models/pause_schedule.py,sha256=ru7_OzH7oDw5y2h1o5QNfKW8TXbkF1h-NDwccbUDRd0,3661
|
@@ -733,7 +730,7 @@ anyscale/cloud/_private/cloud_sdk.py,sha256=xCoAVomOfo75YWZzHMm9TDeL8UUx79Gn1DeE
|
|
733
730
|
anyscale/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
734
731
|
anyscale/commands/aggregated_instance_usage_commands.py,sha256=TRP1X3hdIWbKg9V20VtazlDXsYAeV--M0DH3-Z5tnj4,2293
|
735
732
|
anyscale/commands/auth_commands.py,sha256=X1g6Yu9kqgPb4HLODlZTYEk8G5AVLeyizPIgagWx-p0,1026
|
736
|
-
anyscale/commands/cloud_commands.py,sha256=
|
733
|
+
anyscale/commands/cloud_commands.py,sha256=kN6BOfCLRPV-fyPyZQ1V-GPqQzrOgsD8zatNQ1NzjlE,43916
|
737
734
|
anyscale/commands/cloud_commands_util.py,sha256=d-6TSZ_syrGkZ3Fc1uRX6jG4dqYMebNkBNpYLojOJFg,247
|
738
735
|
anyscale/commands/cluster_commands.py,sha256=taNcffyFfqJ1MgOQd0cz9kzRXWFTdp-wfLPM4l_2tBc,13487
|
739
736
|
anyscale/commands/cluster_env_commands.py,sha256=KNWylyE8Ew1sDi7yu2Tp4RLcRu2_KJJJIzVGRyPflJo,3899
|
@@ -780,7 +777,7 @@ anyscale/connect_utils/start_interactive_session.py,sha256=DbuIK2wuWofmbwJ9MLbsb
|
|
780
777
|
anyscale/controllers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
781
778
|
anyscale/controllers/auth_controller.py,sha256=hDY2sPvUP8pvh8PnlDYH5rCHjQes2v3b_KBVjMbrzeE,5127
|
782
779
|
anyscale/controllers/base_controller.py,sha256=1QFJoScFUV7YTzpKarhwPOc1SvI-xqX3TZmwxKonW6I,1998
|
783
|
-
anyscale/controllers/cloud_controller.py,sha256=
|
780
|
+
anyscale/controllers/cloud_controller.py,sha256=KV-kuft6dVIC1cvI6amAIe5RGVBO_SWakNljcm6yVGc,176887
|
784
781
|
anyscale/controllers/cloud_functional_verification_controller.py,sha256=bmRmHS89Pr4m9CxCRLCHiB1FeMOTplnxzo-LdX_uFVQ,33400
|
785
782
|
anyscale/controllers/cluster_controller.py,sha256=Sb5wVjrjpycg5iqmENAVtZ4iy9Kr6kM97_ck-KH85LM,28745
|
786
783
|
anyscale/controllers/cluster_env_controller.py,sha256=JalGzcmnFtMHefYL5U6ijMY3nX6W6BsMEfZSMtgBvtU,8048
|
@@ -1081,7 +1078,7 @@ anyscale/utils/deprecation_util.py,sha256=2i1SNQIziOZXO24IuBZZUEi4ild1bqk0gfZWl2
|
|
1081
1078
|
anyscale/utils/entity_arg_utils.py,sha256=HdrFNVgpPqnpv10jVOGg49bmoGy92N306u2JIy0hmqI,1061
|
1082
1079
|
anyscale/utils/env_utils.py,sha256=QPPxwkAzIWYasZIg7apDCGwcdbQLT7qCYr9pwfNTOX0,390
|
1083
1080
|
anyscale/utils/gcp_managed_setup_utils.py,sha256=RL-HtfdXC-VOqIAc_TAmDXWRSqZW7myiYbGrHGquGpA,31114
|
1084
|
-
anyscale/utils/gcp_utils.py,sha256=
|
1081
|
+
anyscale/utils/gcp_utils.py,sha256=SQyiDfzOK-VUVXmWPBccAxDsfQwHQrZlxcFaEpjVjWs,13485
|
1085
1082
|
anyscale/utils/logs_utils.py,sha256=cv4ERDLKwlTzwOsndDX6jW-PNQJO2V1yDSZRW9u71sE,4812
|
1086
1083
|
anyscale/utils/name_utils.py,sha256=MT_krOWbdVZk8v5kCy8NXIpS4yRwn5sAy8OWLAJg6Kc,949
|
1087
1084
|
anyscale/utils/network_verification.py,sha256=jtaJhb-9xwEWKuiP7s3MKOPosAIKqYSVUQSxVoQsUR0,4951
|
@@ -1106,10 +1103,10 @@ anyscale/workspace/__init__.py,sha256=Innbm5ZhCyADEVBiYSo_vbpKwUNcMzVSAfxIGKOYe6
|
|
1106
1103
|
anyscale/workspace/commands.py,sha256=b1sqNseoPj-1VXznqQOLe0V_a663bOTvJX-TaOMJa1Y,14590
|
1107
1104
|
anyscale/workspace/models.py,sha256=Ey67KqxdslS51yK7xetbRaFjE8sURAArpf-F38r3cUU,9760
|
1108
1105
|
anyscale/workspace/_private/workspace_sdk.py,sha256=2CMeYfJt0UtIFCocDn1ukw1iI5esKHdopLe6duEs-qE,27599
|
1109
|
-
anyscale-0.26.
|
1110
|
-
anyscale-0.26.
|
1111
|
-
anyscale-0.26.
|
1112
|
-
anyscale-0.26.
|
1113
|
-
anyscale-0.26.
|
1114
|
-
anyscale-0.26.
|
1115
|
-
anyscale-0.26.
|
1106
|
+
anyscale-0.26.21.dist-info/LICENSE,sha256=UOPu974Wzsna6frFv1mu4VrZgNdZT7lbcNPzo5ue3qs,3494
|
1107
|
+
anyscale-0.26.21.dist-info/METADATA,sha256=TgBZOSFHDQo5IUyGa0AGzJXS6qM9bKGPIvxXo6RNyFI,3160
|
1108
|
+
anyscale-0.26.21.dist-info/NOTICE,sha256=gHqDhSnUYlRXX-mDOL5FtE7774oiKyV_HO80qM3r9Xo,196
|
1109
|
+
anyscale-0.26.21.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
1110
|
+
anyscale-0.26.21.dist-info/entry_points.txt,sha256=NqO18sCZn6zG6J0S38itjcN00s7aE3C3v3k5lMAfCLk,51
|
1111
|
+
anyscale-0.26.21.dist-info/top_level.txt,sha256=g3NVNS8Oh0NZwbFFgeX696C5MZZkS5dqV2NqcsbDRJE,9
|
1112
|
+
anyscale-0.26.21.dist-info/RECORD,,
|
@@ -1,121 +0,0 @@
|
|
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 OrganizationPublicIdentifier(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
|
-
'public_identifier': 'str'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'public_identifier': 'public_identifier'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, public_identifier=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""OrganizationPublicIdentifier - 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._public_identifier = None
|
50
|
-
self.discriminator = None
|
51
|
-
|
52
|
-
self.public_identifier = public_identifier
|
53
|
-
|
54
|
-
@property
|
55
|
-
def public_identifier(self):
|
56
|
-
"""Gets the public_identifier of this OrganizationPublicIdentifier. # noqa: E501
|
57
|
-
|
58
|
-
|
59
|
-
:return: The public_identifier of this OrganizationPublicIdentifier. # noqa: E501
|
60
|
-
:rtype: str
|
61
|
-
"""
|
62
|
-
return self._public_identifier
|
63
|
-
|
64
|
-
@public_identifier.setter
|
65
|
-
def public_identifier(self, public_identifier):
|
66
|
-
"""Sets the public_identifier of this OrganizationPublicIdentifier.
|
67
|
-
|
68
|
-
|
69
|
-
:param public_identifier: The public_identifier of this OrganizationPublicIdentifier. # noqa: E501
|
70
|
-
:type: str
|
71
|
-
"""
|
72
|
-
if self.local_vars_configuration.client_side_validation and public_identifier is None: # noqa: E501
|
73
|
-
raise ValueError("Invalid value for `public_identifier`, must not be `None`") # noqa: E501
|
74
|
-
|
75
|
-
self._public_identifier = public_identifier
|
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, OrganizationPublicIdentifier):
|
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, OrganizationPublicIdentifier):
|
119
|
-
return True
|
120
|
-
|
121
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,121 +0,0 @@
|
|
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 OrganizationResponse(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': 'Organization'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'result': 'result'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""OrganizationResponse - 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 OrganizationResponse. # noqa: E501
|
57
|
-
|
58
|
-
|
59
|
-
:return: The result of this OrganizationResponse. # noqa: E501
|
60
|
-
:rtype: Organization
|
61
|
-
"""
|
62
|
-
return self._result
|
63
|
-
|
64
|
-
@result.setter
|
65
|
-
def result(self, result):
|
66
|
-
"""Sets the result of this OrganizationResponse.
|
67
|
-
|
68
|
-
|
69
|
-
:param result: The result of this OrganizationResponse. # noqa: E501
|
70
|
-
:type: Organization
|
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, OrganizationResponse):
|
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, OrganizationResponse):
|
119
|
-
return True
|
120
|
-
|
121
|
-
return self.to_dict() != other.to_dict()
|
@@ -1,121 +0,0 @@
|
|
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 OrganizationpublicidentifierResponse(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': 'OrganizationPublicIdentifier'
|
37
|
-
}
|
38
|
-
|
39
|
-
attribute_map = {
|
40
|
-
'result': 'result'
|
41
|
-
}
|
42
|
-
|
43
|
-
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""OrganizationpublicidentifierResponse - 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 OrganizationpublicidentifierResponse. # noqa: E501
|
57
|
-
|
58
|
-
|
59
|
-
:return: The result of this OrganizationpublicidentifierResponse. # noqa: E501
|
60
|
-
:rtype: OrganizationPublicIdentifier
|
61
|
-
"""
|
62
|
-
return self._result
|
63
|
-
|
64
|
-
@result.setter
|
65
|
-
def result(self, result):
|
66
|
-
"""Sets the result of this OrganizationpublicidentifierResponse.
|
67
|
-
|
68
|
-
|
69
|
-
:param result: The result of this OrganizationpublicidentifierResponse. # noqa: E501
|
70
|
-
:type: OrganizationPublicIdentifier
|
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, OrganizationpublicidentifierResponse):
|
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, OrganizationpublicidentifierResponse):
|
119
|
-
return True
|
120
|
-
|
121
|
-
return self.to_dict() != other.to_dict()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|