Package com.onslip360
Class API.ServerError
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.ServerError>
-
- com.onslip360.API.ServerError
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.ServerError>>
- Enclosing class:
- API
public static class API.ServerError extends Onslip360Object<API.ServerError>
-
-
Constructor Summary
Constructors Constructor Description ServerError(String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
code()
API.ServerError
code(String code)
String
message()
API.ServerError
message(String message)
-
Methods inherited from class com.onslip360.Onslip360Object
clone, compareTo, equals, fromJson, fromJson, fromJsonArray, fromJsonArray, fromList, fromMap, fromObject, getExtended, hashCode, setExtended, setExtended, toJson, toJson, toJson, toJson, toList, toMap, toString
-
-
-
-
Constructor Detail
-
ServerError
public ServerError(String message)
-
-
Method Detail
-
message
@Nonnull public String message()
-
code
@Nonnull public API.ServerError code(@Nullable String code)
-
message
@Nonnull public API.ServerError message(String message)
-
-