Skip to content

Commit 3b673e0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit d085f50 of spec repo (#216)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent ff9c65b commit 3b673e0

File tree

8 files changed

+27
-16
lines changed

8 files changed

+27
-16
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.dev2",
7-
"regenerated": "2021-01-08 12:36:38.878845",
8-
"spec_repo_commit": "39d6d27"
7+
"regenerated": "2021-01-11 08:50:27.839609",
8+
"spec_repo_commit": "d085f50"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev2",
12-
"regenerated": "2021-01-08 12:36:49.407240",
13-
"spec_repo_commit": "39d6d27"
12+
"regenerated": "2021-01-11 08:50:38.384202",
13+
"spec_repo_commit": "d085f50"
1414
}
1515
}
1616
}

.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ datadog_api_client/v2/api_client.py
1818
datadog_api_client/v2/apis/__init__.py
1919
datadog_api_client/v2/configuration.py
2020
datadog_api_client/v2/exceptions.py
21+
datadog_api_client/v2/model/__init__.py
2122
datadog_api_client/v2/model/api_error_response.py
2223
datadog_api_client/v2/model/api_key_create_attributes.py
2324
datadog_api_client/v2/model/api_key_create_data.py

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0-SNAPSHOT
1+
5.0.1-SNAPSHOT

docs/v1/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Class | Method | HTTP request | Description
212212
*ServiceLevelObjectivesApi* | [**delete_slo_timeframe_in_bulk**](ServiceLevelObjectivesApi.md#delete_slo_timeframe_in_bulk) | **POST** /api/v1/slo/bulk_delete | Bulk Delete SLO Timeframes
213213
*ServiceLevelObjectivesApi* | [**get_slo**](ServiceLevelObjectivesApi.md#get_slo) | **GET** /api/v1/slo/{slo_id} | Get a SLO&#39;s details
214214
*ServiceLevelObjectivesApi* | [**get_slo_history**](ServiceLevelObjectivesApi.md#get_slo_history) | **GET** /api/v1/slo/{slo_id}/history | Get an SLO&#39;s history
215-
*ServiceLevelObjectivesApi* | [**list_sl_os**](ServiceLevelObjectivesApi.md#list_sl_os) | **GET** /api/v1/slo | Search SLOs
215+
*ServiceLevelObjectivesApi* | [**list_slos**](ServiceLevelObjectivesApi.md#list_slos) | **GET** /api/v1/slo | Search SLOs
216216
*ServiceLevelObjectivesApi* | [**update_slo**](ServiceLevelObjectivesApi.md#update_slo) | **PUT** /api/v1/slo/{slo_id} | Update a SLO
217217
*SnapshotsApi* | [**get_graph_snapshot**](SnapshotsApi.md#get_graph_snapshot) | **GET** /api/v1/graph/snapshot | Take graph snapshots
218218
*SyntheticsApi* | [**create_global_variable**](SyntheticsApi.md#create_global_variable) | **POST** /api/v1/synthetics/variables | Create a global variable

docs/v1/ServiceLevelObjectivesApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Method | HTTP request | Description
1010
[**delete_slo_timeframe_in_bulk**](ServiceLevelObjectivesApi.md#delete_slo_timeframe_in_bulk) | **POST** /api/v1/slo/bulk_delete | Bulk Delete SLO Timeframes
1111
[**get_slo**](ServiceLevelObjectivesApi.md#get_slo) | **GET** /api/v1/slo/{slo_id} | Get a SLO&#39;s details
1212
[**get_slo_history**](ServiceLevelObjectivesApi.md#get_slo_history) | **GET** /api/v1/slo/{slo_id}/history | Get an SLO&#39;s history
13-
[**list_sl_os**](ServiceLevelObjectivesApi.md#list_sl_os) | **GET** /api/v1/slo | Search SLOs
13+
[**list_slos**](ServiceLevelObjectivesApi.md#list_slos) | **GET** /api/v1/slo | Search SLOs
1414
[**update_slo**](ServiceLevelObjectivesApi.md#update_slo) | **PUT** /api/v1/slo/{slo_id} | Update a SLO
1515

1616

@@ -563,8 +563,8 @@ Name | Type | Description | Notes
563563

564564
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
565565

566-
# **list_sl_os**
567-
> SLOListResponse list_sl_os(ids)
566+
# **list_slos**
567+
> SLOListResponse list_slos(ids)
568568
569569
Search SLOs
570570

@@ -613,10 +613,10 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
613613
# example passing only required values which don't have defaults set
614614
try:
615615
# Search SLOs
616-
api_response = api_instance.list_sl_os(ids)
616+
api_response = api_instance.list_slos(ids)
617617
pprint(api_response)
618618
except datadog_api_client.v1.ApiException as e:
619-
print("Exception when calling ServiceLevelObjectivesApi->list_sl_os: %s\n" % e)
619+
print("Exception when calling ServiceLevelObjectivesApi->list_slos: %s\n" % e)
620620
```
621621

622622
### Parameters

src/datadog_api_client/v1/api/service_level_objectives_api.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ def __get_slo_history(
788788
callable=__get_slo_history
789789
)
790790

791-
def __list_sl_os(
791+
def __list_slos(
792792
self,
793793
ids,
794794
**kwargs
@@ -799,7 +799,7 @@ def __list_sl_os(
799799
This method makes a synchronous HTTP request by default. To make an
800800
asynchronous HTTP request, please pass async_req=True
801801
802-
>>> thread = api.list_sl_os(ids, async_req=True)
802+
>>> thread = api.list_slos(ids, async_req=True)
803803
>>> result = thread.get()
804804
805805
Args:
@@ -854,15 +854,15 @@ def __list_sl_os(
854854
ids
855855
return self.call_with_http_info(**kwargs)
856856

857-
self.list_sl_os = Endpoint(
857+
self.list_slos = Endpoint(
858858
settings={
859859
'response_type': (SLOListResponse,),
860860
'auth': [
861861
'apiKeyAuth',
862862
'appKeyAuth'
863863
],
864864
'endpoint_path': '/api/v1/slo',
865-
'operation_id': 'list_sl_os',
865+
'operation_id': 'list_slos',
866866
'http_method': 'GET',
867867
'servers': None,
868868
},
@@ -905,7 +905,7 @@ def __list_sl_os(
905905
'content_type': [],
906906
},
907907
api_client=api_client,
908-
callable=__list_sl_os
908+
callable=__list_slos
909909
)
910910

911911
def __update_slo(
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# we can not import model classes here because that would create a circular
2+
# reference which would not work in python2
3+
# do not import all models into this module because that uses a lot of memory and stack frames
4+
# if you need the ability to import all models from one package, import them with
5+
# from {{packageName}.models import ModelA, ModelB
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# we can not import model classes here because that would create a circular
2+
# reference which would not work in python2
3+
# do not import all models into this module because that uses a lot of memory and stack frames
4+
# if you need the ability to import all models from one package, import them with
5+
# from {{packageName}.models import ModelA, ModelB

0 commit comments

Comments
 (0)