Class OperatingSystem

java.lang.Object
io.sentry.protocol.OperatingSystem
All Implemented Interfaces:
JsonSerializable, JsonUnknown

public final class OperatingSystem extends Object implements JsonUnknown, JsonSerializable
  • Field Details

  • Constructor Details

    • OperatingSystem

      public OperatingSystem()
  • Method Details

    • getName

      @Nullable public @Nullable String getName()
    • setName

      public void setName(@Nullable @Nullable String name)
    • getVersion

      @Nullable public @Nullable String getVersion()
    • setVersion

      public void setVersion(@Nullable @Nullable String version)
    • getRawDescription

      @Nullable public @Nullable String getRawDescription()
    • setRawDescription

      public void setRawDescription(@Nullable @Nullable String rawDescription)
    • getBuild

      @Nullable public @Nullable String getBuild()
    • setBuild

      public void setBuild(@Nullable @Nullable String build)
    • getKernelVersion

      @Nullable public @Nullable String getKernelVersion()
    • setKernelVersion

      public void setKernelVersion(@Nullable @Nullable String kernelVersion)
    • isRooted

      @Nullable public @Nullable Boolean isRooted()
    • setRooted

      public void setRooted(@Nullable @Nullable Boolean rooted)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • serialize

      public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException
      Specified by:
      serialize in interface JsonSerializable
      Throws:
      IOException
    • getUnknown

      @Nullable public @Nullable Map<String,Object> getUnknown()
      Specified by:
      getUnknown in interface JsonUnknown
    • setUnknown

      public void setUnknown(@Nullable @Nullable Map<String,Object> unknown)
      Specified by:
      setUnknown in interface JsonUnknown