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.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för