Class: PrepaidGetSummaryReturn

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

Overview

http://soapi.ovh.com/managerprepaidGetSummaryReturn

Constant Summary collapse

@@schema_type =
"prepaidGetSummaryReturn"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["contract", ["SOAP::SOAPString", XSD::QName.new(nil, "contract")]], ["threshold", ["SOAP::SOAPInt", XSD::QName.new(nil, "threshold")]], ["balance", ["SOAP::SOAPFloat", XSD::QName.new(nil, "balance")]], ["md5", ["SOAP::SOAPString", XSD::QName.new(nil, "md5")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(contract = nil, threshold = nil, balance = nil, md5 = nil) ⇒ PrepaidGetSummaryReturn

Returns a new instance of PrepaidGetSummaryReturn.



5444
5445
5446
5447
5448
5449
# File 'lib/ovhrb/manager/manager.rb', line 5444

def initialize(contract = nil, threshold = nil, balance = nil, md5 = nil)
  @contract = contract
  @threshold = threshold
  @balance = balance
  @md5 = md5
end

Instance Attribute Details

#balanceObject

Returns the value of attribute balance.



5441
5442
5443
# File 'lib/ovhrb/manager/manager.rb', line 5441

def balance
  @balance
end

#contractObject

Returns the value of attribute contract.



5439
5440
5441
# File 'lib/ovhrb/manager/manager.rb', line 5439

def contract
  @contract
end

#md5Object

Returns the value of attribute md5.



5442
5443
5444
# File 'lib/ovhrb/manager/manager.rb', line 5442

def md5
  @md5
end

#thresholdObject

Returns the value of attribute threshold.



5440
5441
5442
# File 'lib/ovhrb/manager/manager.rb', line 5440

def threshold
  @threshold
end