HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/sch/models/__pycache__/function_task_details.cpython-39.pyc
a

���f��@sDddlmZddlmZmZmZddlmZeGdd�de��ZdS)�)�TaskDetails�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s~eZdZdZdd�Zedd��Zejdd��Zedd��Zejd	d��Zed
d��Z	e	jdd��Z	d
d�Z
dd�Zdd�ZdS)�FunctionTaskDetailsaE
    The Functions task.
    Batch input for a function can be limited by either size or time. The first limit reached determines the boundary of the batch.
    For configuration instructions, see
    `Creating a Connector`__.

    __ https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm
    cKsBddddd�|_ddddd�|_d|_d|_d|_d|_d	|_dS)
a
        Initializes a new FunctionTaskDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.sch.models.FunctionTaskDetails.kind` attribute
        of this class is ``function`` and it should not be changed.
        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 FunctionTaskDetails.
            Allowed values for this property are: "function", "logRule"
        :type kind: str

        :param function_id:
            The value to assign to the function_id property of this FunctionTaskDetails.
        :type function_id: str

        :param batch_size_in_kbs:
            The value to assign to the batch_size_in_kbs property of this FunctionTaskDetails.
        :type batch_size_in_kbs: int

        :param batch_time_in_sec:
            The value to assign to the batch_time_in_sec property of this FunctionTaskDetails.
        :type batch_time_in_sec: int

        �str�int)�kind�function_id�batch_size_in_kbs�batch_time_in_secrZ
functionIdZbatchSizeInKbsZbatchTimeInSecN�function)Z
swagger_typesZ
attribute_mapZ_kind�_function_id�_batch_size_in_kbs�_batch_time_in_sec)�self�kwargs�r�H/usr/lib/python3.9/site-packages/oci/sch/models/function_task_details.py�__init__s��zFunctionTaskDetails.__init__cCs|jS)a9
        **[Required]** Gets the function_id of this FunctionTaskDetails.
        The `OCID`__ of the function to be used as a task.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :return: The function_id of this FunctionTaskDetails.
        :rtype: str
        �r�rrrrrCszFunctionTaskDetails.function_idcCs
||_dS)a4
        Sets the function_id of this FunctionTaskDetails.
        The `OCID`__ of the function to be used as a task.

        __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm


        :param function_id: The function_id of this FunctionTaskDetails.
        :type: str
        Nr)rrrrrrQscCs|jS)z�
        Gets the batch_size_in_kbs of this FunctionTaskDetails.
        Size limit (kilobytes) for batch sent to invoke the function.


        :return: The batch_size_in_kbs of this FunctionTaskDetails.
        :rtype: int
        �rrrrrr
_s
z%FunctionTaskDetails.batch_size_in_kbscCs
||_dS)z�
        Sets the batch_size_in_kbs of this FunctionTaskDetails.
        Size limit (kilobytes) for batch sent to invoke the function.


        :param batch_size_in_kbs: The batch_size_in_kbs of this FunctionTaskDetails.
        :type: int
        Nr)rr
rrrr
ks
cCs|jS)z�
        Gets the batch_time_in_sec of this FunctionTaskDetails.
        Time limit (seconds) for batch sent to invoke the function.


        :return: The batch_time_in_sec of this FunctionTaskDetails.
        :rtype: int
        �rrrrrrws
z%FunctionTaskDetails.batch_time_in_seccCs
||_dS)z�
        Sets the batch_time_in_sec of this FunctionTaskDetails.
        Time limit (seconds) for batch sent to invoke the function.


        :param batch_time_in_sec: The batch_time_in_sec of this FunctionTaskDetails.
        :type: int
        Nr)rrrrrr�s
cCst|�S�N)rrrrr�__repr__�szFunctionTaskDetails.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__�szFunctionTaskDetails.__eq__cCs
||kSrrrrrr�__ne__�szFunctionTaskDetails.__ne__N)
�__name__�
__module__�__qualname__�__doc__r�propertyr�setterr
rrr!r"rrrrrs"	,







rN)	Ztask_detailsrZoci.utilrrrZoci.decoratorsrrrrrr�<module>s