@@ -36,8 +36,8 @@ import '../api_request_part.dart';
3636
3737/// Request model for GetDocumentFieldNamesOnline operation.
3838class GetDocumentFieldNamesOnlineRequest implements RequestBase {
39- /// The document.
40- final ByteData document ;
39+ /// The template document.
40+ final ByteData template ;
4141
4242 /// Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
4343 final String loadEncoding;
@@ -48,7 +48,7 @@ class GetDocumentFieldNamesOnlineRequest implements RequestBase {
4848 /// The flag indicating whether to use non merge fields. If true, result includes "mustache" field names.
4949 final bool useNonMergeFields;
5050
51- GetDocumentFieldNamesOnlineRequest (final this .document , {final this .loadEncoding, final this .password, final this .useNonMergeFields});
51+ GetDocumentFieldNamesOnlineRequest (final this .template , {final this .loadEncoding, final this .password, final this .useNonMergeFields});
5252
5353 @override
5454 ApiRequestData createRequestData (final ApiClient _apiClient) {
@@ -68,11 +68,11 @@ class GetDocumentFieldNamesOnlineRequest implements RequestBase {
6868 _queryParams['useNonMergeFields' ] = _apiClient.serializeToString (useNonMergeFields);
6969 }
7070
71- if (document != null ) {
72- _bodyParts.add (ApiRequestPart (_apiClient.serializeBody (document ), 'application/octet-stream' , name: 'Document ' ));
71+ if (template != null ) {
72+ _bodyParts.add (ApiRequestPart (_apiClient.serializeBody (template ), 'application/octet-stream' , name: 'Template ' ));
7373 }
7474 else {
75- throw ApiException (400 , 'Parameter document is required.' );
75+ throw ApiException (400 , 'Parameter template is required.' );
7676 }
7777
7878 var _url = _apiClient.configuration.getApiRootUrl () + _apiClient.applyQueryParams (_path, _queryParams).replaceAll ('//' , '/' );
0 commit comments