CategoryDetail Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. CategoryDetail
- com.
public class CategoryDetail
An object describing additional category details.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Celebrities |
celebrities()
Get the celebrities value. |
List<Landmarks |
landmarks()
Get the landmarks value. |
Category |
withCelebrities(List<CelebritiesModel> celebrities)
Set the celebrities value. |
Category |
withLandmarks(List<LandmarksModel> landmarks)
Set the landmarks value. |
Method Details
celebrities
public List
Get the celebrities value.
Returns:
the celebrities value
landmarks
public List
Get the landmarks value.
Returns:
the landmarks value
withCelebrities
public CategoryDetail withCelebrities(List
Set the celebrities value.
Parameters:
celebrities
- the celebrities value to set
Returns:
the CategoryDetail object itself.
withLandmarks
public CategoryDetail withLandmarks(List
Set the landmarks value.
Parameters:
landmarks
- the landmarks value to set
Returns:
the CategoryDetail object itself.