Class: MailingListStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/ovhrb/manager/manager.rb

Overview

http://soapi.ovh.com/managermailingListStruct

Constant Summary collapse

@@schema_type =
"mailingListStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["domain", ["SOAP::SOAPString", XSD::QName.new(nil, "domain")]], ["ml", ["SOAP::SOAPString", XSD::QName.new(nil, "ml")]], ["owner", ["SOAP::SOAPString", XSD::QName.new(nil, "owner")]], ["nbSubscribers", ["SOAP::SOAPInt", XSD::QName.new(nil, "nbSubscribers")]], ["message_moderation", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "message_moderation")]], ["users_post_only", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "users_post_only")]], ["subscription_moderation", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "subscription_moderation")]], ["replyto", ["SOAP::SOAPString", XSD::QName.new(nil, "replyto")]], ["lang", ["SOAP::SOAPString", XSD::QName.new(nil, "lang")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, ml = nil, owner = nil, nbSubscribers = nil, message_moderation = nil, users_post_only = nil, subscription_moderation = nil, replyto = nil, lang = nil) ⇒ MailingListStruct

Returns a new instance of MailingListStruct.



5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
# File 'lib/ovhrb/manager/manager.rb', line 5158

def initialize(domain = nil, ml = nil, owner = nil, nbSubscribers = nil, message_moderation = nil, users_post_only = nil, subscription_moderation = nil, replyto = nil, lang = nil)
  @domain = domain
  @ml = ml
  @owner = owner
  @nbSubscribers = nbSubscribers
  @message_moderation = message_moderation
  @users_post_only = users_post_only
  @subscription_moderation = subscription_moderation
  @replyto = replyto
  @lang = lang
end

Instance Attribute Details

#domainObject

Returns the value of attribute domain.



5148
5149
5150
# File 'lib/ovhrb/manager/manager.rb', line 5148

def domain
  @domain
end

#langObject

Returns the value of attribute lang.



5156
5157
5158
# File 'lib/ovhrb/manager/manager.rb', line 5156

def lang
  @lang
end

#message_moderationObject

Returns the value of attribute message_moderation.



5152
5153
5154
# File 'lib/ovhrb/manager/manager.rb', line 5152

def message_moderation
  @message_moderation
end

#mlObject

Returns the value of attribute ml.



5149
5150
5151
# File 'lib/ovhrb/manager/manager.rb', line 5149

def ml
  @ml
end

#nbSubscribersObject

Returns the value of attribute nbSubscribers.



5151
5152
5153
# File 'lib/ovhrb/manager/manager.rb', line 5151

def nbSubscribers
  @nbSubscribers
end

#ownerObject

Returns the value of attribute owner.



5150
5151
5152
# File 'lib/ovhrb/manager/manager.rb', line 5150

def owner
  @owner
end

#replytoObject

Returns the value of attribute replyto.



5155
5156
5157
# File 'lib/ovhrb/manager/manager.rb', line 5155

def replyto
  @replyto
end

#subscription_moderationObject

Returns the value of attribute subscription_moderation.



5154
5155
5156
# File 'lib/ovhrb/manager/manager.rb', line 5154

def subscription_moderation
  @subscription_moderation
end

#users_post_onlyObject

Returns the value of attribute users_post_only.



5153
5154
5155
# File 'lib/ovhrb/manager/manager.rb', line 5153

def users_post_only
  @users_post_only
end