Class: DedicatedNetworkInterfaceStruct

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

Overview

http://soapi.ovh.com/managerdedicatedNetworkInterfaceStruct

Constant Summary collapse

@@schema_type =
"dedicatedNetworkInterfaceStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["reverse", ["SOAP::SOAPString", XSD::QName.new(nil, "reverse")]], ["ip", ["SOAP::SOAPString", XSD::QName.new(nil, "ip")]], ["ipv6", ["SOAP::SOAPString", XSD::QName.new(nil, "ipv6")]], ["mac", ["SOAP::SOAPString", XSD::QName.new(nil, "mac")]], ["switch", ["SOAP::SOAPString", XSD::QName.new(nil, "switch")]], ["icmp_drop", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "icmp_drop")]], ["failover", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "failover")]], ["routedTo", ["SOAP::SOAPString", XSD::QName.new(nil, "routedTo")]], ["ssl", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "ssl")]], ["country", ["SOAP::SOAPString", XSD::QName.new(nil, "country")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reverse = nil, ip = nil, ipv6 = nil, mac = nil, switch = nil, icmp_drop = nil, failover = nil, routedTo = nil, ssl = nil, country = nil) ⇒ DedicatedNetworkInterfaceStruct

Returns a new instance of DedicatedNetworkInterfaceStruct.



1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
# File 'lib/ovhrb/manager/manager.rb', line 1938

def initialize(reverse = nil, ip = nil, ipv6 = nil, mac = nil, switch = nil, icmp_drop = nil, failover = nil, routedTo = nil, ssl = nil, country = nil)
  @reverse = reverse
  @ip = ip
  @ipv6 = ipv6
  @mac = mac
  @switch = switch
  @icmp_drop = icmp_drop
  @failover = failover
  @routedTo = routedTo
  @ssl = ssl
  @country = country
end

Instance Attribute Details

#countryObject

Returns the value of attribute country.



1936
1937
1938
# File 'lib/ovhrb/manager/manager.rb', line 1936

def country
  @country
end

#failoverObject

Returns the value of attribute failover.



1933
1934
1935
# File 'lib/ovhrb/manager/manager.rb', line 1933

def failover
  @failover
end

#icmp_dropObject

Returns the value of attribute icmp_drop.



1932
1933
1934
# File 'lib/ovhrb/manager/manager.rb', line 1932

def icmp_drop
  @icmp_drop
end

#ipObject

Returns the value of attribute ip.



1928
1929
1930
# File 'lib/ovhrb/manager/manager.rb', line 1928

def ip
  @ip
end

#ipv6Object

Returns the value of attribute ipv6.



1929
1930
1931
# File 'lib/ovhrb/manager/manager.rb', line 1929

def ipv6
  @ipv6
end

#macObject

Returns the value of attribute mac.



1930
1931
1932
# File 'lib/ovhrb/manager/manager.rb', line 1930

def mac
  @mac
end

#reverseObject

Returns the value of attribute reverse.



1927
1928
1929
# File 'lib/ovhrb/manager/manager.rb', line 1927

def reverse
  @reverse
end

#routedToObject

Returns the value of attribute routedTo.



1934
1935
1936
# File 'lib/ovhrb/manager/manager.rb', line 1934

def routedTo
  @routedTo
end

#sslObject

Returns the value of attribute ssl.



1935
1936
1937
# File 'lib/ovhrb/manager/manager.rb', line 1935

def ssl
  @ssl
end

#switchObject

Returns the value of attribute switch.



1931
1932
1933
# File 'lib/ovhrb/manager/manager.rb', line 1931

def switch
  @switch
end