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

#aObject

Returns the value of attribute a.



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

def a
  @a
end

#cconnectionTypeObject

Returns the value of attribute cconnectionType.



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

def cconnectionType
  @cconnectionType
end

#cdefaultSignatureObject

Returns the value of attribute cdefaultSignature.



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

def cdefaultSignature
  @cdefaultSignature
end

#cemailAddressObject

Returns the value of attribute cemailAddress.



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

def cemailAddress
  @cemailAddress
end

#cfailingSinceObject

Returns the value of attribute cfailingSince.



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

def cfailingSince
  @cfailingSince
end

#cforwardReplySignatureObject

Returns the value of attribute cforwardReplySignature.



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

def cforwardReplySignature
  @cforwardReplySignature
end

#cfromDisplayObject

Returns the value of attribute cfromDisplay.



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

def cfromDisplay
  @cfromDisplay
end

#chostObject

Returns the value of attribute chost.



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

def chost
  @chost
end

#cidObject

Returns the value of attribute cid.



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

def cid
  @cid
end

#cimportClassObject

Returns the value of attribute cimportClass.



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

def cimportClass
  @cimportClass
end

#cimportOnlyObject

Returns the value of attribute cimportOnly.



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

def cimportOnly
  @cimportOnly
end

#cisEnabledObject

Returns the value of attribute cisEnabled.



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

def cisEnabled
  @cisEnabled
end

#clObject

Returns the value of attribute cl.



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

def cl
  @cl
end

#clientIdObject

Returns the value of attribute clientId.



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

def clientId
  @clientId
end

#clientSecretObject

Returns the value of attribute clientSecret.



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

def clientSecret
  @clientSecret
end

#cnameObject

Returns the value of attribute cname.



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

def cname
  @cname
end

#connectionTypeObject

Returns the value of attribute connectionType.



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

def connectionType
  @connectionType
end

#cpasswordObject

Returns the value of attribute cpassword.



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

def cpassword
  @cpassword
end

#cpollingIntervalObject

Returns the value of attribute cpollingInterval.



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

def cpollingInterval
  @cpollingInterval
end

#cportObject

Returns the value of attribute cport.



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

def cport
  @cport
end

#crefreshTokenObject

Returns the value of attribute crefreshToken.



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

def crefreshToken
  @crefreshToken
end

#crefreshTokenUrlObject

Returns the value of attribute crefreshTokenUrl.



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

def crefreshTokenUrl
  @crefreshTokenUrl
end

#creplyToAddressObject

Returns the value of attribute creplyToAddress.



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

def creplyToAddress
  @creplyToAddress
end

#creplyToDisplayObject

Returns the value of attribute creplyToDisplay.



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

def creplyToDisplay
  @creplyToDisplay
end

#csmtpAuthRequiredObject

Returns the value of attribute csmtpAuthRequired.



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

def csmtpAuthRequired
  @csmtpAuthRequired
end

#csmtpConnectionTypeObject

Returns the value of attribute csmtpConnectionType.



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

def csmtpConnectionType
  @csmtpConnectionType
end

#csmtpEnabledObject

Returns the value of attribute csmtpEnabled.



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

def csmtpEnabled
  @csmtpEnabled
end

#csmtpHostObject

Returns the value of attribute csmtpHost.



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

def csmtpHost
  @csmtpHost
end

#csmtpPasswordObject

Returns the value of attribute csmtpPassword.



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

def csmtpPassword
  @csmtpPassword
end

#csmtpPortObject

Returns the value of attribute csmtpPort.



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

def csmtpPort
  @csmtpPort
end

#csmtpUsernameObject

Returns the value of attribute csmtpUsername.



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

def csmtpUsername
  @csmtpUsername
end

#cuseAddressForForwardReplyObject

Returns the value of attribute cuseAddressForForwardReply.



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

def cuseAddressForForwardReply
  @cuseAddressForForwardReply
end

#cusernameObject

Returns the value of attribute cusername.



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

def cusername
  @cusername
end

#defaultSignatureObject

Returns the value of attribute defaultSignature.



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

def defaultSignature
  @defaultSignature
end

#emailAddressObject

Returns the value of attribute emailAddress.



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

def emailAddress
  @emailAddress
end

#failingSinceObject

Returns the value of attribute failingSince.



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

def failingSince
  @failingSince
end

#forwardReplySignatureObject

Returns the value of attribute forwardReplySignature.



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

def forwardReplySignature
  @forwardReplySignature
end

#fromDisplayObject

Returns the value of attribute fromDisplay.



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

def fromDisplay
  @fromDisplay
end

#hostObject

Returns the value of attribute host.



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

def host
  @host
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#importClassObject

Returns the value of attribute importClass.



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

def importClass
  @importClass
end

#importOnlyObject

Returns the value of attribute importOnly.



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

def importOnly
  @importOnly
end

#isEnabledObject

Returns the value of attribute isEnabled.



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

def isEnabled
  @isEnabled
end

#lObject

Returns the value of attribute l.



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

def l
  @l
end

#lastErrorObject

Returns the value of attribute lastError.



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

def lastError
  @lastError
end

#leaveOnServerObject

Returns the value of attribute leaveOnServer.



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

def leaveOnServer
  @leaveOnServer
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#oauthTokenObject

Returns the value of attribute oauthToken.



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

def oauthToken
  @oauthToken
end

#passwordObject

Returns the value of attribute password.



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

def password
  @password
end

#pollingIntervalObject

Returns the value of attribute pollingInterval.



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

def pollingInterval
  @pollingInterval
end

#portObject

Returns the value of attribute port.



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

def port
  @port
end

#refreshTokenObject

Returns the value of attribute refreshToken.



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

def refreshToken
  @refreshToken
end

#refreshTokenUrlObject

Returns the value of attribute refreshTokenUrl.



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

def refreshTokenUrl
  @refreshTokenUrl
end

#replyToAddressObject

Returns the value of attribute replyToAddress.



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

def replyToAddress
  @replyToAddress
end

#replyToDisplayObject

Returns the value of attribute replyToDisplay.



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

def replyToDisplay
  @replyToDisplay
end

#smtpAuthRequiredObject

Returns the value of attribute smtpAuthRequired.



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

def smtpAuthRequired
  @smtpAuthRequired
end

#smtpConnectionTypeObject

Returns the value of attribute smtpConnectionType.



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

def smtpConnectionType
  @smtpConnectionType
end

#smtpEnabledObject

Returns the value of attribute smtpEnabled.



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

def smtpEnabled
  @smtpEnabled
end

#smtpHostObject

Returns the value of attribute smtpHost.



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

def smtpHost
  @smtpHost
end

#smtpPasswordObject

Returns the value of attribute smtpPassword.



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

def smtpPassword
  @smtpPassword
end

#smtpPortObject

Returns the value of attribute smtpPort.



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

def smtpPort
  @smtpPort
end

#smtpUsernameObject

Returns the value of attribute smtpUsername.



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

def smtpUsername
  @smtpUsername
end

#testObject

Returns the value of attribute test.



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

def test
  @test
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#useAddressForForwardReplyObject

Returns the value of attribute useAddressForForwardReply.



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

def useAddressForForwardReply
  @useAddressForForwardReply
end

#usernameObject

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_createObject

Raises:

  • (NotImplementedError)


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

def build_create
  raise NotImplementedError
end

#build_modifyObject

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