Class: Zm::Client::Task
- Inherits:
-
Base::Object
- Object
- Base::Object
- Zm::Client::Task
- Includes:
- BelongsToFolder, BelongsToTag
- Defined in:
- lib/zm/client/task/task.rb
Overview
class for account task
Instance Attribute Summary collapse
-
#alarm ⇒ Object
Returns the value of attribute alarm.
-
#allDay ⇒ Object
Returns the value of attribute allDay.
-
#class ⇒ Object
Returns the value of attribute class.
-
#cm ⇒ Object
Returns the value of attribute cm.
-
#compNum ⇒ Object
Returns the value of attribute compNum.
-
#d ⇒ Object
Returns the value of attribute d.
-
#f ⇒ Object
Returns the value of attribute f.
-
#id ⇒ Object
Returns the value of attribute id.
-
#invId ⇒ Object
Returns the value of attribute invId.
-
#isOrg ⇒ Object
Returns the value of attribute isOrg.
-
#l ⇒ Object
Returns the value of attribute l.
-
#loc ⇒ Object
Returns the value of attribute loc.
-
#md ⇒ Object
Returns the value of attribute md.
-
#ms ⇒ Object
Returns the value of attribute ms.
-
#name ⇒ Object
Returns the value of attribute name.
-
#percentComplete ⇒ Object
Returns the value of attribute percentComplete.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#ptst ⇒ Object
Returns the value of attribute ptst.
-
#rev ⇒ Object
Returns the value of attribute rev.
-
#s ⇒ Object
Returns the value of attribute s.
-
#sf ⇒ Object
Returns the value of attribute sf.
-
#status ⇒ Object
Returns the value of attribute status.
-
#t ⇒ Object
Returns the value of attribute t.
-
#tn ⇒ Object
Returns the value of attribute tn.
-
#uid ⇒ Object
Returns the value of attribute uid.
Attributes inherited from Base::Object
Instance Method Summary collapse
- #create! ⇒ Object
- #delete! ⇒ Object
- #download(dest_file_path, fmt = 'ics') ⇒ Object
- #modify! ⇒ Object
- #reload! ⇒ Object
- #rename!(*args) ⇒ Object
- #update!(*args) ⇒ Object
Methods included from BelongsToTag
Methods included from BelongsToFolder
#folder, #folder!, #folder=, #folder_id, #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
#alarm ⇒ Object
Returns the value of attribute alarm.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def alarm @alarm end |
#allDay ⇒ Object
Returns the value of attribute allDay.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def allDay @allDay end |
#class ⇒ Object
Returns the value of attribute class.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def class @class end |
#cm ⇒ Object
Returns the value of attribute cm.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def cm @cm end |
#compNum ⇒ Object
Returns the value of attribute compNum.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def compNum @compNum end |
#d ⇒ Object
Returns the value of attribute d.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def d @d end |
#f ⇒ Object
Returns the value of attribute f.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def f @f end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def id @id end |
#invId ⇒ Object
Returns the value of attribute invId.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def invId @invId end |
#isOrg ⇒ Object
Returns the value of attribute isOrg.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def isOrg @isOrg end |
#l ⇒ Object
Returns the value of attribute l.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def l @l end |
#loc ⇒ Object
Returns the value of attribute loc.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def loc @loc end |
#md ⇒ Object
Returns the value of attribute md.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def md @md end |
#ms ⇒ Object
Returns the value of attribute ms.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def ms @ms end |
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def name @name end |
#percentComplete ⇒ Object
Returns the value of attribute percentComplete.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def percentComplete @percentComplete end |
#priority ⇒ Object
Returns the value of attribute priority.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def priority @priority end |
#ptst ⇒ Object
Returns the value of attribute ptst.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def ptst @ptst end |
#rev ⇒ Object
Returns the value of attribute rev.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def rev @rev end |
#s ⇒ Object
Returns the value of attribute s.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def s @s end |
#sf ⇒ Object
Returns the value of attribute sf.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def sf @sf end |
#status ⇒ Object
Returns the value of attribute status.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def status @status end |
#t ⇒ Object
Returns the value of attribute t.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def t @t end |
#tn ⇒ Object
Returns the value of attribute tn.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def tn @tn end |
#uid ⇒ Object
Returns the value of attribute uid.
10 11 12 |
# File 'lib/zm/client/task/task.rb', line 10 def uid @uid end |
Instance Method Details
#create! ⇒ Object
18 19 20 |
# File 'lib/zm/client/task/task.rb', line 18 def create! raise NotImplementedError end |
#delete! ⇒ Object
38 39 40 |
# File 'lib/zm/client/task/task.rb', line 38 def delete! raise NotImplementedError end |
#download(dest_file_path, fmt = 'ics') ⇒ Object
13 14 15 16 |
# File 'lib/zm/client/task/task.rb', line 13 def download(dest_file_path, fmt = 'ics') uploader = Upload.new(@parent, RestAccountConnector.new) uploader.download_file(Zm::Client::FolderDefault::ROOT[:path], fmt, [Zm::Client::FolderView::TASK], [@id], dest_file_path) end |
#modify! ⇒ Object
22 23 24 |
# File 'lib/zm/client/task/task.rb', line 22 def modify! raise NotImplementedError end |
#reload! ⇒ Object
34 35 36 |
# File 'lib/zm/client/task/task.rb', line 34 def reload! raise NotImplementedError end |
#rename!(*args) ⇒ Object
30 31 32 |
# File 'lib/zm/client/task/task.rb', line 30 def rename!(*args) raise NotImplementedError end |
#update!(*args) ⇒ Object
26 27 28 |
# File 'lib/zm/client/task/task.rb', line 26 def update!(*args) raise NotImplementedError end |