Class: ErrorType

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

Overview

urn:ebay:apis:eBLBaseComponentsErrorType

Constant Summary collapse

@@schema_type =
"ErrorType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["shortMessage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShortMessage")]],
  ["longMessage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "LongMessage")]],
  ["errorCode", ["Token", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorCode")]],
  ["userDisplayHint", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "UserDisplayHint")]],
  ["severityCode", ["SeverityCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SeverityCode")]],
  ["errorParameters", ["ErrorParameterType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorParameters")]],
  ["errorClassification", ["ErrorClassificationCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorClassification")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shortMessage = nil, longMessage = nil, errorCode = nil, userDisplayHint = nil, severityCode = nil, errorParameters = [], errorClassification = nil) ⇒ ErrorType

Returns a new instance of ErrorType.



14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
# File 'lib/eBay.rb', line 14534

def initialize(shortMessage = nil, longMessage = nil, errorCode = nil, userDisplayHint = nil, severityCode = nil, errorParameters = [], errorClassification = nil)
  @shortMessage = shortMessage
  @longMessage = longMessage
  @errorCode = errorCode
  @userDisplayHint = userDisplayHint
  @severityCode = severityCode
  @errorParameters = errorParameters
  @errorClassification = errorClassification
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



14528
14529
14530
# File 'lib/eBay.rb', line 14528

def __xmlele_any
  @__xmlele_any
end

#errorClassificationObject

Returns the value of attribute errorClassification.



14527
14528
14529
# File 'lib/eBay.rb', line 14527

def errorClassification
  @errorClassification
end

#errorCodeObject

Returns the value of attribute errorCode.



14523
14524
14525
# File 'lib/eBay.rb', line 14523

def errorCode
  @errorCode
end

#errorParametersObject

Returns the value of attribute errorParameters.



14526
14527
14528
# File 'lib/eBay.rb', line 14526

def errorParameters
  @errorParameters
end

#longMessageObject

Returns the value of attribute longMessage.



14522
14523
14524
# File 'lib/eBay.rb', line 14522

def longMessage
  @longMessage
end

#severityCodeObject

Returns the value of attribute severityCode.



14525
14526
14527
# File 'lib/eBay.rb', line 14525

def severityCode
  @severityCode
end

#shortMessageObject

Returns the value of attribute shortMessage.



14521
14522
14523
# File 'lib/eBay.rb', line 14521

def shortMessage
  @shortMessage
end

#userDisplayHintObject

Returns the value of attribute userDisplayHint.



14524
14525
14526
# File 'lib/eBay.rb', line 14524

def userDisplayHint
  @userDisplayHint
end

Instance Method Details

#set_any(elements) ⇒ Object



14530
14531
14532
# File 'lib/eBay.rb', line 14530

def set_any(elements)
  @__xmlele_any = elements
end