Package io.sentry.clientreport
Class ClientReport
- java.lang.Object
-
- io.sentry.clientreport.ClientReport
-
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
@Internal public final class ClientReport extends java.lang.Object implements JsonUnknown, JsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientReport.Deserializer
static class
ClientReport.JsonKeys
-
Constructor Summary
Constructors Constructor Description ClientReport(@NotNull java.util.Date timestamp, @NotNull java.util.List<DiscardedEvent> discardedEvents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.util.List<DiscardedEvent>
getDiscardedEvents()
@NotNull java.util.Date
getTimestamp()
@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
-
ClientReport
public ClientReport(@NotNull @NotNull java.util.Date timestamp, @NotNull @NotNull java.util.List<DiscardedEvent> discardedEvents)
-
-
Method Detail
-
getTimestamp
@NotNull public @NotNull java.util.Date getTimestamp()
-
getDiscardedEvents
@NotNull public @NotNull java.util.List<DiscardedEvent> getDiscardedEvents()
-
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
-
-