Package io.sentry
Class TraceState.TraceStateUser
- java.lang.Object
-
- io.sentry.TraceState.TraceStateUser
-
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
- Enclosing class:
- TraceState
public static final class TraceState.TraceStateUser extends java.lang.Object implements JsonUnknown, JsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TraceState.TraceStateUser.Deserializer
static class
TraceState.TraceStateUser.JsonKeys
-
Constructor Summary
Constructors Constructor Description TraceStateUser(@Nullable User protocolUser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.String
getId()
@Nullable java.lang.String
getSegment()
@Nullable java.util.Map<java.lang.String,java.lang.Object>
getUnknown()
void
serialize(@NotNull JsonObjectWriter writer, @NotNull ILogger logger)
void
setUnknown(@Nullable java.util.Map<java.lang.String,java.lang.Object> unknown)
-
-
-
Constructor Detail
-
TraceStateUser
public TraceStateUser(@Nullable @Nullable User protocolUser)
-
-
Method Detail
-
getId
@Nullable public @Nullable java.lang.String getId()
-
getSegment
@Nullable public @Nullable java.lang.String getSegment()
-
getUnknown
@Nullable public @Nullable java.util.Map<java.lang.String,java.lang.Object> getUnknown()
- Specified by:
getUnknown
in interfaceJsonUnknown
-
setUnknown
public void setUnknown(@Nullable @Nullable java.util.Map<java.lang.String,java.lang.Object> unknown)
- Specified by:
setUnknown
in interfaceJsonUnknown
-
serialize
public void serialize(@NotNull @NotNull JsonObjectWriter writer, @NotNull @NotNull ILogger logger) throws java.io.IOException
- Specified by:
serialize
in interfaceJsonSerializable
- Throws:
java.io.IOException
-
-