Class ListModelDiscoveryRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.generativeai.requests.ListModelDiscoveryRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231130") public class ListModelDiscoveryRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/generativeai/ListModelDiscoveryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListModelDiscoveryRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListModelDiscoveryRequest.Builderstatic classListModelDiscoveryRequest.ModelAccessFilter models by access type.static classListModelDiscoveryRequest.ServingModeA filter to return only resources whose serving modes match the given servingModes.
-
Constructor Summary
Constructors Constructor Description ListModelDiscoveryRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListModelDiscoveryRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.List<String>getApiCapability()Filter models that support any of the specified API capabilities.List<ModelCapability>getCapability()A filter to return only resources their capability matches the given capability.StringgetCompartmentId()The OCID of the compartment in which to list resources.BooleangetIsDedicatedRetired()Filter models based on dedicated retirement status.BooleangetIsDeprecated()If true, return only deprecated models; if false, exclude deprecated models.BooleangetIsOnDemandRetired()Filter models based on on-demand retirement status.IntegergetLimit()For list pagination.List<ListModelDiscoveryRequest.ModelAccess>getModelAccess()Filter models by access type.StringgetModelId()A filter to return only resources whose model identifier matches the given modelId.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetPage()For list pagination.List<String>getRealm()A filter to return only resources whose realm matches the given realm.List<String>getRegion()A filter to return only resources whose region matches the given region.List<ListModelDiscoveryRequest.ServingMode>getServingMode()A filter to return only resources whose serving modes match the given servingModes.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListModelDiscoveryRequest.BuildertoBuilder()Return an instance ofListModelDiscoveryRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment in which to list resources.
-
getRealm
public List<String> getRealm()
A filter to return only resources whose realm matches the given realm.
-
getRegion
public List<String> getRegion()
A filter to return only resources whose region matches the given region.
-
getModelId
public String getModelId()
A filter to return only resources whose model identifier matches the given modelId.
-
getServingMode
public List<ListModelDiscoveryRequest.ServingMode> getServingMode()
A filter to return only resources whose serving modes match the given servingModes.
-
getApiCapability
public List<String> getApiCapability()
Filter models that support any of the specified API capabilities.
-
getCapability
public List<ModelCapability> getCapability()
A filter to return only resources their capability matches the given capability.
-
getModelAccess
public List<ListModelDiscoveryRequest.ModelAccess> getModelAccess()
Filter models by access type.
-
getIsDeprecated
public Boolean getIsDeprecated()
If true, return only deprecated models; if false, exclude deprecated models.
-
getIsOnDemandRetired
public Boolean getIsOnDemandRetired()
Filter models based on on-demand retirement status.
-
getIsDedicatedRetired
public Boolean getIsDedicatedRetired()
Filter models based on dedicated retirement status.
-
getOpcRequestId
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. The only valid characters for request IDs are letters, numbers, underscore, and dash.
-
getLimit
public Integer getLimit()
For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.
-
getPage
public String getPage()
For list pagination.The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.
-
toBuilder
public ListModelDiscoveryRequest.Builder toBuilder()
Return an instance ofListModelDiscoveryRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListModelDiscoveryRequest.Builderthat allows you to modify request properties.
-
builder
public static ListModelDiscoveryRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-