Class: AsposeWordsCloud::ClassifyDocumentRequest
- Inherits:
-
Object
- Object
- AsposeWordsCloud::ClassifyDocumentRequest
- Defined in:
- lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb
Overview
Request model for classify_document operation.
Instance Attribute Summary collapse
-
#best_classes_count ⇒ Object
Count of the best classes to return.
-
#document_name ⇒ Object
The document name.
-
#folder ⇒ Object
Original document folder.
-
#load_encoding ⇒ Object
Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
-
#password ⇒ Object
Password for opening an encrypted document.
-
#storage ⇒ Object
Original document storage.
-
#taxonomy ⇒ Object
Taxonomy to use for classification return.
Instance Method Summary collapse
-
#initialize(document_name, folder = nil, storage = nil, load_encoding = nil, password = nil, best_classes_count = nil, taxonomy = nil) ⇒ ClassifyDocumentRequest
constructor
Initializes a new instance.
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.
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_count ⇒ Object
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_name ⇒ Object
The document name.
36 37 38 |
# File 'lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb', line 36 def document_name @document_name end |
#folder ⇒ Object
Original document folder.
38 39 40 |
# File 'lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb', line 38 def folder @folder end |
#load_encoding ⇒ Object
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 |
#password ⇒ Object
Password for opening an encrypted document.
44 45 46 |
# File 'lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb', line 44 def password @password end |
#storage ⇒ Object
Original document storage.
40 41 42 |
# File 'lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb', line 40 def storage @storage end |
#taxonomy ⇒ Object
Taxonomy to use for classification return.
48 49 50 |
# File 'lib/aspose_words_cloud/models/requests/ClassifyDocumentRequest.rb', line 48 def taxonomy @taxonomy end |