Enum BrandSearchQuerySource
- java.lang.Object
-
- java.lang.Enum<BrandSearchQuerySource>
-
- ch.brix.gql.client.frontify.enums.BrandSearchQuerySource
-
- All Implemented Interfaces:
Serializable,Comparable<BrandSearchQuerySource>,java.lang.constant.Constable
public enum BrandSearchQuerySource extends Enum<BrandSearchQuerySource>
Search sources option. Defines the location of the search results.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EVERYWHERESearch for the results in the whole `Brand`.LIBRARIESSearch for the results in `Libraries`.LIBRARY_VIEWSSearch for the results in the `LibraryPages`.WORKSPACE_PROJECTSSearch for the results in the `WorkspaceProjects`.
-
Method Summary
Modifier and Type Method Description StringtoString()static BrandSearchQuerySourcevalueOf(String name)Returns the enum constant of this type with the specified name.static BrandSearchQuerySource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIBRARIES
@SerializedName("LIBRARIES") public static final BrandSearchQuerySource LIBRARIESSearch for the results in `Libraries`.
-
WORKSPACE_PROJECTS
@SerializedName("WORKSPACE_PROJECTS") public static final BrandSearchQuerySource WORKSPACE_PROJECTSSearch for the results in the `WorkspaceProjects`.
-
EVERYWHERE
@SerializedName("EVERYWHERE") public static final BrandSearchQuerySource EVERYWHERESearch for the results in the whole `Brand`.
-
LIBRARY_VIEWS
@SerializedName("LIBRARY_VIEWS") public static final BrandSearchQuerySource LIBRARY_VIEWSSearch for the results in the `LibraryPages`.
-
-
Method Detail
-
values
public static BrandSearchQuerySource[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BrandSearchQuerySource valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<BrandSearchQuerySource>
-
-