Class: ZoneStruct

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

Overview

Constant Summary collapse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subdomain = nil, fieldtype = nil, target = nil) ⇒ ZoneStruct

Returns a new instance of ZoneStruct.



4880
4881
4882
4883
4884
# File 'lib/ovhrb/manager/manager.rb', line 4880

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

Instance Attribute Details

#fieldtypeObject

Returns the value of attribute fieldtype.



4877
4878
4879
# File 'lib/ovhrb/manager/manager.rb', line 4877

def fieldtype
  @fieldtype
end

#subdomainObject

Returns the value of attribute subdomain.



4876
4877
4878
# File 'lib/ovhrb/manager/manager.rb', line 4876

def subdomain
  @subdomain
end

#targetObject

Returns the value of attribute target.



4878
4879
4880
# File 'lib/ovhrb/manager/manager.rb', line 4878

def target
  @target
end