ruạṛ
a ���fQ: � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sZ e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zd(d)� Zd*d+� Zd,d-� Zd.S )/�Subscriptionz� The subscription's configuration. For general information about subscriptions, see `Notifications Overview`__. __ https://docs.cloud.oracle.com/iaas/Content/Notification/Concepts/notificationoverview.htm �PENDING�ACTIVE�DELETEDc K s� dddddddddddd�| _ dddd d ddd dddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new Subscription object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this Subscription. :type id: str :param topic_id: The value to assign to the topic_id property of this Subscription. :type topic_id: str :param protocol: The value to assign to the protocol property of this Subscription. :type protocol: str :param endpoint: The value to assign to the endpoint property of this Subscription. :type endpoint: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Subscription. Allowed values for this property are: "PENDING", "ACTIVE", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param compartment_id: The value to assign to the compartment_id property of this Subscription. :type compartment_id: str :param created_time: The value to assign to the created_time property of this Subscription. :type created_time: int :param deliver_policy: The value to assign to the deliver_policy property of this Subscription. :type deliver_policy: str :param etag: The value to assign to the etag property of this Subscription. :type etag: str :param freeform_tags: The value to assign to the freeform_tags property of this Subscription. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Subscription. :type defined_tags: dict(str, dict(str, object)) �str�intzdict(str, str)zdict(str, dict(str, object)))�id�topic_id�protocol�endpoint�lifecycle_state�compartment_id�created_time�deliver_policy�etag� freeform_tags�defined_tagsr ZtopicIdr r ZlifecycleStateZ compartmentIdZcreatedTimeZ deliverPolicyr ZfreeformTagsZdefinedTagsN) Z swagger_typesZ attribute_map�_id� _topic_id� _protocol� _endpoint�_lifecycle_state�_compartment_id� _created_time�_deliver_policy�_etag�_freeform_tags� _defined_tags)�self�kwargs� r$ �?/usr/lib/python3.9/site-packages/oci/ons/models/subscription.py�__init__! sF 5��zSubscription.__init__c C s | j S )a **[Required]** Gets the id of this Subscription. The `OCID`__ of the subscription. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this Subscription. :rtype: str �r �r"