GallerySharingPermissionTypes Class

public final class GallerySharingPermissionTypes
extends ExpandableStringEnum<GallerySharingPermissionTypes>

This property allows you to specify the permission of sharing gallery. Possible values are: **Private,** **Groups,** **Community.**.

Field Summary

Modifier and Type Field and Description
static final GallerySharingPermissionTypes COMMUNITY

Static value Community for GallerySharingPermissionTypes.

static final GallerySharingPermissionTypes GROUPS

Static value Groups for GallerySharingPermissionTypes.

static final GallerySharingPermissionTypes PRIVATE

Static value Private for GallerySharingPermissionTypes.

Constructor Summary

Constructor Description
GallerySharingPermissionTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GallerySharingPermissionTypes value.

Method Summary

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

Creates or finds a GallerySharingPermissionTypes from its string representation.

static Collection<GallerySharingPermissionTypes> values()

Gets known GallerySharingPermissionTypes values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COMMUNITY

public static final GallerySharingPermissionTypes COMMUNITY

Static value Community for GallerySharingPermissionTypes.

GROUPS

public static final GallerySharingPermissionTypes GROUPS

Static value Groups for GallerySharingPermissionTypes.

PRIVATE

public static final GallerySharingPermissionTypes PRIVATE

Static value Private for GallerySharingPermissionTypes.

Constructor Details

GallerySharingPermissionTypes

@Deprecated
public GallerySharingPermissionTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GallerySharingPermissionTypes value.

Method Details

fromString

public static GallerySharingPermissionTypes fromString(String name)

Creates or finds a GallerySharingPermissionTypes from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding GallerySharingPermissionTypes.

values

public static Collection values()

Gets known GallerySharingPermissionTypes values.

Returns:

known GallerySharingPermissionTypes values.

Applies to