ConfirmationResult¶
- class oci.ons.models.ConfirmationResult(**kwargs)¶
Bases:
objectThe confirmation details for the specified subscription. For information about confirming subscriptions, see To confirm a subscription.
Methods:
__init__(**kwargs)Initializes a new ConfirmationResult object with values from keyword arguments.
Attributes:
[Required] Gets the endpoint of this ConfirmationResult.
[Required] Gets the message of this ConfirmationResult.
[Required] Gets the subscription_id of this ConfirmationResult.
[Required] Gets the topic_id of this ConfirmationResult.
[Required] Gets the topic_name of this ConfirmationResult.
[Required] Gets the unsubscribe_url of this ConfirmationResult.
- __init__(**kwargs)¶
Initializes a new ConfirmationResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
topic_name (str) – The value to assign to the topic_name property of this ConfirmationResult.
topic_id (str) – The value to assign to the topic_id property of this ConfirmationResult.
endpoint (str) – The value to assign to the endpoint property of this ConfirmationResult.
unsubscribe_url (str) – The value to assign to the unsubscribe_url property of this ConfirmationResult.
message (str) – The value to assign to the message property of this ConfirmationResult.
subscription_id (str) – The value to assign to the subscription_id property of this ConfirmationResult.
- property endpoint¶
[Required] Gets the endpoint of this ConfirmationResult. 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.
- Returns
The endpoint of this ConfirmationResult.
- Return type
str
- property message¶
[Required] Gets the message of this ConfirmationResult. A human-readable string indicating the status of the subscription confirmation.
- Returns
The message of this ConfirmationResult.
- Return type
str
- property subscription_id¶
[Required] Gets the subscription_id of this ConfirmationResult. The OCID of the subscription specified in the request.
- Returns
The subscription_id of this ConfirmationResult.
- Return type
str
- property topic_id¶
[Required] Gets the topic_id of this ConfirmationResult. The OCID of the topic associated with the specified subscription.
- Returns
The topic_id of this ConfirmationResult.
- Return type
str
- property topic_name¶
[Required] Gets the topic_name of this ConfirmationResult. The name of the subscribed topic.
- Returns
The topic_name of this ConfirmationResult.
- Return type
str
- property unsubscribe_url¶
[Required] Gets the unsubscribe_url of this ConfirmationResult. The URL for unsubscribing from the topic.
- Returns
The unsubscribe_url of this ConfirmationResult.
- Return type
str