Class: Zm::Client::Document
- Inherits:
-
Base::Object
- Object
- Base::Object
- Zm::Client::Document
- Includes:
- BelongsToFolder, BelongsToTag, RequestMethodsMailbox
- Defined in:
- lib/zm/client/document/document.rb
Overview
class for account document
Instance Attribute Summary collapse
-
#acl ⇒ Object
Returns the value of attribute acl.
-
#cd ⇒ Object
Returns the value of attribute cd.
-
#cr ⇒ Object
Returns the value of attribute cr.
-
#ct ⇒ Object
Returns the value of attribute ct.
-
#d ⇒ Object
Returns the value of attribute d.
-
#descEnabled ⇒ Object
Returns the value of attribute descEnabled.
-
#f ⇒ Object
Returns the value of attribute f.
-
#id ⇒ Object
Returns the value of attribute id.
-
#l ⇒ Object
Returns the value of attribute l.
-
#leb ⇒ Object
Returns the value of attribute leb.
-
#loid ⇒ Object
Returns the value of attribute loid.
-
#luuid ⇒ Object
Returns the value of attribute luuid.
-
#md ⇒ Object
Returns the value of attribute md.
-
#mdver ⇒ Object
Returns the value of attribute mdver.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#ms ⇒ Object
Returns the value of attribute ms.
-
#name ⇒ Object
Returns the value of attribute name.
-
#rev ⇒ Object
Returns the value of attribute rev.
-
#s ⇒ Object
Returns the value of attribute s.
-
#sf ⇒ Object
Returns the value of attribute sf.
-
#t ⇒ Object
Returns the value of attribute t.
-
#tn ⇒ Object
Returns the value of attribute tn.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
-
#ver ⇒ Object
Returns the value of attribute ver.
Attributes inherited from Base::Object
Instance Method Summary collapse
- #build_create ⇒ Object
- #build_modify ⇒ Object
- #build_rename(*args) ⇒ Object
- #create! ⇒ Object
- #download(dest_file_path) ⇒ Object
- #modify! ⇒ Object
- #reload! ⇒ Object
- #rename!(*args) ⇒ Object
- #update!(*args) ⇒ Object
Methods included from RequestMethodsMailbox
Methods included from BelongsToTag
Methods included from BelongsToFolder
#folder, #folder!, #folder=, #move!, #trash!
Methods inherited from Base::Object
#clone, #initialize, #inspect, #instance_variables_map, #logger, #recorded?, #save!, #to_h, #to_s, #update_attribute
Constructor Details
This class inherits a constructor from Zm::Client::Base::Object
Instance Attribute Details
#acl ⇒ Object
Returns the value of attribute acl.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def acl @acl end |
#cd ⇒ Object
Returns the value of attribute cd.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def cd @cd end |
#cr ⇒ Object
Returns the value of attribute cr.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def cr @cr end |
#ct ⇒ Object
Returns the value of attribute ct.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def ct @ct end |
#d ⇒ Object
Returns the value of attribute d.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def d @d end |
#descEnabled ⇒ Object
Returns the value of attribute descEnabled.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def descEnabled @descEnabled end |
#f ⇒ Object
Returns the value of attribute f.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def f @f end |
#id ⇒ Object
Returns the value of attribute id.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def id @id end |
#l ⇒ Object
Returns the value of attribute l.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def l @l end |
#leb ⇒ Object
Returns the value of attribute leb.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def leb @leb end |
#loid ⇒ Object
Returns the value of attribute loid.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def loid @loid end |
#luuid ⇒ Object
Returns the value of attribute luuid.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def luuid @luuid end |
#md ⇒ Object
Returns the value of attribute md.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def md @md end |
#mdver ⇒ Object
Returns the value of attribute mdver.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def mdver @mdver end |
#meta ⇒ Object
Returns the value of attribute meta.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def end |
#ms ⇒ Object
Returns the value of attribute ms.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def ms @ms end |
#name ⇒ Object
Returns the value of attribute name.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def name @name end |
#rev ⇒ Object
Returns the value of attribute rev.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def rev @rev end |
#s ⇒ Object
Returns the value of attribute s.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def s @s end |
#sf ⇒ Object
Returns the value of attribute sf.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def sf @sf end |
#t ⇒ Object
Returns the value of attribute t.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def t @t end |
#tn ⇒ Object
Returns the value of attribute tn.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def tn @tn end |
#uuid ⇒ Object
Returns the value of attribute uuid.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def uuid @uuid end |
#ver ⇒ Object
Returns the value of attribute ver.
11 12 13 |
# File 'lib/zm/client/document/document.rb', line 11 def ver @ver end |
Instance Method Details
#build_create ⇒ Object
18 19 20 |
# File 'lib/zm/client/document/document.rb', line 18 def build_create raise NotImplementedError end |
#build_modify ⇒ Object
26 27 28 |
# File 'lib/zm/client/document/document.rb', line 26 def build_modify raise NotImplementedError end |
#build_rename(*args) ⇒ Object
38 39 40 |
# File 'lib/zm/client/document/document.rb', line 38 def build_rename(*args) raise NotImplementedError end |
#create! ⇒ Object
14 15 16 |
# File 'lib/zm/client/document/document.rb', line 14 def create! raise NotImplementedError end |
#download(dest_file_path) ⇒ Object
46 47 48 49 |
# File 'lib/zm/client/document/document.rb', line 46 def download(dest_file_path) uploader = @parent.build_uploader uploader.download_file(dest_file_path, id, nil) end |
#modify! ⇒ Object
22 23 24 |
# File 'lib/zm/client/document/document.rb', line 22 def modify! raise NotImplementedError end |
#reload! ⇒ Object
42 43 44 |
# File 'lib/zm/client/document/document.rb', line 42 def reload! raise NotImplementedError end |
#rename!(*args) ⇒ Object
34 35 36 |
# File 'lib/zm/client/document/document.rb', line 34 def rename!(*args) raise NotImplementedError end |
#update!(*args) ⇒ Object
30 31 32 |
# File 'lib/zm/client/document/document.rb', line 30 def update!(*args) raise NotImplementedError end |