@Generated(value="OracleSDKGenerator", comments="API Version: 20221001") 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.
|
Constructor and Description |
---|
ListModelsRequest() |
Modifier and Type | Method and Description |
---|---|
static ListModelsRequest.Builder |
builder()
Return a new builder for this request object.
|
boolean |
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal
to ‘this’.
|
String |
getCompartmentId()
The ID of the compartment in which to list resources.
|
String |
getDisplayName()
A filter to return only resources that match the entire display name given.
|
Model.LifecycleState |
getLifecycleState()
Filter results by the specified lifecycle state.
|
Integer |
getLimit()
The maximum number of items to return.
|
String |
getModelId()
unique model OCID.
|
String |
getOpcRequestId()
The client request ID for tracing.
|
String |
getPage()
The page token representing the page at which to start retrieving results.
|
String |
getProjectId()
The ID of the project for which to list the objects.
|
ListModelsRequest.SortBy |
getSortBy()
Specifies the field to sort by.
|
SortOrder |
getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
ListModelsRequest.Builder |
toBuilder()
Return an instance of
ListModelsRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public String getCompartmentId()
The ID of the compartment in which to list resources.
public String getModelId()
unique model OCID.
public String getProjectId()
The ID of the project for which to list the objects.
public Model.LifecycleState getLifecycleState()
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
public String getDisplayName()
A filter to return only resources that match the entire display name given.
public Integer getLimit()
The maximum number of items to return.
public String getPage()
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
public SortOrder getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.
public ListModelsRequest.SortBy getSortBy()
Specifies the field to sort by. Accepts only one field. By default, when you sort by timeCreated
, the results are shown in descending order. When you sort by displayName
, the results are shown in ascending order. Sort order for the displayName
field is case sensitive.
public String getOpcRequestId()
The client request ID for tracing.
public ListModelsRequest.Builder toBuilder()
Return an instance of ListModelsRequest.Builder
that allows you to modify request properties.
ListModelsRequest.Builder
that allows you to modify request properties.public static ListModelsRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<Void>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<Void>
Copyright © 2016–2024. All rights reserved.