Freshness Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<Freshness> - com.
microsoft. azure. cognitiveservices. search. websearch. models. Freshness
- com.
- com.
public class Freshness
Defines values for Freshness.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Freshness |
DAY
Static value Day for Freshness. |
final Freshness |
MONTH
Static value Month for Freshness. |
final Freshness |
WEEK
Static value Week for Freshness. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Freshness |
fromString(String name)
Creates or finds a Freshness from its string representation. |
Collection<Freshness> | values() |
Field Details
DAY
public static final Freshness DAY= fromString("Day")
Static value Day for Freshness.
MONTH
public static final Freshness MONTH= fromString("Month")
Static value Month for Freshness.
WEEK
public static final Freshness WEEK= fromString("Week")
Static value Week for 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