WarFrequency

Represents the WarFrequency enum class of the Clash of Clans API.

Entries

Link copied to clipboard
@SerializedName(value = "unknown")
UNKNOWN

The war frequency is unknown or not specified.

Link copied to clipboard
@SerializedName(value = "always")
ALWAYS

The clan is at war always.

Link copied to clipboard
@SerializedName(value = "moreThanOncePerWeek")
MORE_THAN_ONCE_PER_WEEK

The clan is at war more than once per week.

Link copied to clipboard
@SerializedName(value = "OncePerWeek")
ONCE_PER_WEEK

The clan is at war once per week.

Link copied to clipboard
@SerializedName(value = "LessThanOncePerWeek")
LESS_THAN_ONCE_PER_WEEK

The clan is at war less than once per week.

Link copied to clipboard
@SerializedName(value = "never")
NEVER

The clan is not at war (never at war).

Link copied to clipboard
@SerializedName(value = "any")
ANY

The war frequency can be any or is not restricted.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.