Class: Zm::Client::MountPoint

Inherits:
Base::FolderObject show all
Includes:
Model::AttributeChangeObserver
Defined in:
lib/zm/client/mountpoint/mountpoint.rb

Overview

class for account mountpoint

Constant Summary collapse

INSTANCE_VARIABLE_KEYS =
i[
  owner rev reminder ms deletable l rid uuid url f broken
  luuid ruuid activesyncdisabled absFolderPath view zid name id
  webOfflineSyncDays color rgb
].freeze

Instance Attribute Summary collapse

Attributes inherited from Base::Object

#grantee_type, #name, #parent, #token

Instance Method Summary collapse

Methods included from Model::AttributeChangeObserver

included

Methods inherited from Base::FolderObject

#color!, #delete!, #initialize, #modify!, #move!, #rename!

Methods inherited from Base::AccountObject

#concat, #delete!, #init_from_json, #modify!, #rename!, #soap_account_connector, #to_h

Methods inherited from Base::Object

#arrow_name, #clone, #concat, #convert_json_string_value, #disable_builder, #enable_builder, #init_from_json, #initialize, #instance_variables_array, #instance_variables_hash, #logger, #recorded?, #save!, #to_s, #use_builder?

Constructor Details

This class inherits a constructor from Zm::Client::Base::FolderObject

Instance Attribute Details

#absFolderPathObject (readonly)

Returns the value of attribute absFolderPath.



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

def absFolderPath
  @absFolderPath
end

#activesyncdisabledObject (readonly)

Returns the value of attribute activesyncdisabled.



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

def activesyncdisabled
  @activesyncdisabled
end

#brokenObject (readonly)

Returns the value of attribute broken.



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

def broken
  @broken
end

#deletableObject (readonly)

Returns the value of attribute deletable.



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

def deletable
  @deletable
end

#fObject (readonly)

Returns the value of attribute f.



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

def f
  @f
end

#idObject (readonly)

Returns the value of attribute id.



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

def id
  @id
end

#luuidObject (readonly)

Returns the value of attribute luuid.



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

def luuid
  @luuid
end

#msObject (readonly)

Returns the value of attribute ms.



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

def ms
  @ms
end

#ownerObject (readonly)

Returns the value of attribute owner.



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

def owner
  @owner
end

#reminderObject (readonly)

Returns the value of attribute reminder.



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

def reminder
  @reminder
end

#revObject (readonly)

Returns the value of attribute rev.



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

def rev
  @rev
end

#ridObject

Returns the value of attribute rid.



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

def rid
  @rid
end

#ruuidObject (readonly)

Returns the value of attribute ruuid.



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

def ruuid
  @ruuid
end

#urlObject (readonly)

Returns the value of attribute url.



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

def url
  @url
end

#uuidObject (readonly)

Returns the value of attribute uuid.



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

def uuid
  @uuid
end

#view=(value) ⇒ Object (writeonly)

Sets the attribute view

Parameters:

  • value

    the value to set the attribute view to.



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

def view=(value)
  @view = value
end

#webOfflineSyncDaysObject (readonly)

Returns the value of attribute webOfflineSyncDays.



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

def webOfflineSyncDays
  @webOfflineSyncDays
end

#zidObject

Returns the value of attribute zid.



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

def zid
  @zid
end

Instance Method Details

#all_instance_variable_keysObject



20
21
22
# File 'lib/zm/client/mountpoint/mountpoint.rb', line 20

def all_instance_variable_keys
  INSTANCE_VARIABLE_KEYS
end

#create!Object



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

def create!
  rep = @parent.sacc.create_mountpoint(@parent.token, jsns_builder.to_jsns)
  json = rep[:Body][:CreateMountpointResponse][:link].first
  MountpointJsnsInitializer.update(self, json)
end

#fbObject



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

def fb
  nil
end

#update!(options) ⇒ Object



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

def update!(options)
  # todo
end