Class: Zm::Client::MountPoint

Inherits:
Base::Object show all
Includes:
BelongsToFolder, MailboxItemConcern, RequestMethodsMailbox
Defined in:
lib/zm/client/mountpoint/mountpoint.rb

Overview

class for account mountpoint

Instance Attribute Summary collapse

Attributes included from MailboxItemConcern

#l

Attributes inherited from Base::Object

#id, #parent, #token

Instance Method Summary collapse

Methods included from MailboxItemConcern

#id, #id=, #mailbox_id

Methods included from RequestMethodsMailbox

#build_create, #build_delete, #build_rename, #delete!, #rename!

Methods included from BelongsToFolder

#folder, #folder!, #folder=, #move!, #trash!

Methods inherited from Base::Object

#clone, #inspect, #instance_variables_map, #logger, #recorded?, #save!, #to_h, #to_s, #update_attribute

Constructor Details

#initialize(parent) ⇒ MountPoint

Returns a new instance of MountPoint.



14
15
16
17
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 14

def initialize(parent)
  @l = FolderDefault::ROOT.id
  super
end

Instance Attribute Details

#absFolderPathObject

Returns the value of attribute absFolderPath.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def absFolderPath
  @absFolderPath
end

#activesyncdisabledObject

Returns the value of attribute activesyncdisabled.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def activesyncdisabled
  @activesyncdisabled
end

#brokenObject

Returns the value of attribute broken.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def broken
  @broken
end

#colorObject

Returns the value of attribute color.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def color
  @color
end

#deletableObject

Returns the value of attribute deletable.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def deletable
  @deletable
end

#fObject

Returns the value of attribute f.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def f
  @f
end

#luuidObject

Returns the value of attribute luuid.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def luuid
  @luuid
end

#msObject

Returns the value of attribute ms.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def ms
  @ms
end

#nameObject

Returns the value of attribute name.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def name
  @name
end

#ownerObject

Returns the value of attribute owner.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def owner
  @owner
end

#reminderObject

Returns the value of attribute reminder.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def reminder
  @reminder
end

#revObject

Returns the value of attribute rev.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def rev
  @rev
end

#rgbObject

Returns the value of attribute rgb.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def rgb
  @rgb
end

#ridObject

Returns the value of attribute rid.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def rid
  @rid
end

#ruuidObject

Returns the value of attribute ruuid.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def ruuid
  @ruuid
end

#urlObject

Returns the value of attribute url.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def url
  @url
end

#uuidObject

Returns the value of attribute uuid.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def uuid
  @uuid
end

#viewObject

Returns the value of attribute view.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def view
  @view
end

#webOfflineSyncDaysObject

Returns the value of attribute webOfflineSyncDays.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def webOfflineSyncDays
  @webOfflineSyncDays
end

#zidObject

Returns the value of attribute zid.



11
12
13
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 11

def zid
  @zid
end

Instance Method Details

#build_colorObject



44
45
46
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 44

def build_color
  jsns_builder.to_color
end

#build_modifyObject

Raises:

  • (NotImplementedError)


31
32
33
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 31

def build_modify
  raise NotImplementedError
end

#color!Object



39
40
41
42
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 39

def color!
  @parent.soap_connector.invoke(build_color)
  true
end

#create!Object



19
20
21
22
23
24
25
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 19

def create!
  rep = @parent.soap_connector.invoke(build_create)
  json = rep[:CreateMountpointResponse][:link].first

  MountpointJsnsInitializer.update(self, json)
  id
end

#modify!Object

Raises:

  • (NotImplementedError)


27
28
29
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 27

def modify!
  raise NotImplementedError
end

#reload!Object

Raises:

  • (NotImplementedError)


48
49
50
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 48

def reload!
  raise NotImplementedError
end

#update!(*args) ⇒ Object

Raises:

  • (NotImplementedError)


35
36
37
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 35

def update!(*args)
  raise NotImplementedError
end