@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public class ListModelsRequest extends BmcRequest<Void>
Example: Click here to see how to use ListModelsRequest.
Modifier and Type | Class and Description |
---|---|
static class |
ListModelsRequest.Builder |
static class |
ListModelsRequest.SortBy
Specifies the field to sort by.
|
static class |
ListModelsRequest.SortOrder
Specifies sort order to use, either
ASC (ascending) or DESC (descending). |
Modifier and Type | Method and Description |
---|---|
static ListModelsRequest.Builder |
builder() |
String |
getCompartmentId()
Filter results by the OCID of the compartment.
|
String |
getCreatedBy()
Filter results by the OCID of the user who created the resource.
|
String |
getDisplayName()
Filter results by its user-friendly name.
|
String |
getId()
Filter results by OCID.
|
ModelLifecycleState |
getLifecycleState()
Filter results by the specified lifecycle state.
|
Integer |
getLimit()
For list pagination.
|
String |
getOpcRequestId()
Unique Oracle-assigned identifier for the request.
|
String |
getPage()
For list pagination.
|
String |
getProjectId()
Filter results by the OCID of the project.
|
ListModelsRequest.SortBy |
getSortBy()
Specifies the field to sort by.
|
ListModelsRequest.SortOrder |
getSortOrder()
Specifies sort order to use, either
ASC (ascending) or DESC (descending). |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration
public static ListModelsRequest.Builder builder()
public String getId()
Filter results by OCID. Must be an OCID of the correct type for the resource type.
public String getDisplayName()
Filter results by its user-friendly name.
public ModelLifecycleState getLifecycleState()
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
public String getCreatedBy()
Filter results by the OCID of the user who created the resource.
public Integer getLimit()
For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. 1 is the minimum, 1000 is the maximum. See List Pagination.
Example: `500`
public String getPage()
For list pagination. The value of the opc-next-page
response
header from the previous "List" call.
See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
public ListModelsRequest.SortOrder getSortOrder()
Specifies sort order to use, either ASC
(ascending) or DESC
(descending).
public ListModelsRequest.SortBy getSortBy()
Specifies the field to sort by. Accepts only one field.
By default, when you sort by timeCreated
, results are shown
in descending order. All other fields default to ascending order. Sort order for displayName
field is case sensitive.
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Copyright © 2016–2021. All rights reserved.