Skip to content

Commit

Permalink
Update dfirtrack-api-python-client to version 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
n3x77 committed Feb 2, 2022
1 parent cc56dfe commit b9e4ace
Show file tree
Hide file tree
Showing 92 changed files with 1,240 additions and 128 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.3.1
5.4.0
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ OpenAPI 3 - Documentation of DFIRTrack API

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

- API version: v2.0.0
- Package version: 2.2.0
- API version: v2.4.1
- Package version: 2.4.1
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.

Python >= 3.6
Python >=3.6

## Installation & Usage
### pip install
Expand Down Expand Up @@ -132,6 +132,7 @@ with dfirtrackapi_client.ApiClient(configuration) as api_client:
artifact_requested_time=dateutil_parser('1970-01-01T00:00:00.00Z'),
artifact_created_by_user_id=1,
artifact_modified_by_user_id=1,
artifact_assigned_to_user_id=1,
) # Artifact | (optional)

try:
Expand Down
4 changes: 2 additions & 2 deletions dfirtrackapi_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""


__version__ = "2.2.0"
__version__ = "2.4.1"

# import ApiClient
from dfirtrackapi_client.api_client import ApiClient
Expand Down
1,059 changes: 1,058 additions & 1 deletion dfirtrackapi_client/api/api_api.py

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions dfirtrackapi_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/2.2.0/python'
self.user_agent = 'OpenAPI-Generator/2.4.1/python'

def __enter__(self):
return self
Expand Down Expand Up @@ -673,7 +673,8 @@ def __init__(self, settings=None, params_map=None, root_map=None,
'_return_http_data_only',
'_check_input_type',
'_check_return_type',
'_content_type'
'_content_type',
'_spec_property_naming'
])
self.params_map['nullable'].extend(['_request_timeout'])
self.validations = root_map['validations']
Expand All @@ -687,6 +688,7 @@ def __init__(self, settings=None, params_map=None, root_map=None,
'_return_http_data_only': (bool,),
'_check_input_type': (bool,),
'_check_return_type': (bool,),
'_spec_property_naming': (bool,),
'_content_type': (none_type, str)
}
self.openapi_types.update(extra_types)
Expand Down Expand Up @@ -723,7 +725,7 @@ def __validate_inputs(self, kwargs):
value,
self.openapi_types[key],
[key],
False,
kwargs['_spec_property_naming'],
kwargs['_check_input_type'],
configuration=self.api_client.configuration
)
Expand Down Expand Up @@ -751,11 +753,11 @@ def __gather_params(self, kwargs):
base_name = self.attribute_map[param_name]
if (param_location == 'form' and
self.openapi_types[param_name] == (file_type,)):
params['file'][param_name] = [param_value]
params['file'][base_name] = [param_value]
elif (param_location == 'form' and
self.openapi_types[param_name] == ([file_type],)):
# param_value is already a list
params['file'][param_name] = param_value
params['file'][base_name] = param_value
elif param_location in {'form', 'query'}:
param_value_full = (base_name, param_value)
params[param_location].append(param_value_full)
Expand Down
6 changes: 3 additions & 3 deletions dfirtrackapi_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -410,8 +410,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v2.0.0\n"\
"SDK Package Version: 2.2.0".\
"Version of the API: v2.4.1\n"\
"SDK Package Version: 2.4.1".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion dfirtrackapi_client/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down
4 changes: 2 additions & 2 deletions dfirtrackapi_client/model/analysisstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -59,7 +59,7 @@ class Analysisstatus(ModelNormal):

validations = {
('analysisstatus_name',): {
'max_length': 30,
'max_length': 255,
},
}

Expand Down
6 changes: 5 additions & 1 deletion dfirtrackapi_client/model/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -116,6 +116,7 @@ def openapi_types():
'artifact_requested_time': (datetime, none_type,), # noqa: E501
'artifact_create_time': (datetime,), # noqa: E501
'artifact_modify_time': (datetime,), # noqa: E501
'artifact_assigned_to_user_id': (int, none_type,), # noqa: E501
}

@cached_property
Expand Down Expand Up @@ -144,6 +145,7 @@ def discriminator():
'artifact_requested_time': 'artifact_requested_time', # noqa: E501
'artifact_create_time': 'artifact_create_time', # noqa: E501
'artifact_modify_time': 'artifact_modify_time', # noqa: E501
'artifact_assigned_to_user_id': 'artifact_assigned_to_user_id', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -214,6 +216,7 @@ def _from_openapi_data(cls, artifact_name, artifacttype, system, artifact_create
artifact_requested_time (datetime, none_type): [optional] # noqa: E501
artifact_create_time (datetime): [optional] # noqa: E501
artifact_modify_time (datetime): [optional] # noqa: E501
artifact_assigned_to_user_id (int, none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -322,6 +325,7 @@ def __init__(self, artifact_name, artifacttype, system, artifact_created_by_user
artifact_requested_time (datetime, none_type): [optional] # noqa: E501
artifact_create_time (datetime): [optional] # noqa: E501
artifact_modify_time (datetime): [optional] # noqa: E501
artifact_assigned_to_user_id (int, none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
2 changes: 1 addition & 1 deletion dfirtrackapi_client/model/artifactpriority.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion dfirtrackapi_client/model/artifactstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion dfirtrackapi_client/model/artifacttype.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion dfirtrackapi_client/model/auth_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down
10 changes: 7 additions & 3 deletions dfirtrackapi_client/model/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -59,10 +59,10 @@ class Case(ModelNormal):

validations = {
('case_name',): {
'max_length': 50,
'max_length': 255,
},
('case_id_external',): {
'max_length': 50,
'max_length': 255,
},
}

Expand Down Expand Up @@ -101,6 +101,7 @@ def openapi_types():
'case_create_time': (datetime,), # noqa: E501
'case_modified_by_user_id': (int, none_type,), # noqa: E501
'case_modify_time': (datetime,), # noqa: E501
'case_assigned_to_user_id': (int, none_type,), # noqa: E501
}

@cached_property
Expand All @@ -123,6 +124,7 @@ def discriminator():
'case_create_time': 'case_create_time', # noqa: E501
'case_modified_by_user_id': 'case_modified_by_user_id', # noqa: E501
'case_modify_time': 'case_modify_time', # noqa: E501
'case_assigned_to_user_id': 'case_assigned_to_user_id', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -185,6 +187,7 @@ def _from_openapi_data(cls, case_name, case_is_incident, case_created_by_user_id
case_create_time (datetime): [optional] # noqa: E501
case_modified_by_user_id (int, none_type): [optional] # noqa: E501
case_modify_time (datetime): [optional] # noqa: E501
case_assigned_to_user_id (int, none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -285,6 +288,7 @@ def __init__(self, case_name, case_is_incident, case_created_by_user_id, *args,
case_create_time (datetime): [optional] # noqa: E501
case_modified_by_user_id (int, none_type): [optional] # noqa: E501
case_modify_time (datetime): [optional] # noqa: E501
case_assigned_to_user_id (int, none_type): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
2 changes: 1 addition & 1 deletion dfirtrackapi_client/model/casepriority.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion dfirtrackapi_client/model/casestatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion dfirtrackapi_client/model/casetype.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down
4 changes: 2 additions & 2 deletions dfirtrackapi_client/model/company.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -59,7 +59,7 @@ class Company(ModelNormal):

validations = {
('company_name',): {
'max_length': 50,
'max_length': 255,
},
}

Expand Down
8 changes: 4 additions & 4 deletions dfirtrackapi_client/model/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -59,13 +59,13 @@ class Contact(ModelNormal):

validations = {
('contact_name',): {
'max_length': 100,
'max_length': 255,
},
('contact_email',): {
'max_length': 100,
'max_length': 255,
},
('contact_phone',): {
'max_length': 50,
'max_length': 255,
},
}

Expand Down
4 changes: 2 additions & 2 deletions dfirtrackapi_client/model/division.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -59,7 +59,7 @@ class Division(ModelNormal):

validations = {
('division_name',): {
'max_length': 50,
'max_length': 255,
},
}

Expand Down
4 changes: 2 additions & 2 deletions dfirtrackapi_client/model/dnsname.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
OpenAPI 3 - Documentation of DFIRTrack API # noqa: E501
The version of the OpenAPI document: v2.0.0
The version of the OpenAPI document: v2.4.1
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -59,7 +59,7 @@ class Dnsname(ModelNormal):

validations = {
('dnsname_name',): {
'max_length': 100,
'max_length': 255,
},
}

Expand Down
Loading

0 comments on commit b9e4ace

Please sign in to comment.