Class: DedicatedGetServiceMonitoringItemStruct

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

Overview

http://soapi.ovh.com/managerdedicatedGetServiceMonitoringItemStruct

Constant Summary collapse

@@schema_type =
"dedicatedGetServiceMonitoringItemStruct"
@@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")]], ["sms", ["MyArrayOfStringType", XSD::QName.new(nil, "sms")]], ["email", ["MyArrayOfStringType", XSD::QName.new(nil, "email")]]]

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, sms = nil, email = nil) ⇒ DedicatedGetServiceMonitoringItemStruct

Returns a new instance of DedicatedGetServiceMonitoringItemStruct.



2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
# File 'lib/ovhrb/manager/manager.rb', line 2268

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

Instance Attribute Details

#emailObject

Returns the value of attribute email.



2266
2267
2268
# File 'lib/ovhrb/manager/manager.rb', line 2266

def email
  @email
end

#idObject

Returns the value of attribute id.



2258
2259
2260
# File 'lib/ovhrb/manager/manager.rb', line 2258

def id
  @id
end

#ipObject

Returns the value of attribute ip.



2259
2260
2261
# File 'lib/ovhrb/manager/manager.rb', line 2259

def ip
  @ip
end

#periodObject

Returns the value of attribute period.



2262
2263
2264
# File 'lib/ovhrb/manager/manager.rb', line 2262

def period
  @period
end

#portObject

Returns the value of attribute port.



2260
2261
2262
# File 'lib/ovhrb/manager/manager.rb', line 2260

def port
  @port
end

#protocolObject

Returns the value of attribute protocol.



2261
2262
2263
# File 'lib/ovhrb/manager/manager.rb', line 2261

def protocol
  @protocol
end

#smsObject

Returns the value of attribute sms.



2265
2266
2267
# File 'lib/ovhrb/manager/manager.rb', line 2265

def sms
  @sms
end

#stringObject

Returns the value of attribute string.



2263
2264
2265
# File 'lib/ovhrb/manager/manager.rb', line 2263

def string
  @string
end

#urlObject

Returns the value of attribute url.



2264
2265
2266
# File 'lib/ovhrb/manager/manager.rb', line 2264

def url
  @url
end