Class: DedicatedMonitoringServiceStruct

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

Overview

http://soapi.ovh.com/managerdedicatedMonitoringServiceStruct

Constant Summary collapse

@@schema_type =
"dedicatedMonitoringServiceStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["id", ["SOAP::SOAPInt", XSD::QName.new(nil, "id")]], ["ip", ["SOAP::SOAPString", XSD::QName.new(nil, "ip")]], ["port", ["SOAP::SOAPInt", XSD::QName.new(nil, "port")]], ["protocol", ["SOAP::SOAPString", XSD::QName.new(nil, "protocol")]], ["period", ["SOAP::SOAPString", XSD::QName.new(nil, "period")]], ["string", ["SOAP::SOAPString", XSD::QName.new(nil, "string")]], ["url", ["SOAP::SOAPString", XSD::QName.new(nil, "url")]], ["destination", ["SOAP::SOAPString", XSD::QName.new(nil, "destination")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, ip = nil, port = nil, protocol = nil, period = nil, string = nil, url = nil, destination = nil) ⇒ DedicatedMonitoringServiceStruct

Returns a new instance of DedicatedMonitoringServiceStruct.



2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
# File 'lib/ovhrb/manager/manager.rb', line 2240

def initialize(id = nil, ip = nil, port = nil, protocol = nil, period = nil, string = nil, url = nil, destination = nil)
  @id = id
  @ip = ip
  @port = port
  @protocol = protocol
  @period = period
  @string = string
  @url = url
  @destination = destination
end

Instance Attribute Details

#destinationObject

Returns the value of attribute destination.



2238
2239
2240
# File 'lib/ovhrb/manager/manager.rb', line 2238

def destination
  @destination
end

#idObject

Returns the value of attribute id.



2231
2232
2233
# File 'lib/ovhrb/manager/manager.rb', line 2231

def id
  @id
end

#ipObject

Returns the value of attribute ip.



2232
2233
2234
# File 'lib/ovhrb/manager/manager.rb', line 2232

def ip
  @ip
end

#periodObject

Returns the value of attribute period.



2235
2236
2237
# File 'lib/ovhrb/manager/manager.rb', line 2235

def period
  @period
end

#portObject

Returns the value of attribute port.



2233
2234
2235
# File 'lib/ovhrb/manager/manager.rb', line 2233

def port
  @port
end

#protocolObject

Returns the value of attribute protocol.



2234
2235
2236
# File 'lib/ovhrb/manager/manager.rb', line 2234

def protocol
  @protocol
end

#stringObject

Returns the value of attribute string.



2236
2237
2238
# File 'lib/ovhrb/manager/manager.rb', line 2236

def string
  @string
end

#urlObject

Returns the value of attribute url.



2237
2238
2239
# File 'lib/ovhrb/manager/manager.rb', line 2237

def url
  @url
end