Class: AsposeWordsCloud::ClassifyDocumentRequest

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

Overview

Request model for classify_document operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(document_name, folder = nil, storage = nil, load_encoding = nil, password = nil, best_classes_count = nil, taxonomy = nil) ⇒ ClassifyDocumentRequest

Initializes a new instance.

Parameters:

  • document_name

    The document name.

  • folder (defaults to: nil)

    Original document folder.

  • storage (defaults to: nil)

    Original document storage.

  • load_encoding (defaults to: nil)

    Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.

  • password (defaults to: nil)

    Password for opening an encrypted document.

  • best_classes_count (defaults to: nil)

    Count of the best classes to return.

  • taxonomy (defaults to: nil)

    Taxonomy to use for classification return.



59
60
61
62
63
64
65
66
67
# File 'lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb', line 59

def initialize(document_name, folder = nil, storage = nil, load_encoding = nil, password = nil, best_classes_count = nil, taxonomy = nil)
   self.document_name = document_name
   self.folder = folder
   self.storage = storage
   self.load_encoding = load_encoding
   self.password = password
   self.best_classes_count = best_classes_count
   self.taxonomy = taxonomy
end

Instance Attribute Details

#best_classes_countObject

Count of the best classes to return.



46
47
48
# File 'lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb', line 46

def best_classes_count
  @best_classes_count
end

#document_nameObject

The document name.



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

def document_name
  @document_name
end

#folderObject

Original document folder.



38
39
40
# File 'lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb', line 38

def folder
  @folder
end

#load_encodingObject

Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.



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

def load_encoding
  @load_encoding
end

#passwordObject

Password for opening an encrypted document.



44
45
46
# File 'lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb', line 44

def password
  @password
end

#storageObject

Original document storage.



40
41
42
# File 'lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb', line 40

def storage
  @storage
end

#taxonomyObject

Taxonomy to use for classification return.



48
49
50
# File 'lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb', line 48

def taxonomy
  @taxonomy
end