a f @s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@s^eZdZdZdZdZddZeddZe dd Z e j d d Z d d Z d dZ ddZdS)Actionz$ Action for scheduled task. STREAMPURGEcKsddi|_ddi|_d|_dS)a Initializes a new Action object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.log_analytics.models.PurgeAction` * :class:`~oci.log_analytics.models.StreamAction` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this Action. Allowed values for this property are: "STREAM", "PURGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str typestrN)Z swagger_typesZ attribute_map_type)selfkwargsrC/usr/lib/python3.9/site-packages/oci/log_analytics/models/action.py__init__s zAction.__init__cCs(|d}|dkrdS|dkr dSdSdS)z Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r rZ PurgeActionrZ StreamActionrNr)Zobject_dictionaryr rrr get_subtype5s zAction.get_subtypecCs|jS)aW **[Required]** Gets the type of this Action. Action type discriminator. Allowed values for this property are: "STREAM", "PURGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this Action. :rtype: str )r r rrrr Es z Action.typecCs ddg}t||sd}||_dS)z Sets the type of this Action. Action type discriminator. :param type: The type of this Action. :type: str rrZUNKNOWN_ENUM_VALUEN)rr )r r Zallowed_valuesrrrr Ts  cCst|SN)rrrrr__repr__cszAction.__repr__cCs|dur dS|j|jkS)NF)__dict__r otherrrr__eq__fsz Action.__eq__cCs ||k Srrrrrr__ne__lsz Action.__ne__N)__name__ __module__ __qualname____doc__Z TYPE_STREAMZ TYPE_PURGEr staticmethodrpropertyr setterrrrrrrrr s   rN)Zoci.utilrrrZoci.decoratorsrobjectrrrrrs