ConfirmationResult

class oci.ons.models.ConfirmationResult(**kwargs)

Bases: object

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

__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.
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
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
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
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
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
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