Show / Hide Table of Contents

Class ConfirmationResult

The confirmation details for the specified subscription. For information about confirming subscriptions, see To confirm a subscription.

Inheritance
object
ConfirmationResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 EMAIL protocol, or a URL for a subscription that uses an HTTP-based protocol.

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

In this article
Back to top