Package io.sentry.protocol
Class OperatingSystem
java.lang.Object
io.sentry.protocol.OperatingSystem
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable String
getBuild()
@Nullable String
@Nullable String
getName()
@Nullable String
@Nullable String
int
hashCode()
@Nullable Boolean
isRooted()
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
void
setKernelVersion
(@Nullable String kernelVersion) void
void
setRawDescription
(@Nullable String rawDescription) void
void
setUnknown
(@Nullable Map<String, Object> unknown) void
setVersion
(@Nullable String version)
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
OperatingSystem
public OperatingSystem()
-
-
Method Details
-
getName
-
setName
-
getVersion
-
setVersion
-
getRawDescription
-
setRawDescription
-
getBuild
-
setBuild
-
getKernelVersion
-
setKernelVersion
-
isRooted
-
setRooted
-
equals
-
hashCode
public int hashCode() -
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Throws:
IOException
-
getUnknown
- Specified by:
getUnknown
in interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknown
in interfaceJsonUnknown
-