Class ListGuardrailVersionsRequest
Implements
Inherited Members
Namespace: Oci.GenerativeaiinferenceService.Requests
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class ListGuardrailVersionsRequest : IOciRequest
Examples
Click here to see an example of how to use ListGuardrailVersions request.
Properties
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. |
OpcCompartmentId
Declaration
[Required(ErrorMessage = "OpcCompartmentId is required.")]
[HttpConverter(TargetEnum.Header, "opc-compartment-id")]
public string OpcCompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The client compartment ID. |
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The client request ID for tracing. |
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. |
State
Declaration
[HttpConverter(TargetEnum.Query, "state")]
public GuardrailVersion.StateEnum? State { get; set; }
Property Value
| Type | Description |
|---|---|
| GuardrailVersion.StateEnum? | A filter to return only the guardrail versions whose state matches the given value. |