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:
name
- a name to look for
Returns:
the corresponding Freshness
values
public static Collection
Returns:
known Freshness values
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java