anyscale 0.26.47__py3-none-any.whl → 0.26.49__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 (79) hide show
  1. anyscale/__init__.py +0 -7
  2. anyscale/_private/anyscale_client/README.md +115 -0
  3. anyscale/_private/anyscale_client/anyscale_client.py +12 -213
  4. anyscale/_private/anyscale_client/common.py +0 -55
  5. anyscale/_private/anyscale_client/fake_anyscale_client.py +19 -46
  6. anyscale/_private/docgen/__main__.py +32 -47
  7. anyscale/_private/docgen/generator.py +32 -16
  8. anyscale/_private/docgen/generator_legacy.py +58 -6
  9. anyscale/_private/docgen/models.md +3 -2
  10. anyscale/_private/workload/workload_config.py +16 -8
  11. anyscale/_private/workload/workload_sdk.py +24 -7
  12. anyscale/client/README.md +10 -2
  13. anyscale/client/openapi_client/__init__.py +6 -2
  14. anyscale/client/openapi_client/api/default_api.py +558 -8
  15. anyscale/client/openapi_client/models/__init__.py +6 -2
  16. anyscale/client/openapi_client/models/{alert_type.py → alert_issue_type.py} +8 -20
  17. anyscale/client/openapi_client/models/baseimagesenum.py +1 -2
  18. anyscale/client/openapi_client/models/cloud.py +31 -3
  19. anyscale/client/openapi_client/models/cloud_deployment.py +30 -3
  20. anyscale/client/openapi_client/models/cloud_with_cloud_resource.py +29 -1
  21. anyscale/client/openapi_client/models/cloud_with_cloud_resource_gcp.py +29 -1
  22. anyscale/client/openapi_client/models/dataset_metrics.py +6 -6
  23. anyscale/client/openapi_client/models/dataset_state.py +2 -1
  24. anyscale/client/openapi_client/models/decorated_cloud_deployment.py +481 -0
  25. anyscale/client/openapi_client/models/decoratedclouddeployment_response.py +121 -0
  26. anyscale/client/openapi_client/models/describe_system_workload_response.py +32 -6
  27. anyscale/client/openapi_client/models/experimental_workspace.py +29 -1
  28. anyscale/client/openapi_client/models/experimental_workspaces_sort_field.py +2 -1
  29. anyscale/client/openapi_client/models/metrics_query_response.py +121 -0
  30. anyscale/client/openapi_client/models/{clouddeployment_response.py → metricsqueryresponse_response.py} +11 -11
  31. anyscale/client/openapi_client/models/operator_metrics.py +8 -9
  32. anyscale/client/openapi_client/models/operator_status.py +102 -0
  33. anyscale/client/openapi_client/models/organization_usage_alert.py +20 -20
  34. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +1 -2
  35. anyscale/cloud/models.py +330 -0
  36. anyscale/commands/cloud_commands.py +136 -44
  37. anyscale/commands/command_examples.py +54 -134
  38. anyscale/commands/compute_config_commands.py +7 -11
  39. anyscale/compute_config/__init__.py +2 -16
  40. anyscale/compute_config/_private/compute_config_sdk.py +27 -17
  41. anyscale/compute_config/commands.py +14 -44
  42. anyscale/compute_config/models.py +49 -26
  43. anyscale/controllers/cloud_controller.py +289 -171
  44. anyscale/controllers/cloud_file_storage_utils.py +204 -0
  45. anyscale/controllers/kubernetes_verifier.py +1570 -0
  46. anyscale/job/_private/job_sdk.py +17 -8
  47. anyscale/job/models.py +1 -1
  48. anyscale/scripts.py +0 -2
  49. anyscale/sdk/anyscale_client/models/baseimagesenum.py +1 -2
  50. anyscale/sdk/anyscale_client/models/cloud.py +31 -3
  51. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +1 -2
  52. anyscale/shared_anyscale_utils/headers.py +3 -0
  53. anyscale/shared_anyscale_utils/utils/id_gen.py +1 -0
  54. anyscale/version.py +1 -1
  55. anyscale/workspace/models.py +14 -7
  56. {anyscale-0.26.47.dist-info → anyscale-0.26.49.dist-info}/METADATA +1 -1
  57. {anyscale-0.26.47.dist-info → anyscale-0.26.49.dist-info}/RECORD +62 -73
  58. anyscale/commands/llm/dataset_commands.py +0 -269
  59. anyscale/commands/llm/group.py +0 -15
  60. anyscale/commands/llm/models_commands.py +0 -123
  61. anyscale/controllers/llm/__init__.py +0 -0
  62. anyscale/controllers/llm/models_controller.py +0 -144
  63. anyscale/llm/__init__.py +0 -2
  64. anyscale/llm/dataset/__init__.py +0 -2
  65. anyscale/llm/dataset/_private/__init__.py +0 -0
  66. anyscale/llm/dataset/_private/docs.py +0 -63
  67. anyscale/llm/dataset/_private/models.py +0 -71
  68. anyscale/llm/dataset/_private/sdk.py +0 -147
  69. anyscale/llm/model/__init__.py +0 -2
  70. anyscale/llm/model/_private/models_sdk.py +0 -62
  71. anyscale/llm/model/commands.py +0 -93
  72. anyscale/llm/model/models.py +0 -171
  73. anyscale/llm/model/sdk.py +0 -62
  74. anyscale/llm/sdk.py +0 -27
  75. {anyscale-0.26.47.dist-info → anyscale-0.26.49.dist-info}/WHEEL +0 -0
  76. {anyscale-0.26.47.dist-info → anyscale-0.26.49.dist-info}/entry_points.txt +0 -0
  77. {anyscale-0.26.47.dist-info → anyscale-0.26.49.dist-info}/licenses/LICENSE +0 -0
  78. {anyscale-0.26.47.dist-info → anyscale-0.26.49.dist-info}/licenses/NOTICE +0 -0
  79. {anyscale-0.26.47.dist-info → anyscale-0.26.49.dist-info}/top_level.txt +0 -0
@@ -54,6 +54,7 @@ class ExperimentalWorkspace(object):
54
54
  'template_url': 'str',
55
55
  'snapshot_error_at': 'datetime',
56
56
  'snapshot_state': 'WorkspaceSnapshotStates',
57
+ 'latest_started_at': 'datetime',
57
58
  'state': 'SessionState',
58
59
  'integration_details': 'IntegrationDetails'
59
60
  }
@@ -80,11 +81,12 @@ class ExperimentalWorkspace(object):
80
81
  'template_url': 'template_url',
81
82
  'snapshot_error_at': 'snapshot_error_at',
82
83
  'snapshot_state': 'snapshot_state',
84
+ 'latest_started_at': 'latest_started_at',
83
85
  'state': 'state',
84
86
  'integration_details': 'integration_details'
85
87
  }
86
88
 
87
- def __init__(self, name=None, description=None, project_id=None, cloud_id=None, compute_config_id=None, base_snapshot=None, id=None, created_at=None, creator_id=None, creator_email=None, creator_deleted_at=None, organization_id=None, is_deleted=None, cluster_id=None, environment_id=None, cluster_environment_build_id=None, current_state=None, integration_execution_details_id=None, template_url=None, snapshot_error_at=None, snapshot_state=None, state=None, integration_details=None, local_vars_configuration=None): # noqa: E501
89
+ def __init__(self, name=None, description=None, project_id=None, cloud_id=None, compute_config_id=None, base_snapshot=None, id=None, created_at=None, creator_id=None, creator_email=None, creator_deleted_at=None, organization_id=None, is_deleted=None, cluster_id=None, environment_id=None, cluster_environment_build_id=None, current_state=None, integration_execution_details_id=None, template_url=None, snapshot_error_at=None, snapshot_state=None, latest_started_at=None, state=None, integration_details=None, local_vars_configuration=None): # noqa: E501
88
90
  """ExperimentalWorkspace - a model defined in OpenAPI""" # noqa: E501
89
91
  if local_vars_configuration is None:
90
92
  local_vars_configuration = Configuration()
@@ -111,6 +113,7 @@ class ExperimentalWorkspace(object):
111
113
  self._template_url = None
112
114
  self._snapshot_error_at = None
113
115
  self._snapshot_state = None
116
+ self._latest_started_at = None
114
117
  self._state = None
115
118
  self._integration_details = None
116
119
  self.discriminator = None
@@ -147,6 +150,8 @@ class ExperimentalWorkspace(object):
147
150
  self.snapshot_error_at = snapshot_error_at
148
151
  if snapshot_state is not None:
149
152
  self.snapshot_state = snapshot_state
153
+ if latest_started_at is not None:
154
+ self.latest_started_at = latest_started_at
150
155
  if state is not None:
151
156
  self.state = state
152
157
  if integration_details is not None:
@@ -655,6 +660,29 @@ class ExperimentalWorkspace(object):
655
660
 
656
661
  self._snapshot_state = snapshot_state
657
662
 
663
+ @property
664
+ def latest_started_at(self):
665
+ """Gets the latest_started_at of this ExperimentalWorkspace. # noqa: E501
666
+
667
+ The time at which the workspace was last started. # noqa: E501
668
+
669
+ :return: The latest_started_at of this ExperimentalWorkspace. # noqa: E501
670
+ :rtype: datetime
671
+ """
672
+ return self._latest_started_at
673
+
674
+ @latest_started_at.setter
675
+ def latest_started_at(self, latest_started_at):
676
+ """Sets the latest_started_at of this ExperimentalWorkspace.
677
+
678
+ The time at which the workspace was last started. # noqa: E501
679
+
680
+ :param latest_started_at: The latest_started_at of this ExperimentalWorkspace. # noqa: E501
681
+ :type: datetime
682
+ """
683
+
684
+ self._latest_started_at = latest_started_at
685
+
658
686
  @property
659
687
  def state(self):
660
688
  """Gets the state of this ExperimentalWorkspace. # noqa: E501
@@ -30,8 +30,9 @@ class ExperimentalWorkspacesSortField(object):
30
30
  """
31
31
  STATUS = "STATUS"
32
32
  CREATED_AT = "CREATED_AT"
33
+ LATEST_STARTED_AT = "LATEST_STARTED_AT"
33
34
 
34
- allowable_values = [STATUS, CREATED_AT] # noqa: E501
35
+ allowable_values = [STATUS, CREATED_AT, LATEST_STARTED_AT] # noqa: E501
35
36
 
36
37
  """
37
38
  Attributes:
@@ -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 MetricsQueryResponse(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
+ 'data': 'object'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'data': 'data'
41
+ }
42
+
43
+ def __init__(self, data=None, local_vars_configuration=None): # noqa: E501
44
+ """MetricsQueryResponse - 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._data = None
50
+ self.discriminator = None
51
+
52
+ self.data = data
53
+
54
+ @property
55
+ def data(self):
56
+ """Gets the data of this MetricsQueryResponse. # noqa: E501
57
+
58
+
59
+ :return: The data of this MetricsQueryResponse. # noqa: E501
60
+ :rtype: object
61
+ """
62
+ return self._data
63
+
64
+ @data.setter
65
+ def data(self, data):
66
+ """Sets the data of this MetricsQueryResponse.
67
+
68
+
69
+ :param data: The data of this MetricsQueryResponse. # noqa: E501
70
+ :type: object
71
+ """
72
+ if self.local_vars_configuration.client_side_validation and data is None: # noqa: E501
73
+ raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501
74
+
75
+ self._data = data
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, MetricsQueryResponse):
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, MetricsQueryResponse):
119
+ return True
120
+
121
+ 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 ClouddeploymentResponse(object):
21
+ class MetricsqueryresponseResponse(object):
22
22
  """NOTE: This class is auto generated by OpenAPI Generator.
23
23
  Ref: https://openapi-generator.tech
24
24
 
@@ -33,7 +33,7 @@ class ClouddeploymentResponse(object):
33
33
  and the value is json key in definition.
34
34
  """
35
35
  openapi_types = {
36
- 'result': 'CloudDeployment'
36
+ 'result': 'MetricsQueryResponse'
37
37
  }
38
38
 
39
39
  attribute_map = {
@@ -41,7 +41,7 @@ class ClouddeploymentResponse(object):
41
41
  }
42
42
 
43
43
  def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
- """ClouddeploymentResponse - a model defined in OpenAPI""" # noqa: E501
44
+ """MetricsqueryresponseResponse - a model defined in OpenAPI""" # noqa: E501
45
45
  if local_vars_configuration is None:
46
46
  local_vars_configuration = Configuration()
47
47
  self.local_vars_configuration = local_vars_configuration
@@ -53,21 +53,21 @@ class ClouddeploymentResponse(object):
53
53
 
54
54
  @property
55
55
  def result(self):
56
- """Gets the result of this ClouddeploymentResponse. # noqa: E501
56
+ """Gets the result of this MetricsqueryresponseResponse. # noqa: E501
57
57
 
58
58
 
59
- :return: The result of this ClouddeploymentResponse. # noqa: E501
60
- :rtype: CloudDeployment
59
+ :return: The result of this MetricsqueryresponseResponse. # noqa: E501
60
+ :rtype: MetricsQueryResponse
61
61
  """
62
62
  return self._result
63
63
 
64
64
  @result.setter
65
65
  def result(self, result):
66
- """Sets the result of this ClouddeploymentResponse.
66
+ """Sets the result of this MetricsqueryresponseResponse.
67
67
 
68
68
 
69
- :param result: The result of this ClouddeploymentResponse. # noqa: E501
70
- :type: CloudDeployment
69
+ :param result: The result of this MetricsqueryresponseResponse. # noqa: E501
70
+ :type: MetricsQueryResponse
71
71
  """
72
72
  if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
73
73
  raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
@@ -108,14 +108,14 @@ class ClouddeploymentResponse(object):
108
108
 
109
109
  def __eq__(self, other):
110
110
  """Returns true if both objects are equal"""
111
- if not isinstance(other, ClouddeploymentResponse):
111
+ if not isinstance(other, MetricsqueryresponseResponse):
112
112
  return False
113
113
 
114
114
  return self.to_dict() == other.to_dict()
115
115
 
116
116
  def __ne__(self, other):
117
117
  """Returns true if both objects are not equal"""
118
- if not isinstance(other, ClouddeploymentResponse):
118
+ if not isinstance(other, MetricsqueryresponseResponse):
119
119
  return True
120
120
 
121
121
  return self.to_dict() != other.to_dict()
@@ -38,8 +38,8 @@ class OperatorMetrics(object):
38
38
  'state': 'DatasetState',
39
39
  'progress': 'int',
40
40
  'total': 'int',
41
- 'start_time': 'int',
42
- 'end_time': 'int',
41
+ 'start_time': 'float',
42
+ 'end_time': 'float',
43
43
  'metrics': 'dict(str, Metric)'
44
44
  }
45
45
 
@@ -76,7 +76,8 @@ class OperatorMetrics(object):
76
76
  self.progress = progress
77
77
  if total is not None:
78
78
  self.total = total
79
- self.start_time = start_time
79
+ if start_time is not None:
80
+ self.start_time = start_time
80
81
  if end_time is not None:
81
82
  self.end_time = end_time
82
83
  self.metrics = metrics
@@ -200,7 +201,7 @@ class OperatorMetrics(object):
200
201
 
201
202
 
202
203
  :return: The start_time of this OperatorMetrics. # noqa: E501
203
- :rtype: int
204
+ :rtype: float
204
205
  """
205
206
  return self._start_time
206
207
 
@@ -210,10 +211,8 @@ class OperatorMetrics(object):
210
211
 
211
212
 
212
213
  :param start_time: The start_time of this OperatorMetrics. # noqa: E501
213
- :type: int
214
+ :type: float
214
215
  """
215
- if self.local_vars_configuration.client_side_validation and start_time is None: # noqa: E501
216
- raise ValueError("Invalid value for `start_time`, must not be `None`") # noqa: E501
217
216
 
218
217
  self._start_time = start_time
219
218
 
@@ -223,7 +222,7 @@ class OperatorMetrics(object):
223
222
 
224
223
 
225
224
  :return: The end_time of this OperatorMetrics. # noqa: E501
226
- :rtype: int
225
+ :rtype: float
227
226
  """
228
227
  return self._end_time
229
228
 
@@ -233,7 +232,7 @@ class OperatorMetrics(object):
233
232
 
234
233
 
235
234
  :param end_time: The end_time of this OperatorMetrics. # noqa: E501
236
- :type: int
235
+ :type: float
237
236
  """
238
237
 
239
238
  self._end_time = end_time
@@ -0,0 +1,102 @@
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 OperatorStatus(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
+ allowed enum values
30
+ """
31
+ UNSPECIFIED = "OPERATOR_STATUS_UNSPECIFIED"
32
+ HEALTHY = "OPERATOR_STATUS_HEALTHY"
33
+ UNHEALTHY = "OPERATOR_STATUS_UNHEALTHY"
34
+ DISCONNECTED = "OPERATOR_STATUS_DISCONNECTED"
35
+
36
+ allowable_values = [UNSPECIFIED, HEALTHY, UNHEALTHY, DISCONNECTED] # noqa: E501
37
+
38
+ """
39
+ Attributes:
40
+ openapi_types (dict): The key is attribute name
41
+ and the value is attribute type.
42
+ attribute_map (dict): The key is attribute name
43
+ and the value is json key in definition.
44
+ """
45
+ openapi_types = {
46
+ }
47
+
48
+ attribute_map = {
49
+ }
50
+
51
+ def __init__(self, local_vars_configuration=None): # noqa: E501
52
+ """OperatorStatus - 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
+ self.discriminator = None
57
+
58
+ def to_dict(self):
59
+ """Returns the model properties as a dict"""
60
+ result = {}
61
+
62
+ for attr, _ in six.iteritems(self.openapi_types):
63
+ value = getattr(self, attr)
64
+ if isinstance(value, list):
65
+ result[attr] = list(map(
66
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
67
+ value
68
+ ))
69
+ elif hasattr(value, "to_dict"):
70
+ result[attr] = value.to_dict()
71
+ elif isinstance(value, dict):
72
+ result[attr] = dict(map(
73
+ lambda item: (item[0], item[1].to_dict())
74
+ if hasattr(item[1], "to_dict") else item,
75
+ value.items()
76
+ ))
77
+ else:
78
+ result[attr] = value
79
+
80
+ return result
81
+
82
+ def to_str(self):
83
+ """Returns the string representation of the model"""
84
+ return pprint.pformat(self.to_dict())
85
+
86
+ def __repr__(self):
87
+ """For `print` and `pprint`"""
88
+ return self.to_str()
89
+
90
+ def __eq__(self, other):
91
+ """Returns true if both objects are equal"""
92
+ if not isinstance(other, OperatorStatus):
93
+ return False
94
+
95
+ return self.to_dict() == other.to_dict()
96
+
97
+ def __ne__(self, other):
98
+ """Returns true if both objects are not equal"""
99
+ if not isinstance(other, OperatorStatus):
100
+ return True
101
+
102
+ return self.to_dict() != other.to_dict()
@@ -33,60 +33,60 @@ class OrganizationUsageAlert(object):
33
33
  and the value is json key in definition.
34
34
  """
35
35
  openapi_types = {
36
- 'type': 'AlertType',
36
+ 'issue_type': 'AlertIssueType',
37
37
  'severity': 'OrganizationUsageAlertSeverity',
38
38
  'status': 'CustomerAlertStatus',
39
39
  'permission_level': 'OrganizationPermissionLevel'
40
40
  }
41
41
 
42
42
  attribute_map = {
43
- 'type': 'type',
43
+ 'issue_type': 'issueType',
44
44
  'severity': 'severity',
45
45
  'status': 'status',
46
46
  'permission_level': 'permission_level'
47
47
  }
48
48
 
49
- def __init__(self, type=None, severity=None, status=None, permission_level=None, local_vars_configuration=None): # noqa: E501
49
+ def __init__(self, issue_type=None, severity=None, status=None, permission_level=None, local_vars_configuration=None): # noqa: E501
50
50
  """OrganizationUsageAlert - a model defined in OpenAPI""" # noqa: E501
51
51
  if local_vars_configuration is None:
52
52
  local_vars_configuration = Configuration()
53
53
  self.local_vars_configuration = local_vars_configuration
54
54
 
55
- self._type = None
55
+ self._issue_type = None
56
56
  self._severity = None
57
57
  self._status = None
58
58
  self._permission_level = None
59
59
  self.discriminator = None
60
60
 
61
- self.type = type
61
+ self.issue_type = issue_type
62
62
  self.severity = severity
63
63
  self.status = status
64
64
  self.permission_level = permission_level
65
65
 
66
66
  @property
67
- def type(self):
68
- """Gets the type of this OrganizationUsageAlert. # noqa: E501
67
+ def issue_type(self):
68
+ """Gets the issue_type of this OrganizationUsageAlert. # noqa: E501
69
69
 
70
- Type of the alert # noqa: E501
70
+ Type of the issue for the alert # noqa: E501
71
71
 
72
- :return: The type of this OrganizationUsageAlert. # noqa: E501
73
- :rtype: AlertType
72
+ :return: The issue_type of this OrganizationUsageAlert. # noqa: E501
73
+ :rtype: AlertIssueType
74
74
  """
75
- return self._type
75
+ return self._issue_type
76
76
 
77
- @type.setter
78
- def type(self, type):
79
- """Sets the type of this OrganizationUsageAlert.
77
+ @issue_type.setter
78
+ def issue_type(self, issue_type):
79
+ """Sets the issue_type of this OrganizationUsageAlert.
80
80
 
81
- Type of the alert # noqa: E501
81
+ Type of the issue for the alert # noqa: E501
82
82
 
83
- :param type: The type of this OrganizationUsageAlert. # noqa: E501
84
- :type: AlertType
83
+ :param issue_type: The issue_type of this OrganizationUsageAlert. # noqa: E501
84
+ :type: AlertIssueType
85
85
  """
86
- if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501
87
- raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501
86
+ if self.local_vars_configuration.client_side_validation and issue_type is None: # noqa: E501
87
+ raise ValueError("Invalid value for `issue_type`, must not be `None`") # noqa: E501
88
88
 
89
- self._type = type
89
+ self._issue_type = issue_type
90
90
 
91
91
  @property
92
92
  def severity(self):