NotificationSuccessDestinationDetails¶
- class oci.functions.models.NotificationSuccessDestinationDetails(**kwargs)¶
Bases:
SuccessDestinationDetailsThe destination topic in the Notifications service to which to send the response of the successful detached function invocation.
Example: {“kind”: “NOTIFICATION”, “topicId”: “topic_OCID”}
Attributes:
A constant which can be used with the kind property of a SuccessDestinationDetails.
A constant which can be used with the kind property of a SuccessDestinationDetails.
A constant which can be used with the kind property of a SuccessDestinationDetails.
A constant which can be used with the kind property of a SuccessDestinationDetails.
[Required] Gets the kind of this SuccessDestinationDetails.
[Required] Gets the topic_id of this NotificationSuccessDestinationDetails.
Methods:
__init__(**kwargs)Initializes a new NotificationSuccessDestinationDetails object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- KIND_NONE = 'NONE'¶
A constant which can be used with the kind property of a SuccessDestinationDetails. This constant has a value of “NONE”
- KIND_NOTIFICATION = 'NOTIFICATION'¶
A constant which can be used with the kind property of a SuccessDestinationDetails. This constant has a value of “NOTIFICATION”
- KIND_QUEUE = 'QUEUE'¶
A constant which can be used with the kind property of a SuccessDestinationDetails. This constant has a value of “QUEUE”
- KIND_STREAM = 'STREAM'¶
A constant which can be used with the kind property of a SuccessDestinationDetails. This constant has a value of “STREAM”
- __init__(**kwargs)¶
Initializes a new NotificationSuccessDestinationDetails object with values from keyword arguments. The default value of the
kindattribute of this class isNOTIFICATIONand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
kind (str) – The value to assign to the kind property of this NotificationSuccessDestinationDetails. Allowed values for this property are: “NOTIFICATION”, “QUEUE”, “STREAM”, “NONE”
topic_id (str) – The value to assign to the topic_id property of this NotificationSuccessDestinationDetails.
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property kind¶
[Required] Gets the kind of this SuccessDestinationDetails. The type of destination for the response to a successful detached function invocation.
Allowed values for this property are: “NOTIFICATION”, “QUEUE”, “STREAM”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The kind of this SuccessDestinationDetails.
- Return type
str