Class: Zm::Client::SearchFolder
- Inherits:
-
Base::Object
- Object
- Base::Object
- Zm::Client::SearchFolder
- Includes:
- MailboxItemConcern, RequestMethodsMailbox
- Defined in:
- lib/zm/client/search_folder/search_folder.rb
Overview
class account SearchFolder
Instance Attribute Summary collapse
-
#absFolderPath ⇒ Object
Returns the value of attribute absFolderPath.
-
#activesyncdisabled ⇒ Object
Returns the value of attribute activesyncdisabled.
-
#color ⇒ Object
Returns the value of attribute color.
-
#deletable ⇒ Object
Returns the value of attribute deletable.
-
#luuid ⇒ Object
Returns the value of attribute luuid.
-
#ms ⇒ Object
Returns the value of attribute ms.
-
#name ⇒ Object
Returns the value of attribute name.
-
#query ⇒ Object
Returns the value of attribute query.
-
#rev ⇒ Object
Returns the value of attribute rev.
-
#rgb ⇒ Object
Returns the value of attribute rgb.
-
#sortBy ⇒ Object
Returns the value of attribute sortBy.
-
#types ⇒ Object
Returns the value of attribute types.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
-
#webOfflineSyncDays ⇒ Object
Returns the value of attribute webOfflineSyncDays.
Attributes included from MailboxItemConcern
Attributes inherited from Base::Object
Instance Method Summary collapse
- #build_color ⇒ Object
- #color! ⇒ Object
- #create! ⇒ Object
-
#initialize(parent) ⇒ SearchFolder
constructor
A new instance of SearchFolder.
- #update!(*args) ⇒ Object
Methods included from MailboxItemConcern
Methods included from RequestMethodsMailbox
#build_create, #build_delete, #build_modify, #build_rename, #delete!, #modify!, #rename!
Methods inherited from Base::Object
#clone, #inspect, #instance_variables_map, #logger, #recorded?, #save!, #to_h, #to_s, #update_attribute
Constructor Details
#initialize(parent) ⇒ SearchFolder
Returns a new instance of SearchFolder.
14 15 16 17 18 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 14 def initialize(parent) @l = FolderDefault::ROOT.id @types = 'messages' super end |
Instance Attribute Details
#absFolderPath ⇒ Object
Returns the value of attribute absFolderPath.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def absFolderPath @absFolderPath end |
#activesyncdisabled ⇒ Object
Returns the value of attribute activesyncdisabled.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def activesyncdisabled @activesyncdisabled end |
#color ⇒ Object
Returns the value of attribute color.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def color @color end |
#deletable ⇒ Object
Returns the value of attribute deletable.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def deletable @deletable end |
#luuid ⇒ Object
Returns the value of attribute luuid.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def luuid @luuid end |
#ms ⇒ Object
Returns the value of attribute ms.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def ms @ms end |
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def name @name end |
#query ⇒ Object
Returns the value of attribute query.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def query @query end |
#rev ⇒ Object
Returns the value of attribute rev.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def rev @rev end |
#rgb ⇒ Object
Returns the value of attribute rgb.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def rgb @rgb end |
#sortBy ⇒ Object
Returns the value of attribute sortBy.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def sortBy @sortBy end |
#types ⇒ Object
Returns the value of attribute types.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def types @types end |
#uuid ⇒ Object
Returns the value of attribute uuid.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def uuid @uuid end |
#webOfflineSyncDays ⇒ Object
Returns the value of attribute webOfflineSyncDays.
10 11 12 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 10 def webOfflineSyncDays @webOfflineSyncDays end |
Instance Method Details
#build_color ⇒ Object
36 37 38 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 36 def build_color jsns_builder.to_color end |
#color! ⇒ Object
31 32 33 34 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 31 def color! @parent.soap_connector.invoke(build_color) true end |
#create! ⇒ Object
20 21 22 23 24 25 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 20 def create! rep = @parent.soap_connector.invoke(build_create) json = rep[:CreateSearchFolderResponse][:search].first SearchFolderJsnsInitializer.update(self, json) @id end |
#update!(*args) ⇒ Object
27 28 29 |
# File 'lib/zm/client/search_folder/search_folder.rb', line 27 def update!(*args) raise NotImplementedError end |