text: """
      MDES Digital Enablement API
  
      These APIs are designed as RPC style stateless web services where each API endpoint represents an operation to be performed.  All request and response payloads are sent in the JSON (JavaScript Object Notation) data-interchange format. Each endpoint in the API specifies the HTTP Method used to access it. All strings in request and response objects are to be UTF-8 encoded.  Each API URI includes the major and minor version of API that it conforms to.  This will allow multiple concurrent versions of the API to be deployed simultaneously. <br><br> **Authentication** <br><br> Mastercard uses OAuth 1.0a with body hash extension for authenticating the API clients. This requires every request that you send to  Mastercard to be signed with an RSA private key. A private-public RSA key pair must be generated consisting of: <br><br> 1. A private key for the OAuth signature for API requests. It is recommended to keep the private key in a password-protected or hardware keystore. <br> 2. A public key is shared with Mastercard during the project setup process through either a certificate signing request (CSR) or the API Key Generator. Mastercard will use the public key to verify the OAuth signature that is provided on every API call.<br>  An OAUTH1.0a signer library is available on [GitHub](https://github.com/Mastercard/oauth1-signer-java) <br><br> **Encryption** <br><br> All communications between Issuer web service and the Mastercard gateway is encrypted using TLS. <br><br> **Additional Encryption of Sensitive Data** <br><br> In addition to the OAuth authentication, when using MDES Digital Enablement Service, any PCI sensitive and all account holder Personally Identifiable Information (PII) data must be encrypted. This requirement applies to the API fields containing encryptedData. Sensitive data is encrypted using a symmetric session (one-time-use) key. The symmetric session key is then wrapped with an RSA Public Key supplied by Mastercard during API setup phase (the Customer Encryption Key). <br>  Java Client Encryption Library available on [GitHub](https://github.com/Mastercard/client-encryption-java)   # noqa: E501
  
      The version of the OpenAPI document: 1.3.0
      Generated by: https://openapi-generator.tech
  """
  
  
  import re  # noqa: F401
  import sys  # noqa: F401
  
  from openapi_client.api_client import ApiClient, Endpoint as _Endpoint
  from openapi_client.model_utils import (  # noqa: F401
      check_allowed_values,
      check_validations,
      date,
      datetime,
      file_type,
      none_type,
      validate_and_convert_types
  )
  from openapi_client.model.errors_response import ErrorsResponse
  from openapi_client.model.gateway_errors_response import GatewayErrorsResponse
  from openapi_client.model.un_suspend_request_schema import UnSuspendRequestSchema
  from openapi_client.model.un_suspend_response_schema import UnSuspendResponseSchema
  
  
  class UnsuspendApi(object):
      """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):
          if api_client is None:
              api_client = ApiClient()
          self.api_client = api_client
  
          def __create_unsuspend(
              self,
              **kwargs
          ):
              """Used to unsuspend one or more previously suspended Tokens. The API is limited to 10 Tokens per request.  # noqa: E501
  
              This API is used to unsuspend one or more previously suspended Tokens. The API is limited to 10 Tokens per request. MDES will coordinate the unsuspension of the Tokens and notify any relevant parties that the Tokens have now been unsuspended.   # noqa: E501
              This method makes a synchronous HTTP request by default. To make an
              asynchronous HTTP request, please pass async_req=True
  
              >>> thread = api.create_unsuspend(async_req=True)
              >>> result = thread.get()
  
  
              Keyword Args:
                  un_suspend_request_schema (UnSuspendRequestSchema): Contains the details of the request message. . [optional]
                  _return_http_data_only (bool): response data without head status
                      code and headers. Default is True.
                  _preload_content (bool): if False, the urllib3.HTTPResponse object
                      will be returned without reading/decoding response data.
                      Default is True.
                  _request_timeout (int/float/tuple): 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.
                      Default is None.
                  _check_input_type (bool): specifies if type checking
                      should be done one the data sent to the server.
                      Default is True.
                  _check_return_type (bool): specifies if type checking
                      should be done one the data received from the server.
                      Default is True.
                  _host_index (int/None): specifies the index of the server
                      that we want to use.
                      Default is read from the configuration.
                  async_req (bool): execute request asynchronously
  
              Returns:
                  UnSuspendResponseSchema
                      If the method is called asynchronously, returns the request
                      thread.
              """
              kwargs['async_req'] = kwargs.get(
                  'async_req', False
              )
              kwargs['_return_http_data_only'] = kwargs.get(
                  '_return_http_data_only', True
              )
              kwargs['_preload_content'] = kwargs.get(
                  '_preload_content', True
              )
              kwargs['_request_timeout'] = kwargs.get(
                  '_request_timeout', None
              )
              kwargs['_check_input_type'] = kwargs.get(
                  '_check_input_type', True
              )
              kwargs['_check_return_type'] = kwargs.get(
                  '_check_return_type', True
              )
              kwargs['_host_index'] = kwargs.get('_host_index')
              return self.call_with_http_info(**kwargs)
  
          self.create_unsuspend = _Endpoint(
              settings={
                  'response_type': (UnSuspendResponseSchema,),
                  'auth': [],
                  'endpoint_path': '/digitization/static/1/0/unsuspend',
                  'operation_id': 'create_unsuspend',
                  'http_method': 'POST',
                  'servers': None,
              },
              params_map={
                  'all': [
                      'un_suspend_request_schema',
                  ],
                  'required': [],
                  'nullable': [
                  ],
                  'enum': [
                  ],
                  'validation': [
                  ]
              },
              root_map={
                  'validations': {
                  },
                  'allowed_values': {
                  },
                  'openapi_types': {
                      'un_suspend_request_schema':
                          (UnSuspendRequestSchema,),
                  },
                  'attribute_map': {
                  },
                  'location_map': {
                      'un_suspend_request_schema': 'body',
                  },
                  'collection_format_map': {
                  }
              },
              headers_map={
                  'accept': [
                      'application/json'
                  ],
                  'content_type': [
                      'application/json'
                  ]
              },
              api_client=api_client,
              callable=__create_unsuspend
          )
  