Class: AsposeWordsCloud::ExecuteMailMergeOnlineRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb

Overview

Request model for execute_mail_merge_online operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(template, data, with_regions = nil, cleanup = nil, document_file_name = nil) ⇒ ExecuteMailMergeOnlineRequest

Initializes a new instance.

Parameters:

  • template

    File with template.

  • data

    File with mailmerge data.

  • with_regions (defaults to: nil)

    With regions flag.

  • cleanup (defaults to: nil)

    Clean up options.

  • document_file_name (defaults to: nil)

    This file name will be used when resulting document has dynamic field for document file name filename. If it is not set, “template” will be used instead.



55
56
57
58
59
60
61
# File 'lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb', line 55

def initialize(template, data, with_regions = nil, cleanup = nil, document_file_name = nil)
  self.template = template
  self.data = data
  self.with_regions = with_regions
  self.cleanup = cleanup
  self.document_file_name = document_file_name
end

Instance Attribute Details

#cleanupObject

Clean up options.



42
43
44
# File 'lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb', line 42

def cleanup
  @cleanup
end

#dataObject

File with mailmerge data.



36
37
38
# File 'lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb', line 36

def data
  @data
end

#document_file_nameObject

This file name will be used when resulting document has dynamic field for document file name filename. If it is not set, “template” will be used instead.



45
46
47
# File 'lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb', line 45

def document_file_name
  @document_file_name
end

#templateObject

File with template.



33
34
35
# File 'lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb', line 33

def template
  @template
end

#with_regionsObject

With regions flag.



39
40
41
# File 'lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb', line 39

def with_regions
  @with_regions
end