Skip to content

Commit 7ce6bf0

Browse files
api-clients-generation-pipeline[bot]mrhwickzippolyteci.datadog-api-spec
authored
Change teams and services objects names to be incident specific (#134)
* swap out the cassetes and fix bdd glue * remove unneeded test files * fix that scenarios file * remove unnecessary feature files * bad import * fix reference * Regenerate client from commit cfb5965 of spec repo Co-authored-by: MRHwick <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: Hippolyte HENRY <[email protected]> Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 05023cf commit 7ce6bf0

File tree

170 files changed

+3408
-3349
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+3408
-3349
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.2.0",
7-
"regenerated": "2020-10-27 10:36:13.259681",
8-
"spec_repo_commit": "41e034f"
7+
"regenerated": "2020-10-27 15:38:09.690646",
8+
"spec_repo_commit": "cfb5965"
99
},
1010
"v2": {
1111
"apigentools_version": "1.2.0",
12-
"regenerated": "2020-10-27 10:36:25.326212",
13-
"spec_repo_commit": "41e034f"
12+
"regenerated": "2020-10-27 15:38:20.042609",
13+
"spec_repo_commit": "cfb5965"
1414
}
1515
}
1616
}

.openapi-generator/FILES

Lines changed: 90 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ datadog_api_client/__init__.py
33
datadog_api_client/v2/__init__.py
44
datadog_api_client/v2/api/__init__.py
55
datadog_api_client/v2/api/dashboard_lists_api.py
6+
datadog_api_client/v2/api/incident_services_api.py
7+
datadog_api_client/v2/api/incident_teams_api.py
68
datadog_api_client/v2/api/logs_api.py
79
datadog_api_client/v2/api/logs_archives_api.py
810
datadog_api_client/v2/api/roles_api.py
911
datadog_api_client/v2/api/security_monitoring_api.py
10-
datadog_api_client/v2/api/services_api.py
11-
datadog_api_client/v2/api/teams_api.py
1212
datadog_api_client/v2/api/users_api.py
1313
datadog_api_client/v2/api_client.py
1414
datadog_api_client/v2/apis/__init__.py
@@ -28,6 +28,34 @@ datadog_api_client/v2/model/dashboard_list_items.py
2828
datadog_api_client/v2/model/dashboard_list_update_items_request.py
2929
datadog_api_client/v2/model/dashboard_list_update_items_response.py
3030
datadog_api_client/v2/model/dashboard_type.py
31+
datadog_api_client/v2/model/incident_service_create_attributes.py
32+
datadog_api_client/v2/model/incident_service_create_data.py
33+
datadog_api_client/v2/model/incident_service_create_request.py
34+
datadog_api_client/v2/model/incident_service_included_items.py
35+
datadog_api_client/v2/model/incident_service_relationships.py
36+
datadog_api_client/v2/model/incident_service_response.py
37+
datadog_api_client/v2/model/incident_service_response_attributes.py
38+
datadog_api_client/v2/model/incident_service_response_data.py
39+
datadog_api_client/v2/model/incident_service_type.py
40+
datadog_api_client/v2/model/incident_service_update_attributes.py
41+
datadog_api_client/v2/model/incident_service_update_data.py
42+
datadog_api_client/v2/model/incident_service_update_request.py
43+
datadog_api_client/v2/model/incident_services_response.py
44+
datadog_api_client/v2/model/incident_services_response_meta.py
45+
datadog_api_client/v2/model/incident_services_response_meta_pagination.py
46+
datadog_api_client/v2/model/incident_team_create_attributes.py
47+
datadog_api_client/v2/model/incident_team_create_data.py
48+
datadog_api_client/v2/model/incident_team_create_request.py
49+
datadog_api_client/v2/model/incident_team_included_items.py
50+
datadog_api_client/v2/model/incident_team_relationships.py
51+
datadog_api_client/v2/model/incident_team_response.py
52+
datadog_api_client/v2/model/incident_team_response_attributes.py
53+
datadog_api_client/v2/model/incident_team_response_data.py
54+
datadog_api_client/v2/model/incident_team_type.py
55+
datadog_api_client/v2/model/incident_team_update_attributes.py
56+
datadog_api_client/v2/model/incident_team_update_data.py
57+
datadog_api_client/v2/model/incident_team_update_request.py
58+
datadog_api_client/v2/model/incident_teams_response.py
3159
datadog_api_client/v2/model/log.py
3260
datadog_api_client/v2/model/log_attributes.py
3361
datadog_api_client/v2/model/log_type.py
@@ -148,34 +176,6 @@ datadog_api_client/v2/model/security_monitoring_signals_list_response_links.py
148176
datadog_api_client/v2/model/security_monitoring_signals_list_response_meta.py
149177
datadog_api_client/v2/model/security_monitoring_signals_list_response_meta_page.py
150178
datadog_api_client/v2/model/security_monitoring_signals_sort.py
151-
datadog_api_client/v2/model/service_create_attributes.py
152-
datadog_api_client/v2/model/service_create_data.py
153-
datadog_api_client/v2/model/service_create_request.py
154-
datadog_api_client/v2/model/service_included_items.py
155-
datadog_api_client/v2/model/service_relationships.py
156-
datadog_api_client/v2/model/service_response.py
157-
datadog_api_client/v2/model/service_response_attributes.py
158-
datadog_api_client/v2/model/service_response_data.py
159-
datadog_api_client/v2/model/service_type.py
160-
datadog_api_client/v2/model/service_update_attributes.py
161-
datadog_api_client/v2/model/service_update_data.py
162-
datadog_api_client/v2/model/service_update_request.py
163-
datadog_api_client/v2/model/services_response.py
164-
datadog_api_client/v2/model/services_response_meta.py
165-
datadog_api_client/v2/model/services_response_meta_pagination.py
166-
datadog_api_client/v2/model/team_create_attributes.py
167-
datadog_api_client/v2/model/team_create_data.py
168-
datadog_api_client/v2/model/team_create_request.py
169-
datadog_api_client/v2/model/team_included_items.py
170-
datadog_api_client/v2/model/team_relationships.py
171-
datadog_api_client/v2/model/team_response.py
172-
datadog_api_client/v2/model/team_response_attributes.py
173-
datadog_api_client/v2/model/team_response_data.py
174-
datadog_api_client/v2/model/team_type.py
175-
datadog_api_client/v2/model/team_update_attributes.py
176-
datadog_api_client/v2/model/team_update_data.py
177-
datadog_api_client/v2/model/team_update_request.py
178-
datadog_api_client/v2/model/teams_response.py
179179
datadog_api_client/v2/model/user.py
180180
datadog_api_client/v2/model/user_attributes.py
181181
datadog_api_client/v2/model/user_create_attributes.py
@@ -215,6 +215,36 @@ docs/DashboardListUpdateItemsRequest.md
215215
docs/DashboardListUpdateItemsResponse.md
216216
docs/DashboardListsApi.md
217217
docs/DashboardType.md
218+
docs/IncidentServiceCreateAttributes.md
219+
docs/IncidentServiceCreateData.md
220+
docs/IncidentServiceCreateRequest.md
221+
docs/IncidentServiceIncludedItems.md
222+
docs/IncidentServiceRelationships.md
223+
docs/IncidentServiceResponse.md
224+
docs/IncidentServiceResponseAttributes.md
225+
docs/IncidentServiceResponseData.md
226+
docs/IncidentServiceType.md
227+
docs/IncidentServiceUpdateAttributes.md
228+
docs/IncidentServiceUpdateData.md
229+
docs/IncidentServiceUpdateRequest.md
230+
docs/IncidentServicesApi.md
231+
docs/IncidentServicesResponse.md
232+
docs/IncidentServicesResponseMeta.md
233+
docs/IncidentServicesResponseMetaPagination.md
234+
docs/IncidentTeamCreateAttributes.md
235+
docs/IncidentTeamCreateData.md
236+
docs/IncidentTeamCreateRequest.md
237+
docs/IncidentTeamIncludedItems.md
238+
docs/IncidentTeamRelationships.md
239+
docs/IncidentTeamResponse.md
240+
docs/IncidentTeamResponseAttributes.md
241+
docs/IncidentTeamResponseData.md
242+
docs/IncidentTeamType.md
243+
docs/IncidentTeamUpdateAttributes.md
244+
docs/IncidentTeamUpdateData.md
245+
docs/IncidentTeamUpdateRequest.md
246+
docs/IncidentTeamsApi.md
247+
docs/IncidentTeamsResponse.md
218248
docs/Log.md
219249
docs/LogAttributes.md
220250
docs/LogType.md
@@ -339,36 +369,6 @@ docs/SecurityMonitoringSignalsListResponseLinks.md
339369
docs/SecurityMonitoringSignalsListResponseMeta.md
340370
docs/SecurityMonitoringSignalsListResponseMetaPage.md
341371
docs/SecurityMonitoringSignalsSort.md
342-
docs/ServiceCreateAttributes.md
343-
docs/ServiceCreateData.md
344-
docs/ServiceCreateRequest.md
345-
docs/ServiceIncludedItems.md
346-
docs/ServiceRelationships.md
347-
docs/ServiceResponse.md
348-
docs/ServiceResponseAttributes.md
349-
docs/ServiceResponseData.md
350-
docs/ServiceType.md
351-
docs/ServiceUpdateAttributes.md
352-
docs/ServiceUpdateData.md
353-
docs/ServiceUpdateRequest.md
354-
docs/ServicesApi.md
355-
docs/ServicesResponse.md
356-
docs/ServicesResponseMeta.md
357-
docs/ServicesResponseMetaPagination.md
358-
docs/TeamCreateAttributes.md
359-
docs/TeamCreateData.md
360-
docs/TeamCreateRequest.md
361-
docs/TeamIncludedItems.md
362-
docs/TeamRelationships.md
363-
docs/TeamResponse.md
364-
docs/TeamResponseAttributes.md
365-
docs/TeamResponseData.md
366-
docs/TeamType.md
367-
docs/TeamUpdateAttributes.md
368-
docs/TeamUpdateData.md
369-
docs/TeamUpdateRequest.md
370-
docs/TeamsApi.md
371-
docs/TeamsResponse.md
372372
docs/User.md
373373
docs/UserAttributes.md
374374
docs/UserCreateAttributes.md
@@ -407,6 +407,36 @@ test/test_dashboard_list_update_items_request.py
407407
test/test_dashboard_list_update_items_response.py
408408
test/test_dashboard_lists_api.py
409409
test/test_dashboard_type.py
410+
test/test_incident_service_create_attributes.py
411+
test/test_incident_service_create_data.py
412+
test/test_incident_service_create_request.py
413+
test/test_incident_service_included_items.py
414+
test/test_incident_service_relationships.py
415+
test/test_incident_service_response.py
416+
test/test_incident_service_response_attributes.py
417+
test/test_incident_service_response_data.py
418+
test/test_incident_service_type.py
419+
test/test_incident_service_update_attributes.py
420+
test/test_incident_service_update_data.py
421+
test/test_incident_service_update_request.py
422+
test/test_incident_services_api.py
423+
test/test_incident_services_response.py
424+
test/test_incident_services_response_meta.py
425+
test/test_incident_services_response_meta_pagination.py
426+
test/test_incident_team_create_attributes.py
427+
test/test_incident_team_create_data.py
428+
test/test_incident_team_create_request.py
429+
test/test_incident_team_included_items.py
430+
test/test_incident_team_relationships.py
431+
test/test_incident_team_response.py
432+
test/test_incident_team_response_attributes.py
433+
test/test_incident_team_response_data.py
434+
test/test_incident_team_type.py
435+
test/test_incident_team_update_attributes.py
436+
test/test_incident_team_update_data.py
437+
test/test_incident_team_update_request.py
438+
test/test_incident_teams_api.py
439+
test/test_incident_teams_response.py
410440
test/test_log.py
411441
test/test_log_attributes.py
412442
test/test_log_type.py
@@ -531,36 +561,6 @@ test/test_security_monitoring_signals_list_response_links.py
531561
test/test_security_monitoring_signals_list_response_meta.py
532562
test/test_security_monitoring_signals_list_response_meta_page.py
533563
test/test_security_monitoring_signals_sort.py
534-
test/test_service_create_attributes.py
535-
test/test_service_create_data.py
536-
test/test_service_create_request.py
537-
test/test_service_included_items.py
538-
test/test_service_relationships.py
539-
test/test_service_response.py
540-
test/test_service_response_attributes.py
541-
test/test_service_response_data.py
542-
test/test_service_type.py
543-
test/test_service_update_attributes.py
544-
test/test_service_update_data.py
545-
test/test_service_update_request.py
546-
test/test_services_api.py
547-
test/test_services_response.py
548-
test/test_services_response_meta.py
549-
test/test_services_response_meta_pagination.py
550-
test/test_team_create_attributes.py
551-
test/test_team_create_data.py
552-
test/test_team_create_request.py
553-
test/test_team_included_items.py
554-
test/test_team_relationships.py
555-
test/test_team_response.py
556-
test/test_team_response_attributes.py
557-
test/test_team_response_data.py
558-
test/test_team_type.py
559-
test/test_team_update_attributes.py
560-
test/test_team_update_data.py
561-
test/test_team_update_request.py
562-
test/test_teams_api.py
563-
test/test_teams_response.py
564564
test/test_user.py
565565
test/test_user_attributes.py
566566
test/test_user_create_attributes.py

docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# datadog-api-client-python
22

3-
Collection of all Datadog Public endpoints.
3+
Collection of all of the Datadog public endpoints. For the official documentation, see the [Datadog API Reference](https://docs.datadoghq.com/api/).
44

5-
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5+
This python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project.
66

7-
For more information, please visit [https://www.datadoghq.com/support/](https://www.datadoghq.com/support/)
7+
Need help? Reach out to our awesome [support team](https://www.datadoghq.com/support/).
88

99
## Author
1010

docs/v2/ServiceType.md renamed to docs/v2/IncidentServiceCreateAttributes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# ServiceType
1+
# IncidentServiceCreateAttributes
22

3-
Service resource type.
3+
The incident service's attributes for a create request.
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**value** | **str** | Service resource type. | defaults to "services", must be one of ["services", ]
7+
**name** | **str** | Name of the incident service. |
88

99
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
1010

docs/v2/IncidentServiceCreateData.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# IncidentServiceCreateData
2+
3+
Incident Service payload for create requests.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**type** | [**IncidentServiceType**](IncidentServiceType.md) | |
8+
**attributes** | [**IncidentServiceCreateAttributes**](IncidentServiceCreateAttributes.md) | | [optional]
9+
**relationships** | [**IncidentServiceRelationships**](IncidentServiceRelationships.md) | | [optional]
10+
11+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
12+
13+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# IncidentServiceCreateRequest
2+
3+
Create request with an incident service payload.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**data** | [**IncidentServiceCreateData**](IncidentServiceCreateData.md) | |
8+
9+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
10+
11+

docs/v2/ServiceIncludedItems.md renamed to docs/v2/IncidentServiceIncludedItems.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# ServiceIncludedItems
1+
# IncidentServiceIncludedItems
22

3-
An object related to a service which is present in the included payload.
3+
An object related to an incident service which is present in the included payload.
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------

docs/v2/ServiceRelationships.md renamed to docs/v2/IncidentServiceRelationships.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# ServiceRelationships
1+
# IncidentServiceRelationships
22

3-
The service's relationships.
3+
The incident service's relationships.
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------

docs/v2/IncidentServiceResponse.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# IncidentServiceResponse
2+
3+
Response with an incident service payload.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**data** | [**IncidentServiceResponseData**](IncidentServiceResponseData.md) | |
8+
**included** | [**[IncidentServiceIncludedItems]**](IncidentServiceIncludedItems.md) | Included objects from relationships. | [optional] [readonly]
9+
10+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
11+
12+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# IncidentServiceResponseAttributes
2+
3+
The incident service's attributes from a response.
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**created** | **datetime** | Timestamp of when the incident service was created. | [optional] [readonly]
8+
**modified** | **datetime** | Timestamp of when the incident service was modified. | [optional] [readonly]
9+
**name** | **str** | Name of the incident service. | [optional]
10+
11+
[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
12+
13+

0 commit comments

Comments
 (0)