public enum AccountLabelField extends Enum<AccountLabelField> implements EntityField
Enum
to facilitate the selection of fields for AccountLabel
.Enum Constant and Description |
---|
LabelId
ID of the label.
|
LabelName
Name of the label.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFilterable()
If the field is filterable.
|
static AccountLabelField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountLabelField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final AccountLabelField LabelId
This field is selectable/filterable in AccountLabelService.
To select labels or filter by label ID in ManagedCustomerService#get
, use the AccountLabels
field instead.
public static final AccountLabelField LabelName
This field is selectable in AccountLabelService.
To select labels in ManagedCustomerService#get
, use the AccountLabels
field instead.
public static AccountLabelField[] values()
for (AccountLabelField c : AccountLabelField.values()) System.out.println(c);
public static AccountLabelField valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isFilterable()
EntityField
isFilterable
in interface EntityField
Copyright © 2018. All Rights Reserved.