Skip to content

Commit 71b6a5e

Browse files
Regenerate client from commit fd4a082 of spec repo (#373)
1 parent 7846545 commit 71b6a5e

File tree

6 files changed

+30
-30
lines changed

6 files changed

+30
-30
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.4.1.dev6",
7-
"regenerated": "2021-04-12 11:09:43.079784",
8-
"spec_repo_commit": "70fbb25"
7+
"regenerated": "2021-04-12 12:07:14.768911",
8+
"spec_repo_commit": "fd4a082"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev6",
12-
"regenerated": "2021-04-12 11:10:10.065349",
13-
"spec_repo_commit": "70fbb25"
12+
"regenerated": "2021-04-12 12:07:44.877474",
13+
"spec_repo_commit": "fd4a082"
1414
}
1515
}
1616
}

docs/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,10 @@ Class | Method | HTTP request | Description
193193
*PagerDutyIntegrationApi* | [**update_pager_duty_integration_service**](PagerDutyIntegrationApi.md#update_pager_duty_integration_service) | **PUT** /api/v1/integration/pagerduty/configuration/services/{service_name} | Update a single service object
194194
*ServiceChecksApi* | [**submit_service_check**](ServiceChecksApi.md#submit_service_check) | **POST** /api/v1/check_run | Submit a Service Check
195195
*ServiceLevelObjectiveCorrectionsApi* | [**create_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#create_slo_correction) | **POST** /api/v1/slo/correction | Create an SLO correction
196-
*ServiceLevelObjectiveCorrectionsApi* | [**delete_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#delete_slo_correction) | **DELETE** /api/v1/slo/correction/{slo_correction_id} | Delete an SLO Correction
196+
*ServiceLevelObjectiveCorrectionsApi* | [**delete_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#delete_slo_correction) | **DELETE** /api/v1/slo/correction/{slo_correction_id} | Delete an SLO correction
197197
*ServiceLevelObjectiveCorrectionsApi* | [**get_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#get_slo_correction) | **GET** /api/v1/slo/correction/{slo_correction_id} | Get an SLO correction for an SLO
198198
*ServiceLevelObjectiveCorrectionsApi* | [**list_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#list_slo_correction) | **GET** /api/v1/slo/correction | Get all SLO corrections
199-
*ServiceLevelObjectiveCorrectionsApi* | [**update_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#update_slo_correction) | **PATCH** /api/v1/slo/correction/{slo_correction_id} | Update an SLO Correction
199+
*ServiceLevelObjectiveCorrectionsApi* | [**update_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#update_slo_correction) | **PATCH** /api/v1/slo/correction/{slo_correction_id} | Update an SLO correction
200200
*ServiceLevelObjectivesApi* | [**check_can_delete_slo**](ServiceLevelObjectivesApi.md#check_can_delete_slo) | **GET** /api/v1/slo/can_delete | Check if SLOs can be safely deleted
201201
*ServiceLevelObjectivesApi* | [**create_slo**](ServiceLevelObjectivesApi.md#create_slo) | **POST** /api/v1/slo | Create an SLO object
202202
*ServiceLevelObjectivesApi* | [**delete_slo**](ServiceLevelObjectivesApi.md#delete_slo) | **DELETE** /api/v1/slo/{slo_id} | Delete an SLO

docs/v1/ServiceLevelObjectiveCorrectionsApi.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ All URIs are relative to *https://api.datadoghq.com*
55
Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**create_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#create_slo_correction) | **POST** /api/v1/slo/correction | Create an SLO correction
8-
[**delete_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#delete_slo_correction) | **DELETE** /api/v1/slo/correction/{slo_correction_id} | Delete an SLO Correction
8+
[**delete_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#delete_slo_correction) | **DELETE** /api/v1/slo/correction/{slo_correction_id} | Delete an SLO correction
99
[**get_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#get_slo_correction) | **GET** /api/v1/slo/correction/{slo_correction_id} | Get an SLO correction for an SLO
1010
[**list_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#list_slo_correction) | **GET** /api/v1/slo/correction | Get all SLO corrections
11-
[**update_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#update_slo_correction) | **PATCH** /api/v1/slo/correction/{slo_correction_id} | Update an SLO Correction
11+
[**update_slo_correction**](ServiceLevelObjectiveCorrectionsApi.md#update_slo_correction) | **PATCH** /api/v1/slo/correction/{slo_correction_id} | Update an SLO correction
1212

1313

1414
# **create_slo_correction**
@@ -93,9 +93,9 @@ Name | Type | Description | Notes
9393
# **delete_slo_correction**
9494
> delete_slo_correction(slo_correction_id)
9595
96-
Delete an SLO Correction
96+
Delete an SLO correction
9797

98-
Permanently delete the specified SLO Correction object
98+
Permanently delete the specified SLO correction object
9999

100100
### Example
101101

@@ -120,7 +120,7 @@ with ApiClient(configuration) as api_client:
120120

121121
# example passing only required values which don't have defaults set
122122
try:
123-
# Delete an SLO Correction
123+
# Delete an SLO correction
124124
api_instance.delete_slo_correction(slo_correction_id)
125125
except ApiException as e:
126126
print("Exception when calling ServiceLevelObjectiveCorrectionsApi->delete_slo_correction: %s\n" % e)
@@ -161,7 +161,7 @@ void (empty response body)
161161
162162
Get an SLO correction for an SLO
163163

164-
Get an SLO Correction
164+
Get an SLO correction
165165

166166
### Example
167167

@@ -228,7 +228,7 @@ Name | Type | Description | Notes
228228
229229
Get all SLO corrections
230230

231-
Get all Service Level Objective Corrections
231+
Get all Service Level Objective corrections
232232

233233
### Example
234234

@@ -288,7 +288,7 @@ This endpoint does not need any parameter.
288288
# **update_slo_correction**
289289
> SLOCorrectionResponse update_slo_correction(slo_correction_id, body)
290290
291-
Update an SLO Correction
291+
Update an SLO correction
292292

293293
Update the specified SLO correction object object
294294

@@ -327,7 +327,7 @@ with ApiClient(configuration) as api_client:
327327

328328
# example passing only required values which don't have defaults set
329329
try:
330-
# Update an SLO Correction
330+
# Update an SLO correction
331331
api_response = api_instance.update_slo_correction(slo_correction_id, body)
332332
pprint(api_response)
333333
except ApiException as e:

src/datadog_api_client/v1/api/service_level_objective_corrections_api.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,9 @@ def create_slo_correction(self, body, **kwargs):
264264
return self._create_slo_correction_endpoint.call_with_http_info(**kwargs)
265265

266266
def delete_slo_correction(self, slo_correction_id, **kwargs):
267-
"""Delete an SLO Correction # noqa: E501
267+
"""Delete an SLO correction # noqa: E501
268268
269-
Permanently delete the specified SLO Correction object # noqa: E501
269+
Permanently delete the specified SLO correction object # noqa: E501
270270
This method makes a synchronous HTTP request by default. To make an
271271
asynchronous HTTP request, please pass async_req=True
272272
@@ -309,7 +309,7 @@ def delete_slo_correction(self, slo_correction_id, **kwargs):
309309
def get_slo_correction(self, slo_correction_id, **kwargs):
310310
"""Get an SLO correction for an SLO # noqa: E501
311311
312-
Get an SLO Correction # noqa: E501
312+
Get an SLO correction # noqa: E501
313313
This method makes a synchronous HTTP request by default. To make an
314314
asynchronous HTTP request, please pass async_req=True
315315
@@ -352,7 +352,7 @@ def get_slo_correction(self, slo_correction_id, **kwargs):
352352
def list_slo_correction(self, **kwargs):
353353
"""Get all SLO corrections # noqa: E501
354354
355-
Get all Service Level Objective Corrections # noqa: E501
355+
Get all Service Level Objective corrections # noqa: E501
356356
This method makes a synchronous HTTP request by default. To make an
357357
asynchronous HTTP request, please pass async_req=True
358358
@@ -390,7 +390,7 @@ def list_slo_correction(self, **kwargs):
390390
return self._list_slo_correction_endpoint.call_with_http_info(**kwargs)
391391

392392
def update_slo_correction(self, slo_correction_id, body, **kwargs):
393-
"""Update an SLO Correction # noqa: E501
393+
"""Update an SLO correction # noqa: E501
394394
395395
Update the specified SLO correction object object # noqa: E501
396396
This method makes a synchronous HTTP request by default. To make an

src/datadog_api_client/v1/openapi.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16512,7 +16512,7 @@ paths:
1651216512
type: safe
1651316513
/api/v1/slo/correction:
1651416514
get:
16515-
description: Get all Service Level Objective Corrections
16515+
description: Get all Service Level Objective corrections
1651616516
operationId: ListSLOCorrection
1651716517
responses:
1651816518
'200':
@@ -16589,7 +16589,7 @@ paths:
1658916589
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
1659016590
/api/v1/slo/correction/{slo_correction_id}:
1659116591
delete:
16592-
description: Permanently delete the specified SLO Correction object
16592+
description: Permanently delete the specified SLO correction object
1659316593
operationId: DeleteSLOCorrection
1659416594
parameters:
1659516595
- description: The ID of the SLO correction object
@@ -16613,7 +16613,7 @@ paths:
1661316613
schema:
1661416614
$ref: '#/components/schemas/APIErrorResponse'
1661516615
description: Not found
16616-
summary: Delete an SLO Correction
16616+
summary: Delete an SLO correction
1661716617
tags:
1661816618
- Service Level Objective Corrections
1661916619
x-undo:
@@ -16622,7 +16622,7 @@ paths:
1662216622

1662316623
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
1662416624
get:
16625-
description: Get an SLO Correction
16625+
description: Get an SLO correction
1662616626
operationId: GetSLOCorrection
1662716627
parameters:
1662816628
- description: The ID of the SLO correction object
@@ -16700,7 +16700,7 @@ paths:
1670016700
schema:
1670116701
$ref: '#/components/schemas/APIErrorResponse'
1670216702
description: Not Found
16703-
summary: Update an SLO Correction
16703+
summary: Update an SLO correction
1670416704
tags:
1670516705
- Service Level Objective Corrections
1670616706
x-codegen-request-body-name: body

tests/v1/features/service_level_objective_corrections.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ Feature: Service Level Objective Corrections
2828
Then the response status is 200 OK
2929

3030
@generated @skip
31-
Scenario: Delete an SLO Correction returns "Not found" response
31+
Scenario: Delete an SLO correction returns "Not found" response
3232
Given operation "DeleteSLOCorrection" enabled
3333
And new "DeleteSLOCorrection" request
3434
And request contains "slo_correction_id" parameter from "<PATH>"
3535
When the request is sent
3636
Then the response status is 404 Not found
3737

3838
@generated @skip
39-
Scenario: Delete an SLO Correction returns "OK" response
39+
Scenario: Delete an SLO correction returns "OK" response
4040
Given operation "DeleteSLOCorrection" enabled
4141
And new "DeleteSLOCorrection" request
4242
And request contains "slo_correction_id" parameter from "<PATH>"
@@ -68,7 +68,7 @@ Feature: Service Level Objective Corrections
6868
Then the response status is 200 OK
6969

7070
@generated @skip
71-
Scenario: Update an SLO Correction returns "Bad Request" response
71+
Scenario: Update an SLO correction returns "Bad Request" response
7272
Given operation "UpdateSLOCorrection" enabled
7373
And new "UpdateSLOCorrection" request
7474
And request contains "slo_correction_id" parameter from "<PATH>"
@@ -77,7 +77,7 @@ Feature: Service Level Objective Corrections
7777
Then the response status is 400 Bad Request
7878

7979
@generated @skip
80-
Scenario: Update an SLO Correction returns "Not Found" response
80+
Scenario: Update an SLO correction returns "Not Found" response
8181
Given operation "UpdateSLOCorrection" enabled
8282
And new "UpdateSLOCorrection" request
8383
And request contains "slo_correction_id" parameter from "<PATH>"
@@ -86,7 +86,7 @@ Feature: Service Level Objective Corrections
8686
Then the response status is 404 Not Found
8787

8888
@generated @skip
89-
Scenario: Update an SLO Correction returns "OK" response
89+
Scenario: Update an SLO correction returns "OK" response
9090
Given operation "UpdateSLOCorrection" enabled
9191
And new "UpdateSLOCorrection" request
9292
And request contains "slo_correction_id" parameter from "<PATH>"

0 commit comments

Comments
 (0)