Class GetUnsubscriptionRequest
Implements
Inherited Members
Namespace: Oci.OnsService.Requests
Assembly: OCI.DotNetSDK.Ons.dll
Syntax
public class GetUnsubscriptionRequest : IOciRequest
Examples
Click here to see an example of how to use GetUnsubscription request.
Properties
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[HttpConverter(TargetEnum.Path, "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the subscription to unsubscribe from. |
Remarks
Required
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. |
Protocol
Declaration
[Required(ErrorMessage = "Protocol is required.")]
[HttpConverter(TargetEnum.Query, "protocol")]
public string Protocol { get; set; }
Property Value
Type | Description |
---|---|
string | The protocol used for the subscription.
|
Remarks
Required
Token
Declaration
[Required(ErrorMessage = "Token is required.")]
[HttpConverter(TargetEnum.Query, "token")]
public string Token { get; set; }
Property Value
Type | Description |
---|---|
string | The subscription confirmation token. |
Remarks
Required