共用方式為


CategoryDetail Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.CategoryDetail

public class CategoryDetail

An object describing additional category details.

Method Summary

Modifier and Type Method and Description
List<CelebritiesModel> celebrities()

Get the celebrities value.

List<LandmarksModel> landmarks()

Get the landmarks value.

CategoryDetail withCelebrities(List<CelebritiesModel> celebrities)

Set the celebrities value.

CategoryDetail withLandmarks(List<LandmarksModel> landmarks)

Set the landmarks value.

Method Details

celebrities

public List celebrities()

Get the celebrities value.

Returns:

the celebrities value

landmarks

public List landmarks()

Get the landmarks value.

Returns:

the landmarks value

withCelebrities

public CategoryDetail withCelebrities(List celebrities)

Set the celebrities value.

Parameters:

celebrities - the celebrities value to set

Returns:

the CategoryDetail object itself.

withLandmarks

public CategoryDetail withLandmarks(List landmarks)

Set the landmarks value.

Parameters:

landmarks - the landmarks value to set

Returns:

the CategoryDetail object itself.

Applies to