com.emc.cdp.services.rest.model
Class Error

java.lang.Object
  extended by com.emc.cdp.services.rest.model.Error

public class Error
extends Object

Java class for Error complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Error">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String code
           
protected  String message
           
 
Constructor Summary
Error()
           
 
Method Summary
 String getCode()
          Gets the value of the code property.
 String getMessage()
          Gets the value of the message property.
 void setCode(String value)
          Sets the value of the code property.
 void setMessage(String value)
          Sets the value of the message property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

protected String code

message

protected String message
Constructor Detail

Error

public Error()
Method Detail

getCode

public String getCode()
Gets the value of the code property.

Returns:
possible object is String

setCode

public void setCode(String value)
Sets the value of the code property.

Parameters:
value - allowed object is String

getMessage

public String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(String value)
Sets the value of the message property.

Parameters:
value - allowed object is String


Copyright © 2014. All Rights Reserved.