GalleryImageVersionState Class

public final class GalleryImageVersionState
extends ExpandableStringEnum<GalleryImageVersionState>

The state of a gallery image version, derived from its soft-delete status.

Field Summary

Modifier and Type Field and Description
static final GalleryImageVersionState ACTIVE

The gallery image version is active and available for use.

static final GalleryImageVersionState SOFT_DELETED

The gallery image version has been soft-deleted.

Constructor Summary

Constructor Description
GalleryImageVersionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GalleryImageVersionState value.

Method Summary

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

Creates or finds a GalleryImageVersionState from its string representation.

static Collection<GalleryImageVersionState> values()

Gets known GalleryImageVersionState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final GalleryImageVersionState ACTIVE

The gallery image version is active and available for use.

SOFT_DELETED

public static final GalleryImageVersionState SOFT_DELETED

The gallery image version has been soft-deleted. It is available for use only when a specific version is requested, and it will not be resolved as the latest version.

Constructor Details

GalleryImageVersionState

@Deprecated
public GalleryImageVersionState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GalleryImageVersionState value.

Method Details

fromString

public static GalleryImageVersionState fromString(String name)

Creates or finds a GalleryImageVersionState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding GalleryImageVersionState.

values

public static Collection<GalleryImageVersionState> values()

Gets known GalleryImageVersionState values.

Returns:

known GalleryImageVersionState values.

Applies to