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)

    The flag indicating whether to execute Mail Merge operation with regions.

  • cleanup (defaults to: nil)

    The cleanup options.

  • document_file_name (defaults to: nil)

    The filename of the output document, that will be used when the resulting document has a dynamic field filename. If it is not set, the “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

The cleanup 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

The filename of the output document, that will be used when the resulting document has a dynamic field filename. If it is not set, the “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

The flag indicating whether to execute Mail Merge operation with regions.



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

def with_regions
  @with_regions
end