Class ListModelDiscoveryRequest
Implements
Inherited Members
Namespace: Oci.GenerativeaiService.Requests
Assembly: OCI.DotNetSDK.Generativeai.dll
Syntax
public class ListModelDiscoveryRequest : IOciRequest
Examples
Click here to see an example of how to use ListModelDiscovery request.
Properties
ApiCapability
Declaration
[HttpConverter(TargetEnum.Query, "apiCapability", CollectionFormatType.Multi)]
public List<string> ApiCapability { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | Filter models that support any of the specified API capabilities. |
Capability
Declaration
[HttpConverter(TargetEnum.Query, "capability", CollectionFormatType.Multi)]
public List<ModelCapability> Capability { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ModelCapability> | A filter to return only resources their capability matches the given capability. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the compartment in which to list resources. |
Remarks
Required
IsDedicatedRetired
Declaration
[HttpConverter(TargetEnum.Query, "isDedicatedRetired")]
public bool? IsDedicatedRetired { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Filter models based on dedicated retirement status. |
IsDeprecated
Declaration
[HttpConverter(TargetEnum.Query, "isDeprecated")]
public bool? IsDeprecated { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | If true, return only deprecated models; if false, exclude deprecated models. |
IsOnDemandRetired
Declaration
[HttpConverter(TargetEnum.Query, "isOnDemandRetired")]
public bool? IsOnDemandRetired { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Filter models based on on-demand retirement status. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | 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. |
ModelAccess
Declaration
[HttpConverter(TargetEnum.Query, "modelAccess", CollectionFormatType.Multi)]
public List<ListModelDiscoveryRequest.ModelAccessEnum> ModelAccess { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ListModelDiscoveryRequest.ModelAccessEnum> | Filter models by access type. |
ModelId
Declaration
[HttpConverter(TargetEnum.Query, "modelId")]
public string ModelId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A filter to return only resources whose model identifier matches the given modelId. |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | 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. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
| Type | Description |
|---|---|
| string | 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. |
Realm
Declaration
[HttpConverter(TargetEnum.Query, "realm", CollectionFormatType.Multi)]
public List<string> Realm { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | A filter to return only resources whose realm matches the given realm. |
Region
Declaration
[HttpConverter(TargetEnum.Query, "region", CollectionFormatType.Multi)]
public List<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | A filter to return only resources whose region matches the given region. |
ServingMode
Declaration
[HttpConverter(TargetEnum.Query, "servingMode", CollectionFormatType.Multi)]
public List<ListModelDiscoveryRequest.ServingModeEnum> ServingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| List<ListModelDiscoveryRequest.ServingModeEnum> | A filter to return only resources whose serving modes match the given servingModes. |