SharingState Class

public final class SharingState
extends ExpandableStringEnum<SharingState>

The sharing state of the gallery. The sharing state of the gallery, which only appears in the response.

Field Summary

Modifier and Type Field and Description
static final SharingState FAILED

Static value Failed for SharingState.

static final SharingState IN_PROGRESS

Static value InProgress for SharingState.

static final SharingState SUCCEEDED

Static value Succeeded for SharingState.

static final SharingState UNKNOWN

Static value Unknown for SharingState.

Constructor Summary

Constructor Description
SharingState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SharingState value.

Method Summary

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

Creates or finds a SharingState from its string representation.

static Collection<SharingState> values()

Gets known SharingState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FAILED

public static final SharingState FAILED

Static value Failed for SharingState.

IN_PROGRESS

public static final SharingState IN_PROGRESS

Static value InProgress for SharingState.

SUCCEEDED

public static final SharingState SUCCEEDED

Static value Succeeded for SharingState.

UNKNOWN

public static final SharingState UNKNOWN

Static value Unknown for SharingState.

Constructor Details

SharingState

@Deprecated
public SharingState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SharingState value.

Method Details

fromString

public static SharingState fromString(String name)

Creates or finds a SharingState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SharingState.

values

public static Collection values()

Gets known SharingState values.

Returns:

known SharingState values.

Applies to