Class: TelephonyPortabilityStruct

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

Overview

http://soapi.ovh.com/managertelephonyPortabilityStruct

Constant Summary collapse

@@schema_type =
"telephonyPortabilityStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["id", ["SOAP::SOAPInt", XSD::QName.new(nil, "id")]], ["number", ["SOAP::SOAPString", XSD::QName.new(nil, "number")]], ["name", ["SOAP::SOAPString", XSD::QName.new(nil, "name")]], ["planDate", ["SOAP::SOAPString", XSD::QName.new(nil, "planDate")]], ["billingAccount", ["SOAP::SOAPString", XSD::QName.new(nil, "billingAccount")]], ["type", ["SOAP::SOAPString", XSD::QName.new(nil, "type")]], ["operator", ["SOAP::SOAPString", XSD::QName.new(nil, "operator")]], ["status", ["SOAP::SOAPString", XSD::QName.new(nil, "status")]], ["reason", ["SOAP::SOAPString", XSD::QName.new(nil, "reason")]], ["askingCustomer", ["MyArrayOfStringType", XSD::QName.new(nil, "askingCustomer")]], ["extraNumbers", ["MyArrayOfStringType", XSD::QName.new(nil, "extraNumbers")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, number = nil, name = nil, planDate = nil, billingAccount = nil, type = nil, operator = nil, status = nil, reason = nil, askingCustomer = nil, extraNumbers = nil) ⇒ TelephonyPortabilityStruct

Returns a new instance of TelephonyPortabilityStruct.



1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
# File 'lib/ovhrb/manager/manager.rb', line 1236

def initialize(id = nil, number = nil, name = nil, planDate = nil, billingAccount = nil, type = nil, operator = nil, status = nil, reason = nil, askingCustomer = nil, extraNumbers = nil)
  @id = id
  @number = number
  @name = name
  @planDate = planDate
  @billingAccount = billingAccount
  @type = type
  @operator = operator
  @status = status
  @reason = reason
  @askingCustomer = askingCustomer
  @extraNumbers = extraNumbers
end

Instance Attribute Details

#askingCustomerObject

Returns the value of attribute askingCustomer.



1233
1234
1235
# File 'lib/ovhrb/manager/manager.rb', line 1233

def askingCustomer
  @askingCustomer
end

#billingAccountObject

Returns the value of attribute billingAccount.



1228
1229
1230
# File 'lib/ovhrb/manager/manager.rb', line 1228

def billingAccount
  @billingAccount
end

#extraNumbersObject

Returns the value of attribute extraNumbers.



1234
1235
1236
# File 'lib/ovhrb/manager/manager.rb', line 1234

def extraNumbers
  @extraNumbers
end

#idObject

Returns the value of attribute id.



1224
1225
1226
# File 'lib/ovhrb/manager/manager.rb', line 1224

def id
  @id
end

#nameObject

Returns the value of attribute name.



1226
1227
1228
# File 'lib/ovhrb/manager/manager.rb', line 1226

def name
  @name
end

#numberObject

Returns the value of attribute number.



1225
1226
1227
# File 'lib/ovhrb/manager/manager.rb', line 1225

def number
  @number
end

#operatorObject

Returns the value of attribute operator.



1230
1231
1232
# File 'lib/ovhrb/manager/manager.rb', line 1230

def operator
  @operator
end

#planDateObject

Returns the value of attribute planDate.



1227
1228
1229
# File 'lib/ovhrb/manager/manager.rb', line 1227

def planDate
  @planDate
end

#reasonObject

Returns the value of attribute reason.



1232
1233
1234
# File 'lib/ovhrb/manager/manager.rb', line 1232

def reason
  @reason
end

#statusObject

Returns the value of attribute status.



1231
1232
1233
# File 'lib/ovhrb/manager/manager.rb', line 1231

def status
  @status
end

#typeObject

Returns the value of attribute type.



1229
1230
1231
# File 'lib/ovhrb/manager/manager.rb', line 1229

def type
  @type
end