Enum Class ResourceTypeGroup

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

public enum ResourceTypeGroup extends Enum<ResourceTypeGroup>
Enumerates groups of resources represented by the Urn
  • Enum Constant Details

    • MATCH

      public static final ResourceTypeGroup MATCH
      The resource represents a sport event of race type
    • RACE

      public static final ResourceTypeGroup RACE
      The resource represents a tournament
    • TOURNAMENT

      public static final ResourceTypeGroup TOURNAMENT
      The resource represents a tournament
    • OTHER

      public static final ResourceTypeGroup OTHER
      The non-specific URN type specifier
  • Method Details

    • values

      public static ResourceTypeGroup[] 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 ResourceTypeGroup 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