Class: AsposeWordsCloud::BuildReportOnlineRequest

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

Overview

Request model for build_report_online operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(template, data, report_engine_settings, document_file_name = nil) ⇒ BuildReportOnlineRequest

Initializes a new instance.

Parameters:

  • template

    File with template.

  • data

    A string providing a data to populate the specified template. The string must be of one of the following types: xml, json, csv.

  • report_engine_settings

    An object providing a settings of report engine.

  • 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.



51
52
53
54
55
56
# File 'lib/aspose_words_cloud/models/requests/build_report_online_request.rb', line 51

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

Instance Attribute Details

#dataObject

A string providing a data to populate the specified template. The string must be of one of the following types: xml, json, csv.



36
37
38
# File 'lib/aspose_words_cloud/models/requests/build_report_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.



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

def document_file_name
  @document_file_name
end

#report_engine_settingsObject

An object providing a settings of report engine.



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

def report_engine_settings
  @report_engine_settings
end

#templateObject

File with template.



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

def template
  @template
end