Class: TelephonyCallStruct

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

Overview

http://soapi.ovh.com/managertelephonyCallStruct

Constant Summary collapse

@@schema_type =
"telephonyCallStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["number", ["SOAP::SOAPString", XSD::QName.new(nil, "number")]], ["date", ["SOAP::SOAPString", XSD::QName.new(nil, "date")]], ["duration", ["SOAP::SOAPString", XSD::QName.new(nil, "duration")]], ["destination", ["SOAP::SOAPString", XSD::QName.new(nil, "destination")]], ["priceWithoutVAT", ["SOAP::SOAPFloat", XSD::QName.new(nil, "priceWithoutVAT")]], ["nature", ["SOAP::SOAPString", XSD::QName.new(nil, "nature")]], ["overLimit", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "overLimit")]], ["type", ["SOAP::SOAPString", XSD::QName.new(nil, "type")]], ["callingNumber", ["SOAP::SOAPString", XSD::QName.new(nil, "callingNumber")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(number = nil, date = nil, duration = nil, destination = nil, priceWithoutVAT = nil, nature = nil, overLimit = nil, type = nil, callingNumber = nil) ⇒ TelephonyCallStruct

Returns a new instance of TelephonyCallStruct.



502
503
504
505
506
507
508
509
510
511
512
# File 'lib/ovhrb/manager/manager.rb', line 502

def initialize(number = nil, date = nil, duration = nil, destination = nil, priceWithoutVAT = nil, nature = nil, overLimit = nil, type = nil, callingNumber = nil)
  @number = number
  @date = date
  @duration = duration
  @destination = destination
  @priceWithoutVAT = priceWithoutVAT
  @nature = nature
  @overLimit = overLimit
  @type = type
  @callingNumber = callingNumber
end

Instance Attribute Details

#callingNumberObject

Returns the value of attribute callingNumber.



500
501
502
# File 'lib/ovhrb/manager/manager.rb', line 500

def callingNumber
  @callingNumber
end

#dateObject

Returns the value of attribute date.



493
494
495
# File 'lib/ovhrb/manager/manager.rb', line 493

def date
  @date
end

#destinationObject

Returns the value of attribute destination.



495
496
497
# File 'lib/ovhrb/manager/manager.rb', line 495

def destination
  @destination
end

#durationObject

Returns the value of attribute duration.



494
495
496
# File 'lib/ovhrb/manager/manager.rb', line 494

def duration
  @duration
end

#natureObject

Returns the value of attribute nature.



497
498
499
# File 'lib/ovhrb/manager/manager.rb', line 497

def nature
  @nature
end

#numberObject

Returns the value of attribute number.



492
493
494
# File 'lib/ovhrb/manager/manager.rb', line 492

def number
  @number
end

#overLimitObject

Returns the value of attribute overLimit.



498
499
500
# File 'lib/ovhrb/manager/manager.rb', line 498

def overLimit
  @overLimit
end

#priceWithoutVATObject

Returns the value of attribute priceWithoutVAT.



496
497
498
# File 'lib/ovhrb/manager/manager.rb', line 496

def priceWithoutVAT
  @priceWithoutVAT
end

#typeObject

Returns the value of attribute type.



499
500
501
# File 'lib/ovhrb/manager/manager.rb', line 499

def type
  @type
end