Freshness Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum - com.
microsoft. azure. cognitiveservices. search. websearch. models. Freshness
- com.
- com.
public final class Freshness
extends com.microsoft.rest.ExpandableStringEnum<Freshness>
Defines values for Freshness.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final Freshness |
DAY
Static value Day for Freshness. |
static final Freshness |
MONTH
Static value Month for Freshness. |
static final Freshness |
WEEK
Static value Week for Freshness. |
Constructor Summary
Constructor | Description | |
---|---|---|
Freshness() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Freshness |
fromString(String name)
Creates or finds a Freshness from its string representation. |
static java.util.Collection<Freshness> | values() |
Methods inherited from com.microsoft.rest.ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DAY
public static final Freshness DAY
Static value Day for Freshness.
MONTH
public static final Freshness MONTH
Static value Month for Freshness.
WEEK
public static final Freshness WEEK
Static value Week for Freshness.
Constructor Details
Freshness
public Freshness()
Method Details
fromString
public static Freshness fromString(String name)
Creates or finds a Freshness from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java