Class: Zm::Client::DataSource
- Inherits:
-
Base::Object
- Object
- Base::Object
- Zm::Client::DataSource
- Includes:
- RequestMethodsMailbox
- Defined in:
- lib/zm/client/datasource/datasource.rb
Overview
class account data source
Constant Summary collapse
- TYPES =
i[cal caldav yab gal imap pop3 rss unknown].freeze
Instance Attribute Summary collapse
-
#a ⇒ Object
Returns the value of attribute a.
-
#cconnectionType ⇒ Object
Returns the value of attribute cconnectionType.
-
#cdefaultSignature ⇒ Object
Returns the value of attribute cdefaultSignature.
-
#cemailAddress ⇒ Object
Returns the value of attribute cemailAddress.
-
#cfailingSince ⇒ Object
Returns the value of attribute cfailingSince.
-
#cforwardReplySignature ⇒ Object
Returns the value of attribute cforwardReplySignature.
-
#cfromDisplay ⇒ Object
Returns the value of attribute cfromDisplay.
-
#chost ⇒ Object
Returns the value of attribute chost.
-
#cid ⇒ Object
Returns the value of attribute cid.
-
#cimportClass ⇒ Object
Returns the value of attribute cimportClass.
-
#cimportOnly ⇒ Object
Returns the value of attribute cimportOnly.
-
#cisEnabled ⇒ Object
Returns the value of attribute cisEnabled.
-
#cl ⇒ Object
Returns the value of attribute cl.
-
#clientId ⇒ Object
Returns the value of attribute clientId.
-
#clientSecret ⇒ Object
Returns the value of attribute clientSecret.
-
#cname ⇒ Object
Returns the value of attribute cname.
-
#connectionType ⇒ Object
Returns the value of attribute connectionType.
-
#cpassword ⇒ Object
Returns the value of attribute cpassword.
-
#cpollingInterval ⇒ Object
Returns the value of attribute cpollingInterval.
-
#cport ⇒ Object
Returns the value of attribute cport.
-
#crefreshToken ⇒ Object
Returns the value of attribute crefreshToken.
-
#crefreshTokenUrl ⇒ Object
Returns the value of attribute crefreshTokenUrl.
-
#creplyToAddress ⇒ Object
Returns the value of attribute creplyToAddress.
-
#creplyToDisplay ⇒ Object
Returns the value of attribute creplyToDisplay.
-
#csmtpAuthRequired ⇒ Object
Returns the value of attribute csmtpAuthRequired.
-
#csmtpConnectionType ⇒ Object
Returns the value of attribute csmtpConnectionType.
-
#csmtpEnabled ⇒ Object
Returns the value of attribute csmtpEnabled.
-
#csmtpHost ⇒ Object
Returns the value of attribute csmtpHost.
-
#csmtpPassword ⇒ Object
Returns the value of attribute csmtpPassword.
-
#csmtpPort ⇒ Object
Returns the value of attribute csmtpPort.
-
#csmtpUsername ⇒ Object
Returns the value of attribute csmtpUsername.
-
#cuseAddressForForwardReply ⇒ Object
Returns the value of attribute cuseAddressForForwardReply.
-
#cusername ⇒ Object
Returns the value of attribute cusername.
-
#defaultSignature ⇒ Object
Returns the value of attribute defaultSignature.
-
#emailAddress ⇒ Object
Returns the value of attribute emailAddress.
-
#failingSince ⇒ Object
Returns the value of attribute failingSince.
-
#forwardReplySignature ⇒ Object
Returns the value of attribute forwardReplySignature.
-
#fromDisplay ⇒ Object
Returns the value of attribute fromDisplay.
-
#host ⇒ Object
Returns the value of attribute host.
-
#id ⇒ Object
Returns the value of attribute id.
-
#importClass ⇒ Object
Returns the value of attribute importClass.
-
#importOnly ⇒ Object
Returns the value of attribute importOnly.
-
#isEnabled ⇒ Object
Returns the value of attribute isEnabled.
-
#l ⇒ Object
Returns the value of attribute l.
-
#lastError ⇒ Object
Returns the value of attribute lastError.
-
#leaveOnServer ⇒ Object
Returns the value of attribute leaveOnServer.
-
#name ⇒ Object
Returns the value of attribute name.
-
#oauthToken ⇒ Object
Returns the value of attribute oauthToken.
-
#password ⇒ Object
Returns the value of attribute password.
-
#pollingInterval ⇒ Object
Returns the value of attribute pollingInterval.
-
#port ⇒ Object
Returns the value of attribute port.
-
#refreshToken ⇒ Object
Returns the value of attribute refreshToken.
-
#refreshTokenUrl ⇒ Object
Returns the value of attribute refreshTokenUrl.
-
#replyToAddress ⇒ Object
Returns the value of attribute replyToAddress.
-
#replyToDisplay ⇒ Object
Returns the value of attribute replyToDisplay.
-
#smtpAuthRequired ⇒ Object
Returns the value of attribute smtpAuthRequired.
-
#smtpConnectionType ⇒ Object
Returns the value of attribute smtpConnectionType.
-
#smtpEnabled ⇒ Object
Returns the value of attribute smtpEnabled.
-
#smtpHost ⇒ Object
Returns the value of attribute smtpHost.
-
#smtpPassword ⇒ Object
Returns the value of attribute smtpPassword.
-
#smtpPort ⇒ Object
Returns the value of attribute smtpPort.
-
#smtpUsername ⇒ Object
Returns the value of attribute smtpUsername.
-
#test ⇒ Object
Returns the value of attribute test.
-
#type ⇒ Object
Returns the value of attribute type.
-
#useAddressForForwardReply ⇒ Object
Returns the value of attribute useAddressForForwardReply.
-
#username ⇒ Object
Returns the value of attribute username.
Attributes inherited from Base::Object
Instance Method Summary collapse
- #build_create ⇒ Object
- #build_modify ⇒ Object
- #build_rename(*args) ⇒ Object
- #create! ⇒ Object
-
#initialize(parent, data_source_type) ⇒ DataSource
constructor
A new instance of DataSource.
- #modify! ⇒ Object
- #rename!(*args) ⇒ Object
Methods included from RequestMethodsMailbox
#build_delete, #delete!, #update!
Methods inherited from Base::Object
#clone, #inspect, #instance_variables_map, #logger, #recorded?, #save!, #to_h, #to_s, #update_attribute
Constructor Details
#initialize(parent, data_source_type) ⇒ DataSource
Returns a new instance of DataSource.
24 25 26 27 |
# File 'lib/zm/client/datasource/datasource.rb', line 24 def initialize(parent, data_source_type) @type = data_source_type super(parent) end |
Instance Attribute Details
#a ⇒ Object
Returns the value of attribute a.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def a @a end |
#cconnectionType ⇒ Object
Returns the value of attribute cconnectionType.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cconnectionType @cconnectionType end |
#cdefaultSignature ⇒ Object
Returns the value of attribute cdefaultSignature.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cdefaultSignature @cdefaultSignature end |
#cemailAddress ⇒ Object
Returns the value of attribute cemailAddress.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cemailAddress @cemailAddress end |
#cfailingSince ⇒ Object
Returns the value of attribute cfailingSince.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cfailingSince @cfailingSince end |
#cforwardReplySignature ⇒ Object
Returns the value of attribute cforwardReplySignature.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cforwardReplySignature @cforwardReplySignature end |
#cfromDisplay ⇒ Object
Returns the value of attribute cfromDisplay.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cfromDisplay @cfromDisplay end |
#chost ⇒ Object
Returns the value of attribute chost.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def chost @chost end |
#cid ⇒ Object
Returns the value of attribute cid.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cid @cid end |
#cimportClass ⇒ Object
Returns the value of attribute cimportClass.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cimportClass @cimportClass end |
#cimportOnly ⇒ Object
Returns the value of attribute cimportOnly.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cimportOnly @cimportOnly end |
#cisEnabled ⇒ Object
Returns the value of attribute cisEnabled.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cisEnabled @cisEnabled end |
#cl ⇒ Object
Returns the value of attribute cl.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cl @cl end |
#clientId ⇒ Object
Returns the value of attribute clientId.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def clientId @clientId end |
#clientSecret ⇒ Object
Returns the value of attribute clientSecret.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def clientSecret @clientSecret end |
#cname ⇒ Object
Returns the value of attribute cname.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cname @cname end |
#connectionType ⇒ Object
Returns the value of attribute connectionType.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def connectionType @connectionType end |
#cpassword ⇒ Object
Returns the value of attribute cpassword.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cpassword @cpassword end |
#cpollingInterval ⇒ Object
Returns the value of attribute cpollingInterval.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cpollingInterval @cpollingInterval end |
#cport ⇒ Object
Returns the value of attribute cport.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cport @cport end |
#crefreshToken ⇒ Object
Returns the value of attribute crefreshToken.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def crefreshToken @crefreshToken end |
#crefreshTokenUrl ⇒ Object
Returns the value of attribute crefreshTokenUrl.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def crefreshTokenUrl @crefreshTokenUrl end |
#creplyToAddress ⇒ Object
Returns the value of attribute creplyToAddress.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def creplyToAddress @creplyToAddress end |
#creplyToDisplay ⇒ Object
Returns the value of attribute creplyToDisplay.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def creplyToDisplay @creplyToDisplay end |
#csmtpAuthRequired ⇒ Object
Returns the value of attribute csmtpAuthRequired.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def csmtpAuthRequired @csmtpAuthRequired end |
#csmtpConnectionType ⇒ Object
Returns the value of attribute csmtpConnectionType.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def csmtpConnectionType @csmtpConnectionType end |
#csmtpEnabled ⇒ Object
Returns the value of attribute csmtpEnabled.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def csmtpEnabled @csmtpEnabled end |
#csmtpHost ⇒ Object
Returns the value of attribute csmtpHost.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def csmtpHost @csmtpHost end |
#csmtpPassword ⇒ Object
Returns the value of attribute csmtpPassword.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def csmtpPassword @csmtpPassword end |
#csmtpPort ⇒ Object
Returns the value of attribute csmtpPort.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def csmtpPort @csmtpPort end |
#csmtpUsername ⇒ Object
Returns the value of attribute csmtpUsername.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def csmtpUsername @csmtpUsername end |
#cuseAddressForForwardReply ⇒ Object
Returns the value of attribute cuseAddressForForwardReply.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cuseAddressForForwardReply @cuseAddressForForwardReply end |
#cusername ⇒ Object
Returns the value of attribute cusername.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def cusername @cusername end |
#defaultSignature ⇒ Object
Returns the value of attribute defaultSignature.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def defaultSignature @defaultSignature end |
#emailAddress ⇒ Object
Returns the value of attribute emailAddress.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def emailAddress @emailAddress end |
#failingSince ⇒ Object
Returns the value of attribute failingSince.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def failingSince @failingSince end |
#forwardReplySignature ⇒ Object
Returns the value of attribute forwardReplySignature.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def forwardReplySignature @forwardReplySignature end |
#fromDisplay ⇒ Object
Returns the value of attribute fromDisplay.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def fromDisplay @fromDisplay end |
#host ⇒ Object
Returns the value of attribute host.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def host @host end |
#id ⇒ Object
Returns the value of attribute id.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def id @id end |
#importClass ⇒ Object
Returns the value of attribute importClass.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def importClass @importClass end |
#importOnly ⇒ Object
Returns the value of attribute importOnly.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def importOnly @importOnly end |
#isEnabled ⇒ Object
Returns the value of attribute isEnabled.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def isEnabled @isEnabled end |
#l ⇒ Object
Returns the value of attribute l.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def l @l end |
#lastError ⇒ Object
Returns the value of attribute lastError.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def lastError @lastError end |
#leaveOnServer ⇒ Object
Returns the value of attribute leaveOnServer.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def leaveOnServer @leaveOnServer end |
#name ⇒ Object
Returns the value of attribute name.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def name @name end |
#oauthToken ⇒ Object
Returns the value of attribute oauthToken.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def oauthToken @oauthToken end |
#password ⇒ Object
Returns the value of attribute password.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def password @password end |
#pollingInterval ⇒ Object
Returns the value of attribute pollingInterval.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def pollingInterval @pollingInterval end |
#port ⇒ Object
Returns the value of attribute port.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def port @port end |
#refreshToken ⇒ Object
Returns the value of attribute refreshToken.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def refreshToken @refreshToken end |
#refreshTokenUrl ⇒ Object
Returns the value of attribute refreshTokenUrl.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def refreshTokenUrl @refreshTokenUrl end |
#replyToAddress ⇒ Object
Returns the value of attribute replyToAddress.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def replyToAddress @replyToAddress end |
#replyToDisplay ⇒ Object
Returns the value of attribute replyToDisplay.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def replyToDisplay @replyToDisplay end |
#smtpAuthRequired ⇒ Object
Returns the value of attribute smtpAuthRequired.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def smtpAuthRequired @smtpAuthRequired end |
#smtpConnectionType ⇒ Object
Returns the value of attribute smtpConnectionType.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def smtpConnectionType @smtpConnectionType end |
#smtpEnabled ⇒ Object
Returns the value of attribute smtpEnabled.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def smtpEnabled @smtpEnabled end |
#smtpHost ⇒ Object
Returns the value of attribute smtpHost.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def smtpHost @smtpHost end |
#smtpPassword ⇒ Object
Returns the value of attribute smtpPassword.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def smtpPassword @smtpPassword end |
#smtpPort ⇒ Object
Returns the value of attribute smtpPort.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def smtpPort @smtpPort end |
#smtpUsername ⇒ Object
Returns the value of attribute smtpUsername.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def smtpUsername @smtpUsername end |
#test ⇒ Object
Returns the value of attribute test.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def test @test end |
#type ⇒ Object
Returns the value of attribute type.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def type @type end |
#useAddressForForwardReply ⇒ Object
Returns the value of attribute useAddressForForwardReply.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def useAddressForForwardReply @useAddressForForwardReply end |
#username ⇒ Object
Returns the value of attribute username.
11 12 13 |
# File 'lib/zm/client/datasource/datasource.rb', line 11 def username @username end |
Instance Method Details
#build_create ⇒ Object
33 34 35 |
# File 'lib/zm/client/datasource/datasource.rb', line 33 def build_create raise NotImplementedError end |
#build_modify ⇒ Object
41 42 43 |
# File 'lib/zm/client/datasource/datasource.rb', line 41 def build_modify raise NotImplementedError end |
#build_rename(*args) ⇒ Object
49 50 51 |
# File 'lib/zm/client/datasource/datasource.rb', line 49 def build_rename(*args) raise NotImplementedError end |
#create! ⇒ Object
29 30 31 |
# File 'lib/zm/client/datasource/datasource.rb', line 29 def create! raise NotImplementedError end |
#modify! ⇒ Object
37 38 39 |
# File 'lib/zm/client/datasource/datasource.rb', line 37 def modify! raise NotImplementedError end |
#rename!(*args) ⇒ Object
45 46 47 |
# File 'lib/zm/client/datasource/datasource.rb', line 45 def rename!(*args) raise NotImplementedError end |