Skip to content

Commit

Permalink
Regenerate client from commit d9351b20 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 22, 2024
1 parent df189da commit fdd9fc2
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-02-22 15:33:35.975887",
"spec_repo_commit": "a79d8d5b"
"regenerated": "2024-02-22 19:46:44.002085",
"spec_repo_commit": "d9351b20"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-22 15:33:35.991031",
"spec_repo_commit": "a79d8d5b"
"regenerated": "2024-02-22 19:46:44.023151",
"spec_repo_commit": "d9351b20"
}
}
}
67 changes: 0 additions & 67 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21539,8 +21539,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 @@ -22768,11 +22766,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 @@ -22807,11 +22800,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 @@ -22836,11 +22824,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 @@ -22871,11 +22854,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 @@ -22898,11 +22876,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 @@ -22928,11 +22901,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 @@ -22959,11 +22927,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 @@ -22997,11 +22960,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 @@ -23035,11 +22993,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 @@ -23073,11 +23026,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 @@ -23111,11 +23059,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 @@ -23149,11 +23092,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 @@ -23187,11 +23125,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 fdd9fc2

Please sign in to comment.