Class: Zm::Client::DataSource

Inherits:
Base::Object show all
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

Attributes inherited from Base::Object

#parent, #token

Instance Method Summary collapse

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

Raises:

  • (NotImplementedError)


33
34
35
# File 'lib/zm/client/datasource/datasource.rb', line 33

def build_create
  raise NotImplementedError
end

#build_modify ⇒ Object

Raises:

  • (NotImplementedError)


41
42
43
# File 'lib/zm/client/datasource/datasource.rb', line 41

def build_modify
  raise NotImplementedError
end

#build_rename(*args) ⇒ Object

Raises:

  • (NotImplementedError)


49
50
51
# File 'lib/zm/client/datasource/datasource.rb', line 49

def build_rename(*args)
  raise NotImplementedError
end

#create! ⇒ Object

Raises:

  • (NotImplementedError)


29
30
31
# File 'lib/zm/client/datasource/datasource.rb', line 29

def create!
  raise NotImplementedError
end

#modify! ⇒ Object

Raises:

  • (NotImplementedError)


37
38
39
# File 'lib/zm/client/datasource/datasource.rb', line 37

def modify!
  raise NotImplementedError
end

#rename!(*args) ⇒ Object

Raises:

  • (NotImplementedError)


45
46
47
# File 'lib/zm/client/datasource/datasource.rb', line 45

def rename!(*args)
  raise NotImplementedError
end