Skip to content

Commit 4acdadd

Browse files
committed
updated dependencies
1 parent 16e3c31 commit 4acdadd

File tree

5 files changed

+49
-23
lines changed

5 files changed

+49
-23
lines changed

corellium_api/api/corellium_api.py

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7529,7 +7529,7 @@ def v1_create_network_connection(self, create_network_connection_options, **kwar
75297529
:return: Returns the result object.
75307530
If the method is called asynchronously,
75317531
returns the request thread.
7532-
:rtype: None
7532+
:rtype: NetworkConnection
75337533
"""
75347534
kwargs['_return_http_data_only'] = True
75357535
return self.v1_create_network_connection_with_http_info(create_network_connection_options, **kwargs) # noqa: E501
@@ -7567,7 +7567,7 @@ def v1_create_network_connection_with_http_info(self, create_network_connection_
75677567
:return: Returns the result object.
75687568
If the method is called asynchronously,
75697569
returns the request thread.
7570-
:rtype: None
7570+
:rtype: tuple(NetworkConnection, status_code(int), headers(HTTPHeaderDict))
75717571
"""
75727572

75737573
local_var_params = locals()
@@ -7614,6 +7614,10 @@ def v1_create_network_connection_with_http_info(self, create_network_connection_
76147614
body_params = None
76157615
if 'create_network_connection_options' in local_var_params:
76167616
body_params = local_var_params['create_network_connection_options']
7617+
# HTTP header `Accept`
7618+
header_params['Accept'] = self.api_client.select_header_accept(
7619+
['application/json']) # noqa: E501
7620+
76177621
# HTTP header `Content-Type`
76187622
header_params['Content-Type'] = local_var_params.get('_content_type',
76197623
self.api_client.select_header_content_type(
@@ -7623,7 +7627,10 @@ def v1_create_network_connection_with_http_info(self, create_network_connection_
76237627
# Authentication setting
76247628
auth_settings = ['BearerAuth'] # noqa: E501
76257629

7626-
response_types_map = {}
7630+
response_types_map = {
7631+
200: "NetworkConnection",
7632+
403: "ApiError",
7633+
}
76277634

76287635
return self.api_client.call_api(
76297636
'/v1/network/connections', 'POST',
@@ -21735,7 +21742,7 @@ def v1_update_network_connection(self, id, update_network_connection_options, **
2173521742
:return: Returns the result object.
2173621743
If the method is called asynchronously,
2173721744
returns the request thread.
21738-
:rtype: None
21745+
:rtype: NetworkConnection
2173921746
"""
2174021747
kwargs['_return_http_data_only'] = True
2174121748
return self.v1_update_network_connection_with_http_info(id, update_network_connection_options, **kwargs) # noqa: E501
@@ -21777,7 +21784,7 @@ def v1_update_network_connection_with_http_info(self, id, update_network_connect
2177721784
:return: Returns the result object.
2177821785
If the method is called asynchronously,
2177921786
returns the request thread.
21780-
:rtype: None
21787+
:rtype: tuple(NetworkConnection, status_code(int), headers(HTTPHeaderDict))
2178121788
"""
2178221789

2178321790
local_var_params = locals()
@@ -21834,6 +21841,10 @@ def v1_update_network_connection_with_http_info(self, id, update_network_connect
2183421841
body_params = None
2183521842
if 'update_network_connection_options' in local_var_params:
2183621843
body_params = local_var_params['update_network_connection_options']
21844+
# HTTP header `Accept`
21845+
header_params['Accept'] = self.api_client.select_header_accept(
21846+
['application/json']) # noqa: E501
21847+
2183721848
# HTTP header `Content-Type`
2183821849
header_params['Content-Type'] = local_var_params.get('_content_type',
2183921850
self.api_client.select_header_content_type(
@@ -21843,7 +21854,10 @@ def v1_update_network_connection_with_http_info(self, id, update_network_connect
2184321854
# Authentication setting
2184421855
auth_settings = ['BearerAuth'] # noqa: E501
2184521856

21846-
response_types_map = {}
21857+
response_types_map = {
21858+
200: "NetworkConnection",
21859+
403: "ApiError",
21860+
}
2184721861

2184821862
return self.api_client.call_api(
2184921863
'/v1/network/connections/{id}', 'PUT',

corellium_api/models/activity_request.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def search(self, search):
278278
def to(self):
279279
"""Gets the to of this ActivityRequest. # noqa: E501
280280
281-
Date to filter to, keyed off of createdAt, defaults to now # noqa: E501
281+
Date to filter to, keyed off of createdAt # noqa: E501
282282
283283
:return: The to of this ActivityRequest. # noqa: E501
284284
:rtype: str
@@ -289,7 +289,7 @@ def to(self):
289289
def to(self, to):
290290
"""Sets the to of this ActivityRequest.
291291
292-
Date to filter to, keyed off of createdAt, defaults to now # noqa: E501
292+
Date to filter to, keyed off of createdAt # noqa: E501
293293
294294
:param to: The to of this ActivityRequest. # noqa: E501
295295
:type to: str
@@ -301,7 +301,7 @@ def to(self, to):
301301
def _from(self):
302302
"""Gets the _from of this ActivityRequest. # noqa: E501
303303
304-
Date to filter from, keyed off of createdAt, defaults to 1 week ago # noqa: E501
304+
Date to filter from, keyed off of createdAt # noqa: E501
305305
306306
:return: The _from of this ActivityRequest. # noqa: E501
307307
:rtype: str
@@ -312,7 +312,7 @@ def _from(self):
312312
def _from(self, _from):
313313
"""Sets the _from of this ActivityRequest.
314314
315-
Date to filter from, keyed off of createdAt, defaults to 1 week ago # noqa: E501
315+
Date to filter from, keyed off of createdAt # noqa: E501
316316
317317
:param _from: The _from of this ActivityRequest. # noqa: E501
318318
:type _from: str

docs/ActivityRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Name | Type | Description | Notes
1313
**project** | **str** | Instance identifier used to filter instance resources | [optional]
1414
**actor** | **str** | Actor identifier used to filter actor resources | [optional]
1515
**search** | **str** | Last filter applied and is a fuzzy match on results | [optional]
16-
**to** | **str** | Date to filter to, keyed off of createdAt, defaults to now | [optional]
17-
**_from** | **str** | Date to filter from, keyed off of createdAt, defaults to 1 week ago | [optional]
16+
**to** | **str** | Date to filter to, keyed off of createdAt | [optional]
17+
**_from** | **str** | Date to filter from, keyed off of createdAt | [optional]
1818

1919
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2020

docs/CorelliumApi.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3957,7 +3957,7 @@ Name | Type | Description | Notes
39573957
[[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)
39583958

39593959
# **v1_create_network_connection**
3960-
> v1_create_network_connection(create_network_connection_options)
3960+
> NetworkConnection v1_create_network_connection(create_network_connection_options)
39613961
39623962
Create a new Network Connection
39633963

@@ -4011,7 +4011,8 @@ async def main():
40114011

40124012
try:
40134013
# Create a new Network Connection
4014-
api_instance.v1_create_network_connection(create_network_connection_options)
4014+
api_response = await api_instance.v1_create_network_connection(create_network_connection_options)
4015+
pprint(api_response)
40154016
except ApiException as e:
40164017
print("Exception when calling CorelliumApi->v1_create_network_connection: %s\n" % e)
40174018

@@ -4027,7 +4028,7 @@ Name | Type | Description | Notes
40274028

40284029
### Return type
40294030

4030-
void (empty response body)
4031+
[**NetworkConnection**](NetworkConnection.md)
40314032

40324033
### Authorization
40334034

@@ -4036,8 +4037,13 @@ void (empty response body)
40364037
### HTTP request headers
40374038

40384039
- **Content-Type**: application/json
4039-
- **Accept**: Not defined
4040+
- **Accept**: application/json
40404041

4042+
### HTTP response details
4043+
| Status code | Description | Response headers |
4044+
|-------------|-------------|------------------|
4045+
**200** | Success | - |
4046+
**403** | Forbidden | - |
40414047

40424048
[[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)
40434049

@@ -11350,7 +11356,7 @@ Name | Type | Description | Notes
1135011356
[[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)
1135111357

1135211358
# **v1_update_network_connection**
11353-
> v1_update_network_connection(id, update_network_connection_options, force=force)
11359+
> NetworkConnection v1_update_network_connection(id, update_network_connection_options, force=force)
1135411360
1135511361
Update Network Connection
1135611362

@@ -11406,7 +11412,8 @@ force = True # bool | Force deletion (true only or not present) (optional)
1140611412

1140711413
try:
1140811414
# Update Network Connection
11409-
api_instance.v1_update_network_connection(id, update_network_connection_options, force=force)
11415+
api_response = await api_instance.v1_update_network_connection(id, update_network_connection_options, force=force)
11416+
pprint(api_response)
1141011417
except ApiException as e:
1141111418
print("Exception when calling CorelliumApi->v1_update_network_connection: %s\n" % e)
1141211419

@@ -11424,7 +11431,7 @@ Name | Type | Description | Notes
1142411431

1142511432
### Return type
1142611433

11427-
void (empty response body)
11434+
[**NetworkConnection**](NetworkConnection.md)
1142811435

1142911436
### Authorization
1143011437

@@ -11433,8 +11440,13 @@ void (empty response body)
1143311440
### HTTP request headers
1143411441

1143511442
- **Content-Type**: application/json
11436-
- **Accept**: Not defined
11443+
- **Accept**: application/json
1143711444

11445+
### HTTP response details
11446+
| Status code | Description | Response headers |
11447+
|-------------|-------------|------------------|
11448+
**200** | Success | - |
11449+
**403** | Forbidden | - |
1143811450

1143911451
[[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)
1144011452

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
future; python_version<="2.7"
22
six >= 1.10
3-
python_dateutil >= 2.5.3
4-
setuptools >= 21.0.0
5-
urllib3 >= 1.25.3
3+
python_dateutil >= 2.9
4+
setuptools >= 65.5.1
5+
urllib3 >= 1.26.5

0 commit comments

Comments
 (0)