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) TaskDetailsa An object that represents a task within the flow defined by the connector. An example task is a filter for error logs. For more information about flows defined by connectors, see `Overview of Connector Hub`__. For configuration instructions, see `Creating a Connector`__. __ https://docs.cloud.oracle.com/iaas/Content/connector-hub/overview.htm __ https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm functionlogRulecKsddi|_ddi|_d|_dS)a Initializes a new TaskDetails 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.sch.models.FunctionTaskDetails` * :class:`~oci.sch.models.LogRuleTaskDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param kind: The value to assign to the kind property of this TaskDetails. Allowed values for this property are: "function", "logRule", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type kind: str kindstrN)Z swagger_typesZ attribute_map_kind)selfkwargsr?/usr/lib/python3.9/site-packages/oci/sch/models/task_details.py__init__"s zTaskDetails.__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 rZFunctionTaskDetailsrZLogRuleTaskDetailsrNr)Zobject_dictionarytyperrr get_subtype=s zTaskDetails.get_subtypecCs|jS)ab **[Required]** Gets the kind of this TaskDetails. The type discriminator. Allowed values for this property are: "function", "logRule", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The kind of this TaskDetails. :rtype: str )r r rrrr Ms zTaskDetails.kindcCs ddg}t||sd}||_dS)z Sets the kind of this TaskDetails. The type discriminator. :param kind: The kind of this TaskDetails. :type: str rrZUNKNOWN_ENUM_VALUEN)rr )r r Zallowed_valuesrrrr \s  cCst|SN)rrrrr__repr__kszTaskDetails.__repr__cCs|dur dS|j|jkS)NF)__dict__r otherrrr__eq__nszTaskDetails.__eq__cCs ||k Srrrrrr__ne__tszTaskDetails.__ne__N)__name__ __module__ __qualname____doc__Z KIND_FUNCTIONZ KIND_LOG_RULEr staticmethodrpropertyr setterrrrrrrrr s   rN)Zoci.utilrrrZoci.decoratorsrobjectrrrrrs