Skip to content

Commit

Permalink
Version 3.8.0rc1 release (#96)
Browse files Browse the repository at this point in the history
* Version 3.8.0rc1-v2.1-20.4.01 release

* Update .travis.yml

* Update README.md

Co-authored-by: DevCenter-DocuSign <[email protected]>
  • Loading branch information
harsharahul and DevCenter-DocuSign authored Jan 25, 2021
1 parent 7c0804b commit 4322b7f
Show file tree
Hide file tree
Showing 52 changed files with 9,891 additions and 6,589 deletions.
108 changes: 108 additions & 0 deletions docusign_esign/apis/accounts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2094,6 +2094,114 @@ def get_account_information_with_http_info(self, account_id, **kwargs):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)

def get_account_settings_export(self, organization_id, result_id, **kwargs):
"""
Retrieves an account settings comparison.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_account_settings_export(organization_id, result_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: (required)
:param str result_id: (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.get_account_settings_export_with_http_info(organization_id, result_id, **kwargs)
else:
(data) = self.get_account_settings_export_with_http_info(organization_id, result_id, **kwargs)
return data

def get_account_settings_export_with_http_info(self, organization_id, result_id, **kwargs):
"""
Retrieves an account settings comparison.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_account_settings_export_with_http_info(organization_id, result_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: (required)
:param str result_id: (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['organization_id', 'result_id']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')

params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_account_settings_export" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'organization_id' is set
if ('organization_id' not in params) or (params['organization_id'] is None):
raise ValueError("Missing the required parameter `organization_id` when calling `get_account_settings_export`")
# verify the required parameter 'result_id' is set
if ('result_id' not in params) or (params['result_id'] is None):
raise ValueError("Missing the required parameter `result_id` when calling `get_account_settings_export`")


collection_formats = {}

resource_path = '/v2.1/organization_exports/{organizationId}/account_settings/{resultId}'.replace('{format}', 'json')
path_params = {}
if 'organization_id' in params:
path_params['organizationId'] = params['organization_id']
if 'result_id' in params:
path_params['resultId'] = params['result_id']

query_params = {}

header_params = {}

form_params = []
local_var_files = {}

body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])

# Authentication setting
auth_settings = []

return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None,
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)

def get_account_signature(self, account_id, signature_id, **kwargs):
"""
Returns information about a single signature by specifed signatureId.
Expand Down
Loading

0 comments on commit 4322b7f

Please sign in to comment.