4242 */
4343public class GetDocumentFieldNamesOnlineRequest implements RequestIfc {
4444 /*
45- * The document.
45+ * The template document.
4646 */
47- private byte [] document ;
47+ private byte [] template ;
4848
4949 /*
5050 * Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
@@ -64,30 +64,30 @@ public class GetDocumentFieldNamesOnlineRequest implements RequestIfc {
6464 /*
6565 * Initializes a new instance of the GetDocumentFieldNamesOnlineRequest class.
6666 *
67- * @param byte[] document The document.
67+ * @param byte[] template The template document.
6868 * @param String loadEncoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
6969 * @param String password Password for opening an encrypted document.
7070 * @param Boolean useNonMergeFields The flag indicating whether to use non merge fields. If true, result includes "mustache" field names.
7171 */
72- public GetDocumentFieldNamesOnlineRequest (byte [] document , String loadEncoding , String password , Boolean useNonMergeFields ) {
73- this .document = document ;
72+ public GetDocumentFieldNamesOnlineRequest (byte [] template , String loadEncoding , String password , Boolean useNonMergeFields ) {
73+ this .template = template ;
7474 this .loadEncoding = loadEncoding ;
7575 this .password = password ;
7676 this .useNonMergeFields = useNonMergeFields ;
7777 }
7878
7979 /*
80- * Gets The document.
80+ * Gets The template document.
8181 */
82- public byte [] getDocument () {
83- return this .document ;
82+ public byte [] getTemplate () {
83+ return this .template ;
8484 }
8585
8686 /*
87- * Sets The document.
87+ * Sets The template document.
8888 */
89- public void setDocument (byte [] value ) {
90- this .document = value ;
89+ public void setTemplate (byte [] value ) {
90+ this .template = value ;
9191 }
9292
9393 /*
@@ -141,9 +141,9 @@ public void setUseNonMergeFields(Boolean value) {
141141 * @throws IOException If fail to serialize the request body object
142142 */
143143 public Request buildHttpRequest (ApiClient apiClient , final ProgressResponseBody .ProgressListener progressListener , final ProgressRequestBody .ProgressRequestListener progressRequestListener , Boolean addAuthHeaders ) throws ApiException , IOException {
144- // verify the required parameter 'Document ' is set
145- if (getDocument () == null ) {
146- throw new ApiException (apiClient .getBadRequestCode (), "Missing the required parameter 'Document ' when calling getDocumentFieldNamesOnline" );
144+ // verify the required parameter 'Template ' is set
145+ if (getTemplate () == null ) {
146+ throw new ApiException (apiClient .getBadRequestCode (), "Missing the required parameter 'Template ' when calling getDocumentFieldNamesOnline" );
147147 }
148148
149149 Object localVarPostBody = null ;
@@ -161,8 +161,8 @@ public Request buildHttpRequest(ApiClient apiClient, final ProgressResponseBody.
161161 Map <String , String > localVarHeaderParams = new HashMap <String , String >();
162162
163163 Map <String , Object > localVarFormParams = new LinkedHashMap <String , Object >();
164- if (getDocument () != null )
165- localVarFormParams .put ("Document " , getDocument ());
164+ if (getTemplate () != null )
165+ localVarFormParams .put ("Template " , getTemplate ());
166166
167167 final String [] localVarAccepts = {
168168 "application/xml" , "application/json"
0 commit comments