Class ListAnnouncementSubscriptionsRequest
Implements
Inherited Members
Namespace: Oci.AnnouncementsService.Requests
Assembly: OCI.DotNetSDK.Announcementsservice.dll
Syntax
public class ListAnnouncementSubscriptionsRequest : IOciRequest
Examples
Click here to see an example of how to use ListAnnouncementSubscriptions 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. |
Remarks
Required
DisplayName
Declaration
[HttpConverter(TargetEnum.Query, "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A filter to return only resources that match the entire display name given. |
Id
Declaration
[HttpConverter(TargetEnum.Query, "id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the announcement subscription. |
LifecycleState
Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public AnnouncementSubscription.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| AnnouncementSubscription.LifecycleStateEnum? | A filter to return only announcement subscriptions that match the given lifecycle state. |
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 "List" call. |
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 complete 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 ListAnnouncementSubscriptionsRequest.SortByEnum? SortBy { get; set; }
Property Value
| Type | Description |
|---|---|
| ListAnnouncementSubscriptionsRequest.SortByEnum? | The criteria to sort by. You can specify only one sort order. The default sort order for the creation date of resources is descending. The default sort order for display names is ascending. |
SortOrder
Declaration
[HttpConverter(TargetEnum.Query, "sortOrder")]
public SortOrder? SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| SortOrder? | The sort order to use, whether ascending ('ASC') or descending ('DESC'). |