ModelDescription Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ModelDescription
- com.
public class ModelDescription
An object describing supported model by name and categories.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
categories()
Get the categories value. |
String |
name()
Get the name value. |
Model |
withCategories(List<String> categories)
Set the categories value. |
Model |
withName(String name)
Set the name value. |
Method Details
categories
public List
Get the categories value.
Returns:
the categories value
name
public String name()
Get the name value.
Returns:
the name value
withCategories
public ModelDescription withCategories(List
Set the categories value.
Parameters:
categories
- the categories value to set
Returns:
the ModelDescription object itself.
withName
public ModelDescription withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the ModelDescription object itself.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.
Azure SDK for Java