Class ConfirmationResult
The confirmation details for the specified subscription. For information about confirming subscriptions, see To confirm a subscription.
Inherited Members
Namespace: Oci.OnsService.Models
Assembly: OCI.DotNetSDK.Ons.dll
Syntax
public class ConfirmationResult
Properties
Endpoint
Declaration
[Required(ErrorMessage = "Endpoint is required.")]
[JsonProperty(PropertyName = "endpoint")]
public string Endpoint { get; set; }
Property Value
Type | Description |
---|---|
string | A locator that corresponds to the subscription protocol.
For example, an email address for a subscription that uses the |
Remarks
Required
Message
Declaration
[Required(ErrorMessage = "Message is required.")]
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string | A human-readable string indicating the status of the subscription confirmation. |
Remarks
Required
SubscriptionId
Declaration
[Required(ErrorMessage = "SubscriptionId is required.")]
[JsonProperty(PropertyName = "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the subscription specified in the request. |
Remarks
Required
TopicId
Declaration
[Required(ErrorMessage = "TopicId is required.")]
[JsonProperty(PropertyName = "topicId")]
public string TopicId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the topic associated with the specified subscription. |
Remarks
Required
TopicName
Declaration
[Required(ErrorMessage = "TopicName is required.")]
[JsonProperty(PropertyName = "topicName")]
public string TopicName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the subscribed topic. |
Remarks
Required
UnsubscribeUrl
Declaration
[Required(ErrorMessage = "UnsubscribeUrl is required.")]
[JsonProperty(PropertyName = "unsubscribeUrl")]
public string UnsubscribeUrl { get; set; }
Property Value
Type | Description |
---|---|
string | The URL for unsubscribing from the topic. |
Remarks
Required