Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions onelogin/api/api_auth_claims_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import io
import warnings

from pydantic import validate_arguments, ValidationError
from pydantic import validate_call, ValidationError
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr
Expand Down Expand Up @@ -47,7 +47,7 @@ def __init__(self, api_client=None):
api_client = ApiClient.get_default()
self.api_client = api_client

@validate_arguments
@validate_call
def create_auth_claim(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, auth_claim : Optional[AuthClaim] = None, **kwargs) -> int: # noqa: E501
"""Create Api Auth Server Claim # noqa: E501

Expand Down Expand Up @@ -80,7 +80,7 @@ def create_auth_claim(self, api_auth_id : StrictStr, content_type : Optional[Str
raise ValueError("Error! Please call the create_auth_claim_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.create_auth_claim_with_http_info(api_auth_id, content_type, auth_claim, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def create_auth_claim_with_http_info(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, auth_claim : Optional[AuthClaim] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Create Api Auth Server Claim # noqa: E501

Expand Down Expand Up @@ -212,7 +212,7 @@ def create_auth_claim_with_http_info(self, api_auth_id : StrictStr, content_type
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def delete_auth_claim(self, api_auth_id : StrictStr, claim_id : StrictInt, content_type : Optional[StrictStr] = None, **kwargs) -> None: # noqa: E501
"""Delete Api Auth Server Claim # noqa: E501

Expand Down Expand Up @@ -245,7 +245,7 @@ def delete_auth_claim(self, api_auth_id : StrictStr, claim_id : StrictInt, conte
raise ValueError("Error! Please call the delete_auth_claim_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.delete_auth_claim_with_http_info(api_auth_id, claim_id, content_type, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def delete_auth_claim_with_http_info(self, api_auth_id : StrictStr, claim_id : StrictInt, content_type : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Delete Api Auth Server Claim # noqa: E501

Expand Down Expand Up @@ -365,7 +365,7 @@ def delete_auth_claim_with_http_info(self, api_auth_id : StrictStr, claim_id : S
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def get_authclaims(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, **kwargs) -> List[TokenClaim]: # noqa: E501
"""Get Api Auth Server claims # noqa: E501

Expand Down Expand Up @@ -396,7 +396,7 @@ def get_authclaims(self, api_auth_id : StrictStr, content_type : Optional[Strict
raise ValueError("Error! Please call the get_authclaims_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.get_authclaims_with_http_info(api_auth_id, content_type, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def get_authclaims_with_http_info(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Get Api Auth Server claims # noqa: E501

Expand Down Expand Up @@ -514,7 +514,7 @@ def get_authclaims_with_http_info(self, api_auth_id : StrictStr, content_type :
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def update_claim(self, api_auth_id : StrictStr, claim_id : StrictInt, content_type : Optional[StrictStr] = None, auth_claim : Optional[AuthClaim] = None, **kwargs) -> AuthId: # noqa: E501
"""Update Api Auth Server Claim # noqa: E501

Expand Down Expand Up @@ -549,7 +549,7 @@ def update_claim(self, api_auth_id : StrictStr, claim_id : StrictInt, content_ty
raise ValueError("Error! Please call the update_claim_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.update_claim_with_http_info(api_auth_id, claim_id, content_type, auth_claim, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def update_claim_with_http_info(self, api_auth_id : StrictStr, claim_id : StrictInt, content_type : Optional[StrictStr] = None, auth_claim : Optional[AuthClaim] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Update Api Auth Server Claim # noqa: E501

Expand Down
18 changes: 9 additions & 9 deletions onelogin/api/api_auth_client_apps_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import io
import warnings

from pydantic import validate_arguments, ValidationError
from pydantic import validate_call, ValidationError
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr
Expand Down Expand Up @@ -48,7 +48,7 @@ def __init__(self, api_client=None):
api_client = ApiClient.get_default()
self.api_client = api_client

@validate_arguments
@validate_call
def add_client_app(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, add_client_app_request : Optional[AddClientAppRequest] = None, **kwargs) -> AddClientApp201Response: # noqa: E501
"""Add Client App # noqa: E501

Expand Down Expand Up @@ -81,7 +81,7 @@ def add_client_app(self, api_auth_id : StrictStr, content_type : Optional[Strict
raise ValueError("Error! Please call the add_client_app_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.add_client_app_with_http_info(api_auth_id, content_type, add_client_app_request, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def add_client_app_with_http_info(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, add_client_app_request : Optional[AddClientAppRequest] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Add Client App # noqa: E501

Expand Down Expand Up @@ -213,7 +213,7 @@ def add_client_app_with_http_info(self, api_auth_id : StrictStr, content_type :
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def delete_client_app(self, api_auth_id : StrictStr, client_app_id : StrictInt, content_type : Optional[StrictStr] = None, **kwargs) -> AddClientApp201Response: # noqa: E501
"""Remove Client App # noqa: E501

Expand Down Expand Up @@ -246,7 +246,7 @@ def delete_client_app(self, api_auth_id : StrictStr, client_app_id : StrictInt,
raise ValueError("Error! Please call the delete_client_app_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.delete_client_app_with_http_info(api_auth_id, client_app_id, content_type, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def delete_client_app_with_http_info(self, api_auth_id : StrictStr, client_app_id : StrictInt, content_type : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Remove Client App # noqa: E501

Expand Down Expand Up @@ -371,7 +371,7 @@ def delete_client_app_with_http_info(self, api_auth_id : StrictStr, client_app_i
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def list_client_apps(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, **kwargs) -> ClientAppFull: # noqa: E501
"""List Clients Apps # noqa: E501

Expand Down Expand Up @@ -402,7 +402,7 @@ def list_client_apps(self, api_auth_id : StrictStr, content_type : Optional[Stri
raise ValueError("Error! Please call the list_client_apps_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.list_client_apps_with_http_info(api_auth_id, content_type, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def list_client_apps_with_http_info(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501
"""List Clients Apps # noqa: E501

Expand Down Expand Up @@ -520,7 +520,7 @@ def list_client_apps_with_http_info(self, api_auth_id : StrictStr, content_type
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def update_client_app(self, api_auth_id : StrictStr, client_app_id : StrictInt, content_type : Optional[StrictStr] = None, update_client_app_request : Optional[UpdateClientAppRequest] = None, **kwargs) -> AddClientApp201Response: # noqa: E501
"""Update Client App # noqa: E501

Expand Down Expand Up @@ -555,7 +555,7 @@ def update_client_app(self, api_auth_id : StrictStr, client_app_id : StrictInt,
raise ValueError("Error! Please call the update_client_app_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.update_client_app_with_http_info(api_auth_id, client_app_id, content_type, update_client_app_request, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def update_client_app_with_http_info(self, api_auth_id : StrictStr, client_app_id : StrictInt, content_type : Optional[StrictStr] = None, update_client_app_request : Optional[UpdateClientAppRequest] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Update Client App # noqa: E501

Expand Down
18 changes: 9 additions & 9 deletions onelogin/api/api_auth_scopes_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import io
import warnings

from pydantic import validate_arguments, ValidationError
from pydantic import validate_call, ValidationError
from typing_extensions import Annotated

from pydantic import StrictInt, StrictStr
Expand Down Expand Up @@ -46,7 +46,7 @@ def __init__(self, api_client=None):
api_client = ApiClient.get_default()
self.api_client = api_client

@validate_arguments
@validate_call
def create_scope(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, auth_scope : Optional[AuthScope] = None, **kwargs) -> AuthScope: # noqa: E501
"""Create Api Auth Server Scope # noqa: E501

Expand Down Expand Up @@ -79,7 +79,7 @@ def create_scope(self, api_auth_id : StrictStr, content_type : Optional[StrictSt
raise ValueError("Error! Please call the create_scope_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.create_scope_with_http_info(api_auth_id, content_type, auth_scope, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def create_scope_with_http_info(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, auth_scope : Optional[AuthScope] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Create Api Auth Server Scope # noqa: E501

Expand Down Expand Up @@ -211,7 +211,7 @@ def create_scope_with_http_info(self, api_auth_id : StrictStr, content_type : Op
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def delete_scope(self, api_auth_id : StrictStr, scope_id : StrictInt, content_type : Optional[StrictStr] = None, **kwargs) -> None: # noqa: E501
"""Delete Api Auth Server Scope # noqa: E501

Expand Down Expand Up @@ -244,7 +244,7 @@ def delete_scope(self, api_auth_id : StrictStr, scope_id : StrictInt, content_ty
raise ValueError("Error! Please call the delete_scope_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.delete_scope_with_http_info(api_auth_id, scope_id, content_type, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def delete_scope_with_http_info(self, api_auth_id : StrictStr, scope_id : StrictInt, content_type : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Delete Api Auth Server Scope # noqa: E501

Expand Down Expand Up @@ -364,7 +364,7 @@ def delete_scope_with_http_info(self, api_auth_id : StrictStr, scope_id : Strict
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def get_scopes(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, **kwargs) -> List[AuthScope]: # noqa: E501
"""Get Api Auth Server Scopes # noqa: E501

Expand Down Expand Up @@ -395,7 +395,7 @@ def get_scopes(self, api_auth_id : StrictStr, content_type : Optional[StrictStr]
raise ValueError("Error! Please call the get_scopes_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.get_scopes_with_http_info(api_auth_id, content_type, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def get_scopes_with_http_info(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Get Api Auth Server Scopes # noqa: E501

Expand Down Expand Up @@ -512,7 +512,7 @@ def get_scopes_with_http_info(self, api_auth_id : StrictStr, content_type : Opti
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def update_scope(self, api_auth_id : StrictStr, scope_id : StrictInt, content_type : Optional[StrictStr] = None, auth_scope : Optional[AuthScope] = None, **kwargs) -> AuthId: # noqa: E501
"""Update Api Auth Server Scope # noqa: E501

Expand Down Expand Up @@ -547,7 +547,7 @@ def update_scope(self, api_auth_id : StrictStr, scope_id : StrictInt, content_ty
raise ValueError("Error! Please call the update_scope_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.update_scope_with_http_info(api_auth_id, scope_id, content_type, auth_scope, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def update_scope_with_http_info(self, api_auth_id : StrictStr, scope_id : StrictInt, content_type : Optional[StrictStr] = None, auth_scope : Optional[AuthScope] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Update Api Auth Server Scope # noqa: E501

Expand Down
22 changes: 11 additions & 11 deletions onelogin/api/api_authorization_server_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import io
import warnings

from pydantic import validate_arguments, ValidationError
from pydantic import validate_call, ValidationError
from typing_extensions import Annotated

from pydantic import StrictStr
Expand Down Expand Up @@ -45,7 +45,7 @@ def __init__(self, api_client=None):
api_client = ApiClient.get_default()
self.api_client = api_client

@validate_arguments
@validate_call
def create_auth_server(self, content_type : Optional[StrictStr] = None, auth_server : Optional[AuthServer] = None, **kwargs) -> AuthServer: # noqa: E501
"""Create Api Auth Server # noqa: E501

Expand Down Expand Up @@ -76,7 +76,7 @@ def create_auth_server(self, content_type : Optional[StrictStr] = None, auth_ser
raise ValueError("Error! Please call the create_auth_server_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.create_auth_server_with_http_info(content_type, auth_server, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def create_auth_server_with_http_info(self, content_type : Optional[StrictStr] = None, auth_server : Optional[AuthServer] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Create Api Auth Server # noqa: E501

Expand Down Expand Up @@ -201,7 +201,7 @@ def create_auth_server_with_http_info(self, content_type : Optional[StrictStr] =
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def delete_auth_server(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, **kwargs) -> None: # noqa: E501
"""Delete Api Auth Server # noqa: E501

Expand Down Expand Up @@ -232,7 +232,7 @@ def delete_auth_server(self, api_auth_id : StrictStr, content_type : Optional[St
raise ValueError("Error! Please call the delete_auth_server_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.delete_auth_server_with_http_info(api_auth_id, content_type, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def delete_auth_server_with_http_info(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Delete Api Auth Server # noqa: E501

Expand Down Expand Up @@ -346,7 +346,7 @@ def delete_auth_server_with_http_info(self, api_auth_id : StrictStr, content_typ
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def get_auth_server(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, **kwargs) -> AuthServer: # noqa: E501
"""Get Api Auth Server # noqa: E501

Expand Down Expand Up @@ -377,7 +377,7 @@ def get_auth_server(self, api_auth_id : StrictStr, content_type : Optional[Stric
raise ValueError("Error! Please call the get_auth_server_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.get_auth_server_with_http_info(api_auth_id, content_type, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def get_auth_server_with_http_info(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Get Api Auth Server # noqa: E501

Expand Down Expand Up @@ -494,7 +494,7 @@ def get_auth_server_with_http_info(self, api_auth_id : StrictStr, content_type :
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def list_auth_servers(self, **kwargs) -> List[AuthServer]: # noqa: E501
"""List Api Auth Servers # noqa: E501

Expand All @@ -521,7 +521,7 @@ def list_auth_servers(self, **kwargs) -> List[AuthServer]: # noqa: E501
raise ValueError("Error! Please call the list_auth_servers_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.list_auth_servers_with_http_info(**kwargs) # noqa: E501

@validate_arguments
@validate_call
def list_auth_servers_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501
"""List Api Auth Servers # noqa: E501

Expand Down Expand Up @@ -626,7 +626,7 @@ def list_auth_servers_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E5
collection_formats=_collection_formats,
_request_auth=_params.get('_request_auth'))

@validate_arguments
@validate_call
def update_auth_server(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, auth_server : Optional[AuthServer] = None, **kwargs) -> AuthServer: # noqa: E501
"""Update Api Auth Server # noqa: E501

Expand Down Expand Up @@ -659,7 +659,7 @@ def update_auth_server(self, api_auth_id : StrictStr, content_type : Optional[St
raise ValueError("Error! Please call the update_auth_server_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
return self.update_auth_server_with_http_info(api_auth_id, content_type, auth_server, **kwargs) # noqa: E501

@validate_arguments
@validate_call
def update_auth_server_with_http_info(self, api_auth_id : StrictStr, content_type : Optional[StrictStr] = None, auth_server : Optional[AuthServer] = None, **kwargs) -> ApiResponse: # noqa: E501
"""Update Api Auth Server # noqa: E501

Expand Down
Loading