diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 3a550037..45ec14ad 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -881,6 +881,7 @@ docs/ObjectUserApi.md docs/ObjectUsergroupApi.md docs/ObjectUsergroupdelegationApi.md docs/ObjectUsergroupmembershipApi.md +docs/ObjectUserlogintypeApi.md docs/ObjectUserstagedApi.md docs/ObjectVariableexpenseApi.md docs/ObjectVersionhistoryApi.md @@ -1076,6 +1077,9 @@ docs/UsergroupmembershipRequest.md docs/UsergroupmembershipRequestCompound.md docs/UsergroupmembershipResponse.md docs/UsergroupmembershipResponseCompound.md +docs/UserlogintypeAutocompleteElementResponse.md +docs/UserlogintypeGetAutocompleteV2Response.md +docs/UserlogintypeGetAutocompleteV2ResponseMPayload.md docs/UserstagedCreateUserV1Response.md docs/UserstagedCreateUserV1ResponseMPayload.md docs/UserstagedDeleteObjectV1Response.md @@ -1209,6 +1213,7 @@ eZmaxApi/api/object_user_api.py eZmaxApi/api/object_usergroup_api.py eZmaxApi/api/object_usergroupdelegation_api.py eZmaxApi/api/object_usergroupmembership_api.py +eZmaxApi/api/object_userlogintype_api.py eZmaxApi/api/object_userstaged_api.py eZmaxApi/api/object_variableexpense_api.py eZmaxApi/api/object_versionhistory_api.py @@ -2221,6 +2226,9 @@ eZmaxApi/models/usergroupmembership_request.py eZmaxApi/models/usergroupmembership_request_compound.py eZmaxApi/models/usergroupmembership_response.py eZmaxApi/models/usergroupmembership_response_compound.py +eZmaxApi/models/userlogintype_autocomplete_element_response.py +eZmaxApi/models/userlogintype_get_autocomplete_v2_response.py +eZmaxApi/models/userlogintype_get_autocomplete_v2_response_m_payload.py eZmaxApi/models/userstaged_create_user_v1_response.py eZmaxApi/models/userstaged_create_user_v1_response_m_payload.py eZmaxApi/models/userstaged_delete_object_v1_response.py @@ -3173,6 +3181,7 @@ test/test_object_user_api.py test/test_object_usergroup_api.py test/test_object_usergroupdelegation_api.py test/test_object_usergroupmembership_api.py +test/test_object_userlogintype_api.py test/test_object_userstaged_api.py test/test_object_variableexpense_api.py test/test_object_versionhistory_api.py @@ -3368,6 +3377,9 @@ test/test_usergroupmembership_request.py test/test_usergroupmembership_request_compound.py test/test_usergroupmembership_response.py test/test_usergroupmembership_response_compound.py +test/test_userlogintype_autocomplete_element_response.py +test/test_userlogintype_get_autocomplete_v2_response.py +test/test_userlogintype_get_autocomplete_v2_response_m_payload.py test/test_userstaged_create_user_v1_response.py test/test_userstaged_create_user_v1_response_m_payload.py test/test_userstaged_delete_object_v1_response.py diff --git a/README.md b/README.md index b9bba172..d6dc8fb6 100644 --- a/README.md +++ b/README.md @@ -354,6 +354,7 @@ Class | Method | HTTP request | Description *ObjectUsergroupmembershipApi* | [**usergroupmembership_delete_object_v1**](docs/ObjectUsergroupmembershipApi.md#usergroupmembership_delete_object_v1) | **DELETE** /1/object/usergroupmembership/{pkiUsergroupmembershipID} | Delete an existing Usergroupmembership *ObjectUsergroupmembershipApi* | [**usergroupmembership_edit_object_v1**](docs/ObjectUsergroupmembershipApi.md#usergroupmembership_edit_object_v1) | **PUT** /1/object/usergroupmembership/{pkiUsergroupmembershipID} | Edit an existing Usergroupmembership *ObjectUsergroupmembershipApi* | [**usergroupmembership_get_object_v2**](docs/ObjectUsergroupmembershipApi.md#usergroupmembership_get_object_v2) | **GET** /2/object/usergroupmembership/{pkiUsergroupmembershipID} | Retrieve an existing Usergroupmembership +*ObjectUserlogintypeApi* | [**userlogintype_get_autocomplete_v2**](docs/ObjectUserlogintypeApi.md#userlogintype_get_autocomplete_v2) | **GET** /2/object/userlogintype/getAutocomplete/{sSelector} | Retrieve Userlogintypes and IDs *ObjectUserstagedApi* | [**userstaged_create_user_v1**](docs/ObjectUserstagedApi.md#userstaged_create_user_v1) | **POST** /1/object/userstaged/{pkiUserstagedID}/createUser | Create a User from a Userstaged and then map it *ObjectUserstagedApi* | [**userstaged_delete_object_v1**](docs/ObjectUserstagedApi.md#userstaged_delete_object_v1) | **DELETE** /1/object/userstaged/{pkiUserstagedID} | Delete an existing Userstaged *ObjectUserstagedApi* | [**userstaged_get_list_v1**](docs/ObjectUserstagedApi.md#userstaged_get_list_v1) | **GET** /1/object/userstaged/getList | Retrieve Userstaged list @@ -1387,6 +1388,9 @@ Class | Method | HTTP request | Description - [UsergroupmembershipRequestCompound](docs/UsergroupmembershipRequestCompound.md) - [UsergroupmembershipResponse](docs/UsergroupmembershipResponse.md) - [UsergroupmembershipResponseCompound](docs/UsergroupmembershipResponseCompound.md) + - [UserlogintypeAutocompleteElementResponse](docs/UserlogintypeAutocompleteElementResponse.md) + - [UserlogintypeGetAutocompleteV2Response](docs/UserlogintypeGetAutocompleteV2Response.md) + - [UserlogintypeGetAutocompleteV2ResponseMPayload](docs/UserlogintypeGetAutocompleteV2ResponseMPayload.md) - [UserstagedCreateUserV1Response](docs/UserstagedCreateUserV1Response.md) - [UserstagedCreateUserV1ResponseMPayload](docs/UserstagedCreateUserV1ResponseMPayload.md) - [UserstagedDeleteObjectV1Response](docs/UserstagedDeleteObjectV1Response.md) diff --git a/docs/ObjectUserlogintypeApi.md b/docs/ObjectUserlogintypeApi.md new file mode 100644 index 00000000..e45e150a --- /dev/null +++ b/docs/ObjectUserlogintypeApi.md @@ -0,0 +1,94 @@ +# eZmaxApi.ObjectUserlogintypeApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**userlogintype_get_autocomplete_v2**](ObjectUserlogintypeApi.md#userlogintype_get_autocomplete_v2) | **GET** /2/object/userlogintype/getAutocomplete/{sSelector} | Retrieve Userlogintypes and IDs + + +# **userlogintype_get_autocomplete_v2** +> UserlogintypeGetAutocompleteV2Response userlogintype_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + +Retrieve Userlogintypes and IDs + +Get the list of Userlogintype to be used in a dropdown or autocomplete control. + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.models.userlogintype_get_autocomplete_v2_response import UserlogintypeGetAutocompleteV2Response +from eZmaxApi.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest +# See configuration.py for a list of all supported configuration parameters. +configuration = eZmaxApi.Configuration( + host = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: Authorization +configuration.api_key['Authorization'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# Enter a context with an instance of the API client +with eZmaxApi.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = eZmaxApi.ObjectUserlogintypeApi(api_client) + s_selector = 's_selector_example' # str | The type of Userlogintypes to return + e_filter_active = 'Active' # str | Specify which results we want to display. (optional) (default to 'Active') + s_query = 's_query_example' # str | Allow to filter the returned results (optional) + accept_language = eZmaxApi.HeaderAcceptLanguage() # HeaderAcceptLanguage | (optional) + + try: + # Retrieve Userlogintypes and IDs + api_response = api_instance.userlogintype_get_autocomplete_v2(s_selector, e_filter_active=e_filter_active, s_query=s_query, accept_language=accept_language) + print("The response of ObjectUserlogintypeApi->userlogintype_get_autocomplete_v2:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectUserlogintypeApi->userlogintype_get_autocomplete_v2: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **s_selector** | **str**| The type of Userlogintypes to return | + **e_filter_active** | **str**| Specify which results we want to display. | [optional] [default to 'Active'] + **s_query** | **str**| Allow to filter the returned results | [optional] + **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] + +### Return type + +[**UserlogintypeGetAutocompleteV2Response**](UserlogintypeGetAutocompleteV2Response.md) + +### Authorization + +[Authorization](../README.md#Authorization) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | - | + +[[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) + diff --git a/docs/UserlogintypeAutocompleteElementResponse.md b/docs/UserlogintypeAutocompleteElementResponse.md new file mode 100644 index 00000000..1fb8dbed --- /dev/null +++ b/docs/UserlogintypeAutocompleteElementResponse.md @@ -0,0 +1,31 @@ +# UserlogintypeAutocompleteElementResponse + +A Userlogintype AutocompleteElement Response + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| | +**s_userlogintype_description_x** | **str** | The description of the Userlogintype in the language of the requester | +**b_userlogintype_isactive** | **bool** | Whether the Userlogintype is active or not | + +## Example + +```python +from eZmaxApi.models.userlogintype_autocomplete_element_response import UserlogintypeAutocompleteElementResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of UserlogintypeAutocompleteElementResponse from a JSON string +userlogintype_autocomplete_element_response_instance = UserlogintypeAutocompleteElementResponse.from_json(json) +# print the JSON string representation of the object +print UserlogintypeAutocompleteElementResponse.to_json() + +# convert the object into a dict +userlogintype_autocomplete_element_response_dict = userlogintype_autocomplete_element_response_instance.to_dict() +# create an instance of UserlogintypeAutocompleteElementResponse from a dict +userlogintype_autocomplete_element_response_form_dict = userlogintype_autocomplete_element_response.from_dict(userlogintype_autocomplete_element_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) + + diff --git a/docs/UserlogintypeGetAutocompleteV2Response.md b/docs/UserlogintypeGetAutocompleteV2Response.md new file mode 100644 index 00000000..6ba7d770 --- /dev/null +++ b/docs/UserlogintypeGetAutocompleteV2Response.md @@ -0,0 +1,31 @@ +# UserlogintypeGetAutocompleteV2Response + +Response for GET /2/object/userlogintype/getAutocomplete + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**UserlogintypeGetAutocompleteV2ResponseMPayload**](UserlogintypeGetAutocompleteV2ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.userlogintype_get_autocomplete_v2_response import UserlogintypeGetAutocompleteV2Response + +# TODO update the JSON string below +json = "{}" +# create an instance of UserlogintypeGetAutocompleteV2Response from a JSON string +userlogintype_get_autocomplete_v2_response_instance = UserlogintypeGetAutocompleteV2Response.from_json(json) +# print the JSON string representation of the object +print UserlogintypeGetAutocompleteV2Response.to_json() + +# convert the object into a dict +userlogintype_get_autocomplete_v2_response_dict = userlogintype_get_autocomplete_v2_response_instance.to_dict() +# create an instance of UserlogintypeGetAutocompleteV2Response from a dict +userlogintype_get_autocomplete_v2_response_form_dict = userlogintype_get_autocomplete_v2_response.from_dict(userlogintype_get_autocomplete_v2_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) + + diff --git a/docs/UserlogintypeGetAutocompleteV2ResponseMPayload.md b/docs/UserlogintypeGetAutocompleteV2ResponseMPayload.md new file mode 100644 index 00000000..dd2e3e8f --- /dev/null +++ b/docs/UserlogintypeGetAutocompleteV2ResponseMPayload.md @@ -0,0 +1,29 @@ +# UserlogintypeGetAutocompleteV2ResponseMPayload + +Payload for POST /2/object/userlogintype/getAutocomplete + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_userlogintype** | [**List[UserlogintypeAutocompleteElementResponse]**](UserlogintypeAutocompleteElementResponse.md) | An array of Userlogintype autocomplete element response. | + +## Example + +```python +from eZmaxApi.models.userlogintype_get_autocomplete_v2_response_m_payload import UserlogintypeGetAutocompleteV2ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of UserlogintypeGetAutocompleteV2ResponseMPayload from a JSON string +userlogintype_get_autocomplete_v2_response_m_payload_instance = UserlogintypeGetAutocompleteV2ResponseMPayload.from_json(json) +# print the JSON string representation of the object +print UserlogintypeGetAutocompleteV2ResponseMPayload.to_json() + +# convert the object into a dict +userlogintype_get_autocomplete_v2_response_m_payload_dict = userlogintype_get_autocomplete_v2_response_m_payload_instance.to_dict() +# create an instance of UserlogintypeGetAutocompleteV2ResponseMPayload from a dict +userlogintype_get_autocomplete_v2_response_m_payload_form_dict = userlogintype_get_autocomplete_v2_response_m_payload.from_dict(userlogintype_get_autocomplete_v2_response_m_payload_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) + + diff --git a/eZmaxApi/__init__.py b/eZmaxApi/__init__.py index 7ac7122d..f9a54b22 100644 --- a/eZmaxApi/__init__.py +++ b/eZmaxApi/__init__.py @@ -83,6 +83,7 @@ from eZmaxApi.api.object_usergroup_api import ObjectUsergroupApi from eZmaxApi.api.object_usergroupdelegation_api import ObjectUsergroupdelegationApi from eZmaxApi.api.object_usergroupmembership_api import ObjectUsergroupmembershipApi +from eZmaxApi.api.object_userlogintype_api import ObjectUserlogintypeApi from eZmaxApi.api.object_userstaged_api import ObjectUserstagedApi from eZmaxApi.api.object_variableexpense_api import ObjectVariableexpenseApi from eZmaxApi.api.object_versionhistory_api import ObjectVersionhistoryApi @@ -1103,6 +1104,9 @@ from eZmaxApi.models.usergroupmembership_request_compound import UsergroupmembershipRequestCompound from eZmaxApi.models.usergroupmembership_response import UsergroupmembershipResponse from eZmaxApi.models.usergroupmembership_response_compound import UsergroupmembershipResponseCompound +from eZmaxApi.models.userlogintype_autocomplete_element_response import UserlogintypeAutocompleteElementResponse +from eZmaxApi.models.userlogintype_get_autocomplete_v2_response import UserlogintypeGetAutocompleteV2Response +from eZmaxApi.models.userlogintype_get_autocomplete_v2_response_m_payload import UserlogintypeGetAutocompleteV2ResponseMPayload from eZmaxApi.models.userstaged_create_user_v1_response import UserstagedCreateUserV1Response from eZmaxApi.models.userstaged_create_user_v1_response_m_payload import UserstagedCreateUserV1ResponseMPayload from eZmaxApi.models.userstaged_delete_object_v1_response import UserstagedDeleteObjectV1Response diff --git a/eZmaxApi/api/__init__.py b/eZmaxApi/api/__init__.py index 91b555c5..3488df6c 100644 --- a/eZmaxApi/api/__init__.py +++ b/eZmaxApi/api/__init__.py @@ -66,6 +66,7 @@ from eZmaxApi.api.object_usergroup_api import ObjectUsergroupApi from eZmaxApi.api.object_usergroupdelegation_api import ObjectUsergroupdelegationApi from eZmaxApi.api.object_usergroupmembership_api import ObjectUsergroupmembershipApi +from eZmaxApi.api.object_userlogintype_api import ObjectUserlogintypeApi from eZmaxApi.api.object_userstaged_api import ObjectUserstagedApi from eZmaxApi.api.object_variableexpense_api import ObjectVariableexpenseApi from eZmaxApi.api.object_versionhistory_api import ObjectVersionhistoryApi diff --git a/eZmaxApi/api/object_userlogintype_api.py b/eZmaxApi/api/object_userlogintype_api.py new file mode 100644 index 00000000..54de619a --- /dev/null +++ b/eZmaxApi/api/object_userlogintype_api.py @@ -0,0 +1,212 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import re # noqa: F401 +import io +import warnings + +from pydantic import validate_arguments, ValidationError + +from typing_extensions import Annotated +from pydantic import Field, StrictStr + +from typing import Optional + +from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage +from eZmaxApi.models.userlogintype_get_autocomplete_v2_response import UserlogintypeGetAutocompleteV2Response + +from eZmaxApi.api_client import ApiClient +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ObjectUserlogintypeApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + @validate_arguments + def userlogintype_get_autocomplete_v2(self, s_selector : Annotated[StrictStr, Field(..., description="The type of Userlogintypes to return")], e_filter_active : Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, s_query : Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, accept_language : Optional[HeaderAcceptLanguage] = None, **kwargs) -> UserlogintypeGetAutocompleteV2Response: # noqa: E501 + """Retrieve Userlogintypes and IDs # noqa: E501 + + Get the list of Userlogintype to be used in a dropdown or autocomplete control. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.userlogintype_get_autocomplete_v2(s_selector, e_filter_active, s_query, accept_language, async_req=True) + >>> result = thread.get() + + :param s_selector: The type of Userlogintypes to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: UserlogintypeGetAutocompleteV2Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the userlogintype_get_autocomplete_v2_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.userlogintype_get_autocomplete_v2_with_http_info(s_selector, e_filter_active, s_query, accept_language, **kwargs) # noqa: E501 + + @validate_arguments + def userlogintype_get_autocomplete_v2_with_http_info(self, s_selector : Annotated[StrictStr, Field(..., description="The type of Userlogintypes to return")], e_filter_active : Annotated[Optional[StrictStr], Field(description="Specify which results we want to display.")] = None, s_query : Annotated[Optional[StrictStr], Field(description="Allow to filter the returned results")] = None, accept_language : Optional[HeaderAcceptLanguage] = None, **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve Userlogintypes and IDs # noqa: E501 + + Get the list of Userlogintype to be used in a dropdown or autocomplete control. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.userlogintype_get_autocomplete_v2_with_http_info(s_selector, e_filter_active, s_query, accept_language, async_req=True) + >>> result = thread.get() + + :param s_selector: The type of Userlogintypes to return (required) + :type s_selector: str + :param e_filter_active: Specify which results we want to display. + :type e_filter_active: str + :param s_query: Allow to filter the returned results + :type s_query: str + :param accept_language: + :type accept_language: HeaderAcceptLanguage + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(UserlogintypeGetAutocompleteV2Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 's_selector', + 'e_filter_active', + 's_query', + 'accept_language' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method userlogintype_get_autocomplete_v2" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['s_selector']: + _path_params['sSelector'] = _params['s_selector'] + + + # process the query parameters + _query_params = [] + if _params.get('e_filter_active') is not None: # noqa: E501 + _query_params.append(('eFilterActive', _params['e_filter_active'])) + + if _params.get('s_query') is not None: # noqa: E501 + _query_params.append(('sQuery', _params['s_query'])) + + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + if _params['accept_language']: + _header_params['Accept-Language'] = _params['accept_language'] + + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "UserlogintypeGetAutocompleteV2Response", + } + + return self.api_client.call_api( + '/2/object/userlogintype/getAutocomplete/{sSelector}', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) diff --git a/eZmaxApi/models/__init__.py b/eZmaxApi/models/__init__.py index f2a6beb0..25b21f54 100644 --- a/eZmaxApi/models/__init__.py +++ b/eZmaxApi/models/__init__.py @@ -1015,6 +1015,9 @@ from eZmaxApi.models.usergroupmembership_request_compound import UsergroupmembershipRequestCompound from eZmaxApi.models.usergroupmembership_response import UsergroupmembershipResponse from eZmaxApi.models.usergroupmembership_response_compound import UsergroupmembershipResponseCompound +from eZmaxApi.models.userlogintype_autocomplete_element_response import UserlogintypeAutocompleteElementResponse +from eZmaxApi.models.userlogintype_get_autocomplete_v2_response import UserlogintypeGetAutocompleteV2Response +from eZmaxApi.models.userlogintype_get_autocomplete_v2_response_m_payload import UserlogintypeGetAutocompleteV2ResponseMPayload from eZmaxApi.models.userstaged_create_user_v1_response import UserstagedCreateUserV1Response from eZmaxApi.models.userstaged_create_user_v1_response_m_payload import UserstagedCreateUserV1ResponseMPayload from eZmaxApi.models.userstaged_delete_object_v1_response import UserstagedDeleteObjectV1Response diff --git a/eZmaxApi/models/field_e_ezsigndocumentlog_type.py b/eZmaxApi/models/field_e_ezsigndocumentlog_type.py index c070f8a7..3ce689b6 100644 --- a/eZmaxApi/models/field_e_ezsigndocumentlog_type.py +++ b/eZmaxApi/models/field_e_ezsigndocumentlog_type.py @@ -35,6 +35,8 @@ class FieldEEzsigndocumentlogType(str, Enum): SENDCODE = 'Sendcode' BADCODE = 'Badcode' GOODCODE = 'Goodcode' + BADRESPONSE = 'Badresponse' + GOODRESPONSE = 'Goodresponse' AUTHENTICATION = 'Authentication' CREATEPAGE = 'Createpage' DOWNLOAD = 'Download' @@ -54,6 +56,8 @@ class FieldEEzsigndocumentlogType(str, Enum): SIGNATUREATTACHMENTDELETED = 'SignatureAttachmentDeleted' DECLINEDTOSIGN = 'DeclinedToSign' DELAYEDSENDEMAIL = 'DelayedSendEmail' + ANNOTATIONADDED = 'AnnotationAdded' + FLATTEN = 'Flatten' REGENERATEPAGE = 'RegeneratePage' REGENERATEPAGEFORM = 'RegeneratePageForm' REASSIGN = 'Reassign' diff --git a/eZmaxApi/models/userlogintype_autocomplete_element_response.py b/eZmaxApi/models/userlogintype_autocomplete_element_response.py new file mode 100644 index 00000000..1db0fe95 --- /dev/null +++ b/eZmaxApi/models/userlogintype_autocomplete_element_response.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + + +from pydantic import BaseModel, Field, StrictBool, StrictStr, conint + +class UserlogintypeAutocompleteElementResponse(BaseModel): + """ + A Userlogintype AutocompleteElement Response # noqa: E501 + """ + pki_userlogintype_id: conint(strict=True, ge=0) = Field(..., alias="pkiUserlogintypeID", description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**|") + s_userlogintype_description_x: StrictStr = Field(..., alias="sUserlogintypeDescriptionX", description="The description of the Userlogintype in the language of the requester") + b_userlogintype_isactive: StrictBool = Field(..., alias="bUserlogintypeIsactive", description="Whether the Userlogintype is active or not") + __properties = ["pkiUserlogintypeID", "sUserlogintypeDescriptionX", "bUserlogintypeIsactive"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> UserlogintypeAutocompleteElementResponse: + """Create an instance of UserlogintypeAutocompleteElementResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> UserlogintypeAutocompleteElementResponse: + """Create an instance of UserlogintypeAutocompleteElementResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return UserlogintypeAutocompleteElementResponse.parse_obj(obj) + + _obj = UserlogintypeAutocompleteElementResponse.parse_obj({ + "pki_userlogintype_id": obj.get("pkiUserlogintypeID"), + "s_userlogintype_description_x": obj.get("sUserlogintypeDescriptionX"), + "b_userlogintype_isactive": obj.get("bUserlogintypeIsactive") + }) + return _obj + + diff --git a/eZmaxApi/models/userlogintype_get_autocomplete_v2_response.py b/eZmaxApi/models/userlogintype_get_autocomplete_v2_response.py new file mode 100644 index 00000000..20ec2720 --- /dev/null +++ b/eZmaxApi/models/userlogintype_get_autocomplete_v2_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.userlogintype_get_autocomplete_v2_response_m_payload import UserlogintypeGetAutocompleteV2ResponseMPayload + +class UserlogintypeGetAutocompleteV2Response(BaseModel): + """ + Response for GET /2/object/userlogintype/getAutocomplete # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayload = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + m_payload: UserlogintypeGetAutocompleteV2ResponseMPayload = Field(..., alias="mPayload") + __properties = ["objDebugPayload", "objDebug", "mPayload"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> UserlogintypeGetAutocompleteV2Response: + """Create an instance of UserlogintypeGetAutocompleteV2Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + # override the default output from pydantic by calling `to_dict()` of obj_debug_payload + if self.obj_debug_payload: + _dict['objDebugPayload'] = self.obj_debug_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_debug + if self.obj_debug: + _dict['objDebug'] = self.obj_debug.to_dict() + # override the default output from pydantic by calling `to_dict()` of m_payload + if self.m_payload: + _dict['mPayload'] = self.m_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> UserlogintypeGetAutocompleteV2Response: + """Create an instance of UserlogintypeGetAutocompleteV2Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return UserlogintypeGetAutocompleteV2Response.parse_obj(obj) + + _obj = UserlogintypeGetAutocompleteV2Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayload.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, + "m_payload": UserlogintypeGetAutocompleteV2ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/userlogintype_get_autocomplete_v2_response_m_payload.py b/eZmaxApi/models/userlogintype_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 00000000..8f5f816f --- /dev/null +++ b/eZmaxApi/models/userlogintype_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,80 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.userlogintype_autocomplete_element_response import UserlogintypeAutocompleteElementResponse + +class UserlogintypeGetAutocompleteV2ResponseMPayload(BaseModel): + """ + Payload for POST /2/object/userlogintype/getAutocomplete # noqa: E501 + """ + a_obj_userlogintype: conlist(UserlogintypeAutocompleteElementResponse) = Field(..., alias="a_objUserlogintype", description="An array of Userlogintype autocomplete element response.") + __properties = ["a_objUserlogintype"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> UserlogintypeGetAutocompleteV2ResponseMPayload: + """Create an instance of UserlogintypeGetAutocompleteV2ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_userlogintype (list) + _items = [] + if self.a_obj_userlogintype: + for _item in self.a_obj_userlogintype: + if _item: + _items.append(_item.to_dict()) + _dict['a_objUserlogintype'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> UserlogintypeGetAutocompleteV2ResponseMPayload: + """Create an instance of UserlogintypeGetAutocompleteV2ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return UserlogintypeGetAutocompleteV2ResponseMPayload.parse_obj(obj) + + _obj = UserlogintypeGetAutocompleteV2ResponseMPayload.parse_obj({ + "a_obj_userlogintype": [UserlogintypeAutocompleteElementResponse.from_dict(_item) for _item in obj.get("a_objUserlogintype")] if obj.get("a_objUserlogintype") is not None else None + }) + return _obj + + diff --git a/test/test_object_userlogintype_api.py b/test/test_object_userlogintype_api.py new file mode 100644 index 00000000..73974b19 --- /dev/null +++ b/test/test_object_userlogintype_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from eZmaxApi.api.object_userlogintype_api import ObjectUserlogintypeApi # noqa: E501 + + +class TestObjectUserlogintypeApi(unittest.TestCase): + """ObjectUserlogintypeApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectUserlogintypeApi() # noqa: E501 + + def tearDown(self) -> None: + pass + + def test_userlogintype_get_autocomplete_v2(self) -> None: + """Test case for userlogintype_get_autocomplete_v2 + + Retrieve Userlogintypes and IDs # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_userlogintype_autocomplete_element_response.py b/test/test_userlogintype_autocomplete_element_response.py new file mode 100644 index 00000000..d8d754c1 --- /dev/null +++ b/test/test_userlogintype_autocomplete_element_response.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.userlogintype_autocomplete_element_response import UserlogintypeAutocompleteElementResponse # noqa: E501 + +class TestUserlogintypeAutocompleteElementResponse(unittest.TestCase): + """UserlogintypeAutocompleteElementResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserlogintypeAutocompleteElementResponse: + """Test UserlogintypeAutocompleteElementResponse + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `UserlogintypeAutocompleteElementResponse` + """ + model = UserlogintypeAutocompleteElementResponse() # noqa: E501 + if include_optional: + return UserlogintypeAutocompleteElementResponse( + pki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + b_userlogintype_isactive = True + ) + else: + return UserlogintypeAutocompleteElementResponse( + pki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + b_userlogintype_isactive = True, + ) + """ + + def testUserlogintypeAutocompleteElementResponse(self): + """Test UserlogintypeAutocompleteElementResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_userlogintype_get_autocomplete_v2_response.py b/test/test_userlogintype_get_autocomplete_v2_response.py new file mode 100644 index 00000000..decf2d3d --- /dev/null +++ b/test/test_userlogintype_get_autocomplete_v2_response.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.userlogintype_get_autocomplete_v2_response import UserlogintypeGetAutocompleteV2Response # noqa: E501 + +class TestUserlogintypeGetAutocompleteV2Response(unittest.TestCase): + """UserlogintypeGetAutocompleteV2Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserlogintypeGetAutocompleteV2Response: + """Test UserlogintypeGetAutocompleteV2Response + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `UserlogintypeGetAutocompleteV2Response` + """ + model = UserlogintypeGetAutocompleteV2Response() # noqa: E501 + if include_optional: + return UserlogintypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.userlogintype_get_autocomplete_v2_response_m_payload.userlogintype-getAutocomplete-v2-Response-mPayload( + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_autocomplete_element_response.userlogintype-AutocompleteElement-Response( + pki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + b_userlogintype_isactive = True, ) + ], ) + ) + else: + return UserlogintypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, ), + m_payload = eZmaxApi.models.userlogintype_get_autocomplete_v2_response_m_payload.userlogintype-getAutocomplete-v2-Response-mPayload( + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_autocomplete_element_response.userlogintype-AutocompleteElement-Response( + pki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + b_userlogintype_isactive = True, ) + ], ), + ) + """ + + def testUserlogintypeGetAutocompleteV2Response(self): + """Test UserlogintypeGetAutocompleteV2Response""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_userlogintype_get_autocomplete_v2_response_m_payload.py b/test/test_userlogintype_get_autocomplete_v2_response_m_payload.py new file mode 100644 index 00000000..bf36426b --- /dev/null +++ b/test/test_userlogintype_get_autocomplete_v2_response_m_payload.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.userlogintype_get_autocomplete_v2_response_m_payload import UserlogintypeGetAutocompleteV2ResponseMPayload # noqa: E501 + +class TestUserlogintypeGetAutocompleteV2ResponseMPayload(unittest.TestCase): + """UserlogintypeGetAutocompleteV2ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserlogintypeGetAutocompleteV2ResponseMPayload: + """Test UserlogintypeGetAutocompleteV2ResponseMPayload + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `UserlogintypeGetAutocompleteV2ResponseMPayload` + """ + model = UserlogintypeGetAutocompleteV2ResponseMPayload() # noqa: E501 + if include_optional: + return UserlogintypeGetAutocompleteV2ResponseMPayload( + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_autocomplete_element_response.userlogintype-AutocompleteElement-Response( + pki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + b_userlogintype_isactive = True, ) + ] + ) + else: + return UserlogintypeGetAutocompleteV2ResponseMPayload( + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_autocomplete_element_response.userlogintype-AutocompleteElement-Response( + pki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + b_userlogintype_isactive = True, ) + ], + ) + """ + + def testUserlogintypeGetAutocompleteV2ResponseMPayload(self): + """Test UserlogintypeGetAutocompleteV2ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main()