public enum CustomAffinityField extends Enum<CustomAffinityField> implements EntityField
Enum
to facilitate the selection of fields for CustomAffinity
.Enum Constant and Description |
---|
CustomAffinityId
The ID of the custom affinity.
|
Description
The description of this custom affinity audience.
|
Name
The name of this custom affinity.
|
Status
Status of custom affinity, ENABLED or REMOVED.
|
Tokens
List of custom affinity tokens that this custom affinity is composed of.
|
Type
The type of this custom affinity, CUSTOM_AFFINITY or CUSTOM_INTENT.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFilterable()
If the field is filterable.
|
static CustomAffinityField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomAffinityField[] |
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 CustomAffinityField CustomAffinityId
public static final CustomAffinityField Description
public static final CustomAffinityField Name
public static final CustomAffinityField Status
public static final CustomAffinityField Tokens
CustomAffinityService#get
method without the need to select.public static final CustomAffinityField Type
public static CustomAffinityField[] values()
for (CustomAffinityField c : CustomAffinityField.values()) System.out.println(c);
public static CustomAffinityField 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 © 2020. All Rights Reserved.