Package com.onslip360
Class API.StatusEvent
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.StatusEvent>
-
- com.onslip360.API.StatusEvent
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.StatusEvent>>
- Enclosing class:
- API
public static class API.StatusEvent extends Onslip360Object<API.StatusEvent>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.StatusEvent.Category
-
Constructor Summary
Constructors Constructor Description StatusEvent(API.StatusEvent.Category category, API.TriggerAction.LogLevel logLevel, String statusMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description API.StatusEvent.Category
category()
API.StatusEvent
category(API.StatusEvent.Category category)
Optional<String>
description()
API.StatusEvent
description(String description)
API.TriggerAction.LogLevel
logLevel()
API.StatusEvent
logLevel(API.TriggerAction.LogLevel logLevel)
Optional<API.ServerError>
serverError()
API.StatusEvent
serverError(API.ServerError serverError)
String
statusMessage()
API.StatusEvent
statusMessage(String statusMessage)
-
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
-
StatusEvent
public StatusEvent(API.StatusEvent.Category category, API.TriggerAction.LogLevel logLevel, String statusMessage)
-
-
Method Detail
-
category
@Nonnull public API.StatusEvent.Category category()
-
logLevel
@Nonnull public API.TriggerAction.LogLevel logLevel()
-
serverError
@Nonnull public Optional<API.ServerError> serverError()
-
statusMessage
@Nonnull public String statusMessage()
-
category
@Nonnull public API.StatusEvent category(API.StatusEvent.Category category)
-
description
@Nonnull public API.StatusEvent description(@Nullable String description)
-
logLevel
@Nonnull public API.StatusEvent logLevel(API.TriggerAction.LogLevel logLevel)
-
serverError
@Nonnull public API.StatusEvent serverError(@Nullable API.ServerError serverError)
-
statusMessage
@Nonnull public API.StatusEvent statusMessage(String statusMessage)
-
-