Class: SubDomainStruct

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

Overview

Constant Summary collapse

@@schema_type =
"subDomainStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["subdomain", ["SOAP::SOAPString", XSD::QName.new(nil, "subdomain")]], ["target", ["SOAP::SOAPString", XSD::QName.new(nil, "target")]], ["country", ["SOAP::SOAPString", XSD::QName.new(nil, "country")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subdomain = nil, target = nil, country = nil) ⇒ SubDomainStruct

Returns a new instance of SubDomainStruct.



4394
4395
4396
4397
4398
# File 'lib/ovhrb/manager/manager.rb', line 4394

def initialize(subdomain = nil, target = nil, country = nil)
  @subdomain = subdomain
  @target = target
  @country = country
end

Instance Attribute Details

#countryObject

Returns the value of attribute country.



4392
4393
4394
# File 'lib/ovhrb/manager/manager.rb', line 4392

def country
  @country
end

#subdomainObject

Returns the value of attribute subdomain.



4390
4391
4392
# File 'lib/ovhrb/manager/manager.rb', line 4390

def subdomain
  @subdomain
end

#targetObject

Returns the value of attribute target.



4391
4392
4393
# File 'lib/ovhrb/manager/manager.rb', line 4391

def target
  @target
end