ListModelsOptions Class
- java.
lang. Object - com.
azure. digitaltwins. core. models. ListModelsOptions
- com.
public final class ListModelsOptions
The optional parameters for listModels(ListModelsOptions options, Context context) and listModels(ListModelsOptions options)
Constructor Summary
| Constructor | Description |
|---|---|
| ListModelsOptions() |
Creates a new instance of ListModelsOptions. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
getDependenciesFor()
Gets the model Ids that will have their dependencies retrieved. |
| Boolean |
getIncludeModelDefinition()
Gets whether to include the model definition in the result. |
| Integer |
getMaxItemsPerPage()
Get the max |
|
List |
setDependenciesFor(List<String> dependenciesFor)
Sets the model Ids that will have their dependencies retrieved. |
|
List |
setIncludeModelDefinition(Boolean includeModelDefinition)
Sets whether to include the model definition in the result. |
|
List |
setMaxItemsPerPage(Integer maxItemsPerPage)
Set the max |
Methods inherited from java.lang.Object
Constructor Details
ListModelsOptions
public ListModelsOptions()
Creates a new instance of ListModelsOptions.
Method Details
getDependenciesFor
public List<String> getDependenciesFor()
Gets the model Ids that will have their dependencies retrieved.
Returns:
getIncludeModelDefinition
public Boolean getIncludeModelDefinition()
Gets whether to include the model definition in the result. If false, only the model metadata will be returned.
Returns:
getMaxItemsPerPage
public Integer 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:
setDependenciesFor
public ListModelsOptions setDependenciesFor(List<String> dependenciesFor)
Sets the model Ids that will have their dependencies retrieved.
Parameters:
Returns:
setIncludeModelDefinition
public ListModelsOptions setIncludeModelDefinition(Boolean includeModelDefinition)
Sets whether to include the model definition in the result. If false, only the model metadata will be returned.
Parameters:
Returns:
setMaxItemsPerPage
public ListModelsOptions setMaxItemsPerPage(Integer maxItemsPerPage)
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:
Returns: