Package de.isas.mztab2.model
Class Error
- java.lang.Object
-
- de.isas.mztab2.model.Error
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2020-02-11T15:12:05.057+01:00") public class Error extends Object
Error
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Error.Properties
Property enumeration for Error.
-
Constructor Summary
Constructors Constructor Description Error()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Error
code(Integer code)
Builder method for code.boolean
equals(Object o)
@NotNull Integer
getCode()
Get code.@NotNull String
getMessage()
Get message.int
hashCode()
Error
message(String message)
Builder method for message.void
setCode(Integer code)
Set code.void
setMessage(String message)
Set message.String
toString()
-
-
-
Constructor Detail
-
Error
public Error()
-
-
Method Detail
-
code
public Error code(Integer code)
Builder method for code.- Parameters:
code
- aInteger
parameter.- Returns:
- Error
- See Also:
Error#setCode for specification examples
,Error#getCode for validation constraints
-
setCode
public void setCode(Integer code)
Set code.- Parameters:
code
- aInteger
parameter.- See Also:
Error#getCode for validation constraints
-
message
public Error message(String message)
Builder method for message.- Parameters:
message
- aString
parameter.- Returns:
- Error
- See Also:
Error#setMessage for specification examples
,Error#getMessage for validation constraints
-
getMessage
@NotNull public @NotNull String getMessage()
Get message.
- Returns:
- message
-
setMessage
public void setMessage(String message)
Set message.- Parameters:
message
- aString
parameter.- See Also:
Error#getMessage for validation constraints
-
-