次の方法で共有


SettingFields Class

public final class SettingFields
extends ExpandableStringEnum<SettingFields>

Fields in ConfigurationSetting that can be returned from GET queries.

Field Summary

Modifier and Type Field and Description
static final SettingFields CONTENT_TYPE

Populates the 'content_type' from the service.

static final SettingFields ETAG

Populates the 'etag' from the service.

static final SettingFields IS_READ_ONLY

Populates the 'locked' from the service.

static final SettingFields KEY

Populates the 'key' from the service.

static final SettingFields LABEL

Populates the 'label' from the service.

static final SettingFields LAST_MODIFIED

Populates the 'last_modified' from the service.

static final SettingFields TAGS

Populates the 'tags' from the service.

static final SettingFields VALUE

Populates the 'value' from the service.

Constructor Summary

Constructor Description
SettingFields()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SettingFields value.

Method Summary

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

Creates or finds a SettingFields from its string representation.

static String toStringMapper(SettingFields field)

Deprecated

This method is no longer needed. SettingFields is using lower case enum value for the HTTP requests.

Converts the SettingFields to a string that is usable for HTTP requests and logging.

static Collection<SettingFields> values()

Gets known SettingFields values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONTENT_TYPE

public static final SettingFields CONTENT_TYPE

Populates the 'content_type' from the service.

ETAG

public static final SettingFields ETAG

Populates the 'etag' from the service.

IS_READ_ONLY

public static final SettingFields IS_READ_ONLY

Populates the 'locked' from the service.

KEY

public static final SettingFields KEY

Populates the 'key' from the service.

LABEL

public static final SettingFields LABEL

Populates the 'label' from the service.

LAST_MODIFIED

public static final SettingFields LAST_MODIFIED

Populates the 'last_modified' from the service.

TAGS

public static final SettingFields TAGS

Populates the 'tags' from the service.

VALUE

public static final SettingFields VALUE

Populates the 'value' from the service.

Constructor Details

SettingFields

@Deprecated
public SettingFields()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SettingFields value.

Method Details

fromString

public static SettingFields fromString(String name)

Creates or finds a SettingFields from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SettingFields

toStringMapper

@Deprecated
public static String toStringMapper(SettingFields field)

Deprecated

This method is no longer needed. SettingFields is using lower case enum value for the HTTP requests.

Converts the SettingFields to a string that is usable for HTTP requests and logging.

Parameters:

field - SettingFields to map.

Returns:

SettingFields as a lowercase string in the US locale.

values

public static Collection values()

Gets known SettingFields values.

Returns:

known SettingFields values.

Applies to