Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Huluti committed May 2, 2024
1 parent a0897f9 commit 7341795
Show file tree
Hide file tree
Showing 42 changed files with 167 additions and 148 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.3.0
7.5.0
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [1.2.0] - 2024-04-02

- Updated URLR API version to 0.4
- Updated to OpenAPI Generator 7.5.0

## [1.1.0] - 2024-02-13

- Add two new endpoints
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# urlr@1.1.0
# urlr@1.2.0

![PyPI - Version](https://img.shields.io/pypi/v/urlr) ![PyPI - Downloads](https://img.shields.io/pypi/dm/urlr) ![PyPI - License](https://img.shields.io/pypi/l/urlr)

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

- API version: 0.3
- Package version: 1.1.0
- Package version: 1.2.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

For more information, please visit [https://urlr.me/en](https://urlr.me/en)
Expand Down
4 changes: 2 additions & 2 deletions docs/Authentification200Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ json = "{}"
# create an instance of Authentification200Response from a JSON string
authentification200_response_instance = Authentification200Response.from_json(json)
# print the JSON string representation of the object
print Authentification200Response.to_json()
print(Authentification200Response.to_json())

# convert the object into a dict
authentification200_response_dict = authentification200_response_instance.to_dict()
# create an instance of Authentification200Response from a dict
authentification200_response_form_dict = authentification200_response.from_dict(authentification200_response_dict)
authentification200_response_from_dict = Authentification200Response.from_dict(authentification200_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/Authentification401Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ json = "{}"
# create an instance of Authentification401Response from a JSON string
authentification401_response_instance = Authentification401Response.from_json(json)
# print the JSON string representation of the object
print Authentification401Response.to_json()
print(Authentification401Response.to_json())

# convert the object into a dict
authentification401_response_dict = authentification401_response_instance.to_dict()
# create an instance of Authentification401Response from a dict
authentification401_response_form_dict = authentification401_response.from_dict(authentification401_response_dict)
authentification401_response_from_dict = Authentification401Response.from_dict(authentification401_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/AuthentificationRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ json = "{}"
# create an instance of AuthentificationRequest from a JSON string
authentification_request_instance = AuthentificationRequest.from_json(json)
# print the JSON string representation of the object
print AuthentificationRequest.to_json()
print(AuthentificationRequest.to_json())

# convert the object into a dict
authentification_request_dict = authentification_request_instance.to_dict()
# create an instance of AuthentificationRequest from a dict
authentification_request_form_dict = authentification_request.from_dict(authentification_request_dict)
authentification_request_from_dict = AuthentificationRequest.from_dict(authentification_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/Folder200Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ json = "{}"
# create an instance of Folder200Response from a JSON string
folder200_response_instance = Folder200Response.from_json(json)
# print the JSON string representation of the object
print Folder200Response.to_json()
print(Folder200Response.to_json())

# convert the object into a dict
folder200_response_dict = folder200_response_instance.to_dict()
# create an instance of Folder200Response from a dict
folder200_response_form_dict = folder200_response.from_dict(folder200_response_dict)
folder200_response_from_dict = Folder200Response.from_dict(folder200_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/Folder200ResponseFoldersInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ json = "{}"
# create an instance of Folder200ResponseFoldersInner from a JSON string
folder200_response_folders_inner_instance = Folder200ResponseFoldersInner.from_json(json)
# print the JSON string representation of the object
print Folder200ResponseFoldersInner.to_json()
print(Folder200ResponseFoldersInner.to_json())

# convert the object into a dict
folder200_response_folders_inner_dict = folder200_response_folders_inner_instance.to_dict()
# create an instance of Folder200ResponseFoldersInner from a dict
folder200_response_folders_inner_form_dict = folder200_response_folders_inner.from_dict(folder200_response_folders_inner_dict)
folder200_response_folders_inner_from_dict = Folder200ResponseFoldersInner.from_dict(folder200_response_folders_inner_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/FolderRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ json = "{}"
# create an instance of FolderRequest from a JSON string
folder_request_instance = FolderRequest.from_json(json)
# print the JSON string representation of the object
print FolderRequest.to_json()
print(FolderRequest.to_json())

# convert the object into a dict
folder_request_dict = folder_request_instance.to_dict()
# create an instance of FolderRequest from a dict
folder_request_form_dict = folder_request.from_dict(folder_request_dict)
folder_request_from_dict = FolderRequest.from_dict(folder_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/ReduceLink200Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ json = "{}"
# create an instance of ReduceLink200Response from a JSON string
reduce_link200_response_instance = ReduceLink200Response.from_json(json)
# print the JSON string representation of the object
print ReduceLink200Response.to_json()
print(ReduceLink200Response.to_json())

# convert the object into a dict
reduce_link200_response_dict = reduce_link200_response_instance.to_dict()
# create an instance of ReduceLink200Response from a dict
reduce_link200_response_form_dict = reduce_link200_response.from_dict(reduce_link200_response_dict)
reduce_link200_response_from_dict = ReduceLink200Response.from_dict(reduce_link200_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/ReduceLink400Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ json = "{}"
# create an instance of ReduceLink400Response from a JSON string
reduce_link400_response_instance = ReduceLink400Response.from_json(json)
# print the JSON string representation of the object
print ReduceLink400Response.to_json()
print(ReduceLink400Response.to_json())

# convert the object into a dict
reduce_link400_response_dict = reduce_link400_response_instance.to_dict()
# create an instance of ReduceLink400Response from a dict
reduce_link400_response_form_dict = reduce_link400_response.from_dict(reduce_link400_response_dict)
reduce_link400_response_from_dict = ReduceLink400Response.from_dict(reduce_link400_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/ReduceLinkRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ json = "{}"
# create an instance of ReduceLinkRequest from a JSON string
reduce_link_request_instance = ReduceLinkRequest.from_json(json)
# print the JSON string representation of the object
print ReduceLinkRequest.to_json()
print(ReduceLinkRequest.to_json())

# convert the object into a dict
reduce_link_request_dict = reduce_link_request_instance.to_dict()
# create an instance of ReduceLinkRequest from a dict
reduce_link_request_form_dict = reduce_link_request.from_dict(reduce_link_request_dict)
reduce_link_request_from_dict = ReduceLinkRequest.from_dict(reduce_link_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/Stats200Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ json = "{}"
# create an instance of Stats200Response from a JSON string
stats200_response_instance = Stats200Response.from_json(json)
# print the JSON string representation of the object
print Stats200Response.to_json()
print(Stats200Response.to_json())

# convert the object into a dict
stats200_response_dict = stats200_response_instance.to_dict()
# create an instance of Stats200Response from a dict
stats200_response_form_dict = stats200_response.from_dict(stats200_response_dict)
stats200_response_from_dict = Stats200Response.from_dict(stats200_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/Stats400Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ json = "{}"
# create an instance of Stats400Response from a JSON string
stats400_response_instance = Stats400Response.from_json(json)
# print the JSON string representation of the object
print Stats400Response.to_json()
print(Stats400Response.to_json())

# convert the object into a dict
stats400_response_dict = stats400_response_instance.to_dict()
# create an instance of Stats400Response from a dict
stats400_response_form_dict = stats400_response.from_dict(stats400_response_dict)
stats400_response_from_dict = Stats400Response.from_dict(stats400_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/StatsRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ json = "{}"
# create an instance of StatsRequest from a JSON string
stats_request_instance = StatsRequest.from_json(json)
# print the JSON string representation of the object
print StatsRequest.to_json()
print(StatsRequest.to_json())

# convert the object into a dict
stats_request_dict = stats_request_instance.to_dict()
# create an instance of StatsRequest from a dict
stats_request_form_dict = stats_request.from_dict(stats_request_dict)
stats_request_from_dict = StatsRequest.from_dict(stats_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/Team200Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ json = "{}"
# create an instance of Team200Response from a JSON string
team200_response_instance = Team200Response.from_json(json)
# print the JSON string representation of the object
print Team200Response.to_json()
print(Team200Response.to_json())

# convert the object into a dict
team200_response_dict = team200_response_instance.to_dict()
# create an instance of Team200Response from a dict
team200_response_form_dict = team200_response.from_dict(team200_response_dict)
team200_response_from_dict = Team200Response.from_dict(team200_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
4 changes: 2 additions & 2 deletions docs/Team200ResponseTeamsInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ json = "{}"
# create an instance of Team200ResponseTeamsInner from a JSON string
team200_response_teams_inner_instance = Team200ResponseTeamsInner.from_json(json)
# print the JSON string representation of the object
print Team200ResponseTeamsInner.to_json()
print(Team200ResponseTeamsInner.to_json())

# convert the object into a dict
team200_response_teams_inner_dict = team200_response_teams_inner_instance.to_dict()
# create an instance of Team200ResponseTeamsInner from a dict
team200_response_teams_inner_form_dict = team200_response_teams_inner.from_dict(team200_response_teams_inner_dict)
team200_response_teams_inner_from_dict = Team200ResponseTeamsInner.from_dict(team200_response_teams_inner_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "urlr"
version = "1.1.0"
version = "1.2.0"
description = "Python client for URLR"
authors = ["URLR <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "urlr"
VERSION = "1.1.0"
VERSION = "1.2.0"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3, < 2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion urlr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "1.1.0"
__version__ = "1.2.0"

# import apis into sdk package
from urlr.api.authentification_api import AuthentificationApi
Expand Down
2 changes: 1 addition & 1 deletion urlr/api/authentification_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def _authentification_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, str] = {}
_files: Dict[str, Union[str, bytes]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down
2 changes: 1 addition & 1 deletion urlr/api/folder_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def _folder_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, str] = {}
_files: Dict[str, Union[str, bytes]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down
2 changes: 1 addition & 1 deletion urlr/api/link_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def _reduce_link_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, str] = {}
_files: Dict[str, Union[str, bytes]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down
2 changes: 1 addition & 1 deletion urlr/api/stats_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def _stats_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, str] = {}
_files: Dict[str, Union[str, bytes]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down
2 changes: 1 addition & 1 deletion urlr/api/team_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def _team_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, str] = {}
_files: Dict[str, Union[str, bytes]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down
Loading

0 comments on commit 7341795

Please sign in to comment.