Skip to content

Commit

Permalink
Regenerate client from commit a66332d3 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Mar 27, 2024
1 parent 735192c commit 73b9fe2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 84 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-03-26 15:17:46.509398",
"spec_repo_commit": "46383d02"
"regenerated": "2024-03-27 16:31:04.656347",
"spec_repo_commit": "a66332d3"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-03-26 15:17:46.526266",
"spec_repo_commit": "46383d02"
"regenerated": "2024-03-27 16:31:04.673021",
"spec_repo_commit": "a66332d3"
}
}
}
67 changes: 0 additions & 67 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22451,8 +22451,6 @@ components:
apm_service_catalog_read: View service catalog and service definitions.
apm_service_catalog_write: Add, modify, and delete service catalog definitions
when those definitions are maintained by Datadog.
cases_read: Read all cases data.
cases_write: Create, update and delete cases data.
ci_visibility_pipelines_write: Create CI Visibility pipeline spans using
the API.
ci_visibility_read: View CI Visibility.
Expand Down Expand Up @@ -23680,11 +23678,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_read
summary: Search cases
tags:
- Case Management
Expand Down Expand Up @@ -23719,11 +23712,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_write
summary: Create a case
tags:
- Case Management
Expand All @@ -23748,11 +23736,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_read
summary: Get all projects
tags:
- Case Management
Expand Down Expand Up @@ -23783,11 +23766,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_write
summary: Create a project
tags:
- Case Management
Expand All @@ -23810,11 +23788,6 @@ paths:
description: API error response
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_write
summary: Remove a project
tags:
- Case Management
Expand All @@ -23840,11 +23813,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_read
summary: Get the details of a project
tags:
- Case Management
Expand All @@ -23871,11 +23839,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_read
summary: Get the details of a case
tags:
- Case Management
Expand Down Expand Up @@ -23909,11 +23872,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_write
summary: Archive case
tags:
- Case Management
Expand Down Expand Up @@ -23947,11 +23905,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_write
summary: Assign case
tags:
- Case Management
Expand Down Expand Up @@ -23985,11 +23938,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_write
summary: Update case priority
tags:
- Case Management
Expand Down Expand Up @@ -24023,11 +23971,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_write
summary: Update case status
tags:
- Case Management
Expand Down Expand Up @@ -24061,11 +24004,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_write
summary: Unarchive case
tags:
- Case Management
Expand Down Expand Up @@ -24099,11 +24037,6 @@ paths:
$ref: '#/components/responses/NotFoundResponse'
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ:
- cases_write
summary: Unassign case
tags:
- Case Management
Expand Down
26 changes: 13 additions & 13 deletions src/datadog_api_client/v2/api/case_management_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, api_client=None):
self._archive_case_endpoint = _Endpoint(
settings={
"response_type": (CaseResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases/{case_id}/archive",
"operation_id": "archive_case",
"http_method": "POST",
Expand All @@ -67,7 +67,7 @@ def __init__(self, api_client=None):
self._assign_case_endpoint = _Endpoint(
settings={
"response_type": (CaseResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases/{case_id}/assign",
"operation_id": "assign_case",
"http_method": "POST",
Expand All @@ -93,7 +93,7 @@ def __init__(self, api_client=None):
self._create_case_endpoint = _Endpoint(
settings={
"response_type": (CaseResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases",
"operation_id": "create_case",
"http_method": "POST",
Expand All @@ -113,7 +113,7 @@ def __init__(self, api_client=None):
self._create_project_endpoint = _Endpoint(
settings={
"response_type": (ProjectResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases/projects",
"operation_id": "create_project",
"http_method": "POST",
Expand All @@ -133,7 +133,7 @@ def __init__(self, api_client=None):
self._delete_project_endpoint = _Endpoint(
settings={
"response_type": None,
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases/projects/{project_id}",
"operation_id": "delete_project",
"http_method": "DELETE",
Expand All @@ -156,7 +156,7 @@ def __init__(self, api_client=None):
self._get_case_endpoint = _Endpoint(
settings={
"response_type": (CaseResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases/{case_id}",
"operation_id": "get_case",
"http_method": "GET",
Expand All @@ -179,7 +179,7 @@ def __init__(self, api_client=None):
self._get_project_endpoint = _Endpoint(
settings={
"response_type": (ProjectResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases/projects/{project_id}",
"operation_id": "get_project",
"http_method": "GET",
Expand All @@ -202,7 +202,7 @@ def __init__(self, api_client=None):
self._get_projects_endpoint = _Endpoint(
settings={
"response_type": (ProjectsResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases/projects",
"operation_id": "get_projects",
"http_method": "GET",
Expand All @@ -218,7 +218,7 @@ def __init__(self, api_client=None):
self._search_cases_endpoint = _Endpoint(
settings={
"response_type": (CasesResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases",
"operation_id": "search_cases",
"http_method": "GET",
Expand Down Expand Up @@ -260,7 +260,7 @@ def __init__(self, api_client=None):
self._unarchive_case_endpoint = _Endpoint(
settings={
"response_type": (CaseResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases/{case_id}/unarchive",
"operation_id": "unarchive_case",
"http_method": "POST",
Expand All @@ -286,7 +286,7 @@ def __init__(self, api_client=None):
self._unassign_case_endpoint = _Endpoint(
settings={
"response_type": (CaseResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases/{case_id}/unassign",
"operation_id": "unassign_case",
"http_method": "POST",
Expand All @@ -312,7 +312,7 @@ def __init__(self, api_client=None):
self._update_priority_endpoint = _Endpoint(
settings={
"response_type": (CaseResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases/{case_id}/priority",
"operation_id": "update_priority",
"http_method": "POST",
Expand All @@ -338,7 +338,7 @@ def __init__(self, api_client=None):
self._update_status_endpoint = _Endpoint(
settings={
"response_type": (CaseResponse,),
"auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"],
"auth": ["apiKeyAuth", "appKeyAuth"],
"endpoint_path": "/api/v2/cases/{case_id}/status",
"operation_id": "update_status",
"http_method": "POST",
Expand Down

0 comments on commit 73b9fe2

Please sign in to comment.