Enum Class ReportingStatus

java.lang.Object
java.lang.Enum<ReportingStatus>
com.sportradar.unifiedodds.sdk.entities.ReportingStatus
All Implemented Interfaces:
Serializable, Comparable<ReportingStatus>, java.lang.constant.Constable

public enum ReportingStatus extends Enum<ReportingStatus>
An enum describing the reporting status of a sport event
  • Enum Constant Details

    • NotAvailable

      public static final ReportingStatus NotAvailable
      The reporting status of the sport event is not available
    • Live

      public static final ReportingStatus Live
      The reporting status of the sport event is currently live
    • Suspended

      public static final ReportingStatus Suspended
      The reporting status of the sport event is suspended or temporary lost contact
    • Unknown

      public static final ReportingStatus Unknown
      The reporting status of the sport event is unknown
  • Method Details

    • values

      public static ReportingStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ReportingStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • valueFromMessageStatus

      public static ReportingStatus valueFromMessageStatus(com.sportradar.uf.datamodel.UfReportingStatus status)
      Maps the value received through a message to the ReportingStatus
      Parameters:
      status - - the sport event status received as a message
      Returns:
      - if the received sport event status is in a known state, the mapped state; otherwise Unknown
    • getIntValue

      public Integer getIntValue()