Class ListHttpRedirectsRequest
Implements
Inherited Members
Namespace: Oci.WaasService.Requests
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class ListHttpRedirectsRequest : IOciRequest
Examples
Click here to see an example of how to use ListHttpRedirects request.
Properties
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. This number is generated when the compartment is created. |
Remarks
Required
DisplayName
Declaration
[HttpConverter(TargetEnum.Query, "displayName", CollectionFormatType.Multi)]
public List<string> DisplayName { get; set; }
Property Value
Type | Description |
---|---|
List<string> | Filter redirects using a display name. |
Id
Declaration
[HttpConverter(TargetEnum.Query, "id", CollectionFormatType.Multi)]
public List<string> Id { get; set; }
Property Value
Type | Description |
---|---|
List<string> | Filter redirects using a list of redirect OCIDs. |
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState", CollectionFormatType.Multi)]
public List<LifecycleStates> LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
List<LifecycleStates> | Filter redirects using a list of lifecycle states. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of items to return in a paginated call. If unspecified, defaults to |
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
Page
Declaration
[HttpConverter(TargetEnum.Query, "page")]
public string Page { get; set; }
Property Value
Type | Description |
---|---|
string | The value of the |
SortBy
Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListHttpRedirectsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type | Description |
---|---|
ListHttpRedirectsRequest.SortByEnum? | The field to sort the results of the List query. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public ListHttpRedirectsRequest.SortOrderEnum? SortOrder { get; set; }
Property Value
Type | Description |
---|---|
ListHttpRedirectsRequest.SortOrderEnum? | The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to |
TimeCreatedGreaterThanOrEqualTo
Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedGreaterThanOrEqualTo")]
public DateTime? TimeCreatedGreaterThanOrEqualTo { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | A filter that matches redirects created on or after the specified date and time. |
TimeCreatedLessThan
Declaration
[HttpConverter(TargetEnum.Query, "timeCreatedLessThan")]
public DateTime? TimeCreatedLessThan { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | A filter that matches redirects created before the specified date-time. Default to 1 day before now. |