Package so.prelude.sdk.models
Class WatchSendEventsParams.Event
-
- All Implemented Interfaces:
public final class WatchSendEventsParams.Event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
WatchSendEventsParams.Event.Builder
A builder for Event.
public final class
WatchSendEventsParams.Event.Confidence
A confidence level you want to assign to the event.
public final class
WatchSendEventsParams.Event.Target
The event target. Only supports phone numbers for now.
-
Method Summary
Modifier and Type Method Description final WatchSendEventsParams.Event.Confidence
confidence()
A confidence level you want to assign to the event. final String
label()
A label to describe what the event refers to. final WatchSendEventsParams.Event.Target
target()
The event target. final JsonField<WatchSendEventsParams.Event.Confidence>
_confidence()
Returns the raw JSON value of confidence. final JsonField<String>
_label()
Returns the raw JSON value of label. final JsonField<WatchSendEventsParams.Event.Target>
_target()
Returns the raw JSON value of target. final Map<String, JsonValue>
_additionalProperties()
final WatchSendEventsParams.Event.Builder
toBuilder()
final WatchSendEventsParams.Event
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static WatchSendEventsParams.Event.Builder
builder()
Returns a mutable builder for constructing an instance of Event. -
-
Method Detail
-
confidence
final WatchSendEventsParams.Event.Confidence confidence()
A confidence level you want to assign to the event.
-
target
final WatchSendEventsParams.Event.Target target()
The event target. Only supports phone numbers for now.
-
_confidence
final JsonField<WatchSendEventsParams.Event.Confidence> _confidence()
Returns the raw JSON value of confidence.
Unlike confidence, this method doesn't throw if the JSON field has an unexpected type.
-
_label
final JsonField<String> _label()
Returns the raw JSON value of label.
Unlike label, this method doesn't throw if the JSON field has an unexpected type.
-
_target
final JsonField<WatchSendEventsParams.Event.Target> _target()
Returns the raw JSON value of target.
Unlike target, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final WatchSendEventsParams.Event.Builder toBuilder()
-
validate
final WatchSendEventsParams.Event validate()
-
builder
final static WatchSendEventsParams.Event.Builder builder()
Returns a mutable builder for constructing an instance of Event.
The following fields are required:
.confidence() .label() .target()
-
-
-
-