Share via


FreemiumType Class

public final class FreemiumType
extends ExpandableStringEnum<FreemiumType>

Weather or not Managed Instance is freemium.

Field Summary

Modifier and Type Field and Description
static final FreemiumType FREEMIUM

Static value Freemium for FreemiumType.

static final FreemiumType REGULAR

Static value Regular for FreemiumType.

Constructor Summary

Constructor Description
FreemiumType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FreemiumType value.

Method Summary

Modifier and Type Method and Description
static FreemiumType fromString(String name)

Creates or finds a FreemiumType from its string representation.

static Collection<FreemiumType> values()

Gets known FreemiumType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FREEMIUM

public static final FreemiumType FREEMIUM

Static value Freemium for FreemiumType.

REGULAR

public static final FreemiumType REGULAR

Static value Regular for FreemiumType.

Constructor Details

FreemiumType

@Deprecated
public FreemiumType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FreemiumType value.

Method Details

fromString

public static FreemiumType fromString(String name)

Creates or finds a FreemiumType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FreemiumType.

values

public static Collection<FreemiumType> values()

Gets known FreemiumType values.

Returns:

known FreemiumType values.

Applies to