@@ -2094,6 +2094,114 @@ def get_account_information_with_http_info(self, account_id, **kwargs):
20942094 _request_timeout = params .get ('_request_timeout' ),
20952095 collection_formats = collection_formats )
20962096
2097+ def get_account_settings_export (self , organization_id , result_id , ** kwargs ):
2098+ """
2099+ Retrieves an account settings comparison.
2100+ This method makes a synchronous HTTP request by default. To make an
2101+ asynchronous HTTP request, please define a `callback` function
2102+ to be invoked when receiving the response.
2103+ >>> def callback_function(response):
2104+ >>> pprint(response)
2105+ >>>
2106+ >>> thread = api.get_account_settings_export(organization_id, result_id, callback=callback_function)
2107+
2108+ :param callback function: The callback function
2109+ for asynchronous request. (optional)
2110+ :param str organization_id: (required)
2111+ :param str result_id: (required)
2112+ :return: None
2113+ If the method is called asynchronously,
2114+ returns the request thread.
2115+ """
2116+ kwargs ['_return_http_data_only' ] = True
2117+ if kwargs .get ('callback' ):
2118+ return self .get_account_settings_export_with_http_info (organization_id , result_id , ** kwargs )
2119+ else :
2120+ (data ) = self .get_account_settings_export_with_http_info (organization_id , result_id , ** kwargs )
2121+ return data
2122+
2123+ def get_account_settings_export_with_http_info (self , organization_id , result_id , ** kwargs ):
2124+ """
2125+ Retrieves an account settings comparison.
2126+ This method makes a synchronous HTTP request by default. To make an
2127+ asynchronous HTTP request, please define a `callback` function
2128+ to be invoked when receiving the response.
2129+ >>> def callback_function(response):
2130+ >>> pprint(response)
2131+ >>>
2132+ >>> thread = api.get_account_settings_export_with_http_info(organization_id, result_id, callback=callback_function)
2133+
2134+ :param callback function: The callback function
2135+ for asynchronous request. (optional)
2136+ :param str organization_id: (required)
2137+ :param str result_id: (required)
2138+ :return: None
2139+ If the method is called asynchronously,
2140+ returns the request thread.
2141+ """
2142+
2143+ all_params = ['organization_id' , 'result_id' ]
2144+ all_params .append ('callback' )
2145+ all_params .append ('_return_http_data_only' )
2146+ all_params .append ('_preload_content' )
2147+ all_params .append ('_request_timeout' )
2148+
2149+ params = locals ()
2150+ for key , val in iteritems (params ['kwargs' ]):
2151+ if key not in all_params :
2152+ raise TypeError (
2153+ "Got an unexpected keyword argument '%s'"
2154+ " to method get_account_settings_export" % key
2155+ )
2156+ params [key ] = val
2157+ del params ['kwargs' ]
2158+ # verify the required parameter 'organization_id' is set
2159+ if ('organization_id' not in params ) or (params ['organization_id' ] is None ):
2160+ raise ValueError ("Missing the required parameter `organization_id` when calling `get_account_settings_export`" )
2161+ # verify the required parameter 'result_id' is set
2162+ if ('result_id' not in params ) or (params ['result_id' ] is None ):
2163+ raise ValueError ("Missing the required parameter `result_id` when calling `get_account_settings_export`" )
2164+
2165+
2166+ collection_formats = {}
2167+
2168+ resource_path = '/v2.1/organization_exports/{organizationId}/account_settings/{resultId}' .replace ('{format}' , 'json' )
2169+ path_params = {}
2170+ if 'organization_id' in params :
2171+ path_params ['organizationId' ] = params ['organization_id' ]
2172+ if 'result_id' in params :
2173+ path_params ['resultId' ] = params ['result_id' ]
2174+
2175+ query_params = {}
2176+
2177+ header_params = {}
2178+
2179+ form_params = []
2180+ local_var_files = {}
2181+
2182+ body_params = None
2183+ # HTTP header `Accept`
2184+ header_params ['Accept' ] = self .api_client .\
2185+ select_header_accept (['application/json' ])
2186+
2187+ # Authentication setting
2188+ auth_settings = []
2189+
2190+ return self .api_client .call_api (resource_path , 'GET' ,
2191+ path_params ,
2192+ query_params ,
2193+ header_params ,
2194+ body = body_params ,
2195+ post_params = form_params ,
2196+ files = local_var_files ,
2197+ response_type = None ,
2198+ auth_settings = auth_settings ,
2199+ callback = params .get ('callback' ),
2200+ _return_http_data_only = params .get ('_return_http_data_only' ),
2201+ _preload_content = params .get ('_preload_content' , True ),
2202+ _request_timeout = params .get ('_request_timeout' ),
2203+ collection_formats = collection_formats )
2204+
20972205 def get_account_signature (self , account_id , signature_id , ** kwargs ):
20982206 """
20992207 Returns information about a single signature by specifed signatureId.
0 commit comments