Class ListModelsOptions
java.lang.Object
com.azure.digitaltwins.core.models.ListModelsOptions
The optional parameters for
DigitalTwinsClient.listModels(ListModelsOptions, Context)
and
DigitalTwinsAsyncClient.listModels(ListModelsOptions)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the model Ids that will have their dependencies retrieved.Gets whether to include the model definition in the result.Get the maxItemsPerPage property: The maximum number of items to retrieve per request.setDependenciesFor
(List<String> dependenciesFor) Sets the model Ids that will have their dependencies retrieved.setIncludeModelDefinition
(Boolean includeModelDefinition) Sets whether to include the model definition in the result.setMaxItemsPerPage
(Integer maxItemsPerPage) Set the maxItemsPerPage property: The maximum number of items to retrieve per request.
-
Constructor Details
-
ListModelsOptions
public ListModelsOptions()
-
-
Method Details
-
getMaxItemsPerPage
Get the maxItemsPerPage property: The maximum number of items to retrieve per request. The server may choose to return less than the requested number.- Returns:
- the maxItemsPerPage value.
-
setMaxItemsPerPage
Set the maxItemsPerPage property: The maximum number of items to retrieve per request. The server may choose to return less than the requested number.- Parameters:
maxItemsPerPage
- the maxItemsPerPage value to set.- Returns:
- the ListModelsOptions object itself.
-
getIncludeModelDefinition
Gets whether to include the model definition in the result. If false, only the model metadata will be returned.- Returns:
- the includeModelDefinition value.
-
setIncludeModelDefinition
Sets whether to include the model definition in the result. If false, only the model metadata will be returned.- Parameters:
includeModelDefinition
- the includeModelDefinition value to set.- Returns:
- the ListModelOptions object itself.
-
getDependenciesFor
Gets the model Ids that will have their dependencies retrieved.- Returns:
- the dependenciesFor value.
-
setDependenciesFor
Sets the model Ids that will have their dependencies retrieved.- Parameters:
dependenciesFor
- the dependenciesFor value to set.- Returns:
- the ListModelOptions object itself.
-