Class: DedicatedNetworkStruct

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

Overview

http://soapi.ovh.com/managerdedicatedNetworkStruct

Constant Summary collapse

@@schema_type =
"dedicatedNetworkStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["type", ["SOAP::SOAPString", XSD::QName.new(nil, "type")]], ["priority", ["SOAP::SOAPString", XSD::QName.new(nil, "priority")]], ["connexion", ["SOAP::SOAPString", XSD::QName.new(nil, "connexion")]], ["bandwidth", ["SOAP::SOAPInt", XSD::QName.new(nil, "bandwidth")]], ["bandwidthOvhToOvh", ["SOAP::SOAPInt", XSD::QName.new(nil, "bandwidthOvhToOvh")]], ["bandwidthOvhToInternet", ["SOAP::SOAPInt", XSD::QName.new(nil, "bandwidthOvhToInternet")]], ["bandwidthInternetToOvh", ["SOAP::SOAPInt", XSD::QName.new(nil, "bandwidthInternetToOvh")]], ["over", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "over")]], ["interfaces", ["MyArrayOfDedicatedNetworkInterfaceStructType", XSD::QName.new(nil, "interfaces")]], ["traffic", ["DedicatedNetworkTrafficStruct", XSD::QName.new(nil, "traffic")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, priority = nil, connexion = nil, bandwidth = nil, bandwidthOvhToOvh = nil, bandwidthOvhToInternet = nil, bandwidthInternetToOvh = nil, over = nil, interfaces = nil, traffic = nil) ⇒ DedicatedNetworkStruct

Returns a new instance of DedicatedNetworkStruct.



2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
# File 'lib/ovhrb/manager/manager.rb', line 2014

def initialize(type = nil, priority = nil, connexion = nil, bandwidth = nil, bandwidthOvhToOvh = nil, bandwidthOvhToInternet = nil, bandwidthInternetToOvh = nil, over = nil, interfaces = nil, traffic = nil)
  @type = type
  @priority = priority
  @connexion = connexion
  @bandwidth = bandwidth
  @bandwidthOvhToOvh = bandwidthOvhToOvh
  @bandwidthOvhToInternet = bandwidthOvhToInternet
  @bandwidthInternetToOvh = bandwidthInternetToOvh
  @over = over
  @interfaces = interfaces
  @traffic = traffic
end

Instance Attribute Details

#bandwidthObject

Returns the value of attribute bandwidth.



2006
2007
2008
# File 'lib/ovhrb/manager/manager.rb', line 2006

def bandwidth
  @bandwidth
end

#bandwidthInternetToOvhObject

Returns the value of attribute bandwidthInternetToOvh.



2009
2010
2011
# File 'lib/ovhrb/manager/manager.rb', line 2009

def bandwidthInternetToOvh
  @bandwidthInternetToOvh
end

#bandwidthOvhToInternetObject

Returns the value of attribute bandwidthOvhToInternet.



2008
2009
2010
# File 'lib/ovhrb/manager/manager.rb', line 2008

def bandwidthOvhToInternet
  @bandwidthOvhToInternet
end

#bandwidthOvhToOvhObject

Returns the value of attribute bandwidthOvhToOvh.



2007
2008
2009
# File 'lib/ovhrb/manager/manager.rb', line 2007

def bandwidthOvhToOvh
  @bandwidthOvhToOvh
end

#connexionObject

Returns the value of attribute connexion.



2005
2006
2007
# File 'lib/ovhrb/manager/manager.rb', line 2005

def connexion
  @connexion
end

#interfacesObject

Returns the value of attribute interfaces.



2011
2012
2013
# File 'lib/ovhrb/manager/manager.rb', line 2011

def interfaces
  @interfaces
end

#overObject

Returns the value of attribute over.



2010
2011
2012
# File 'lib/ovhrb/manager/manager.rb', line 2010

def over
  @over
end

#priorityObject

Returns the value of attribute priority.



2004
2005
2006
# File 'lib/ovhrb/manager/manager.rb', line 2004

def priority
  @priority
end

#trafficObject

Returns the value of attribute traffic.



2012
2013
2014
# File 'lib/ovhrb/manager/manager.rb', line 2012

def traffic
  @traffic
end

#typeObject

Returns the value of attribute type.



2003
2004
2005
# File 'lib/ovhrb/manager/manager.rb', line 2003

def type
  @type
end