Class: WordsRubySdk::GetDocumentPropertiesRequest
- Inherits:
-
Object
- Object
- WordsRubySdk::GetDocumentPropertiesRequest
- Defined in:
- lib/words_ruby_sdk/models/requests/GetDocumentPropertiesRequest.rb
Overview
Request model for get_document_properties operation.
Instance Attribute Summary collapse
-
#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.
-
#name ⇒ Object
The document’s name.
-
#password ⇒ Object
Password for opening an encrypted document.
-
#storage ⇒ Object
File storage, which have to be used.
Instance Method Summary collapse
-
#initialize(name, folder = nil, storage = nil, load_encoding = nil, password = nil) ⇒ GetDocumentPropertiesRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(name, folder = nil, storage = nil, load_encoding = nil, password = nil) ⇒ GetDocumentPropertiesRequest
Initializes a new instance.
53 54 55 56 57 58 59 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentPropertiesRequest.rb', line 53 def initialize(name, folder = nil, storage = nil, load_encoding = nil, password = nil) self.name = name self.folder = folder self.storage = storage self.load_encoding = load_encoding self.password = password end |
Instance Attribute Details
#folder ⇒ Object
Original document folder.
38 39 40 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentPropertiesRequest.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/words_ruby_sdk/models/requests/GetDocumentPropertiesRequest.rb', line 42 def load_encoding @load_encoding end |
#name ⇒ Object
The document’s name.
36 37 38 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentPropertiesRequest.rb', line 36 def name @name end |
#password ⇒ Object
Password for opening an encrypted document.
44 45 46 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentPropertiesRequest.rb', line 44 def password @password end |
#storage ⇒ Object
File storage, which have to be used.
40 41 42 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentPropertiesRequest.rb', line 40 def storage @storage end |