ruạṛ
a ���fz) � @ 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 @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �MediaWorkflowTaskz� Defines the type of processing to be run at a given point in the workflow, parameters to configure the processing, and any processing that must be completed before this processing begins. c K sZ dddddddd�| _ dddd d ddd�| _d | _d | _d | _d | _d | _d | _d | _d S )a? Initializes a new MediaWorkflowTask object with values from keyword arguments. 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 MediaWorkflowTask. :type type: str :param version: The value to assign to the version property of this MediaWorkflowTask. :type version: int :param key: The value to assign to the key property of this MediaWorkflowTask. :type key: str :param prerequisites: The value to assign to the prerequisites property of this MediaWorkflowTask. :type prerequisites: list[str] :param enable_parameter_reference: The value to assign to the enable_parameter_reference property of this MediaWorkflowTask. :type enable_parameter_reference: str :param enable_when_referenced_parameter_equals: The value to assign to the enable_when_referenced_parameter_equals property of this MediaWorkflowTask. :type enable_when_referenced_parameter_equals: dict(str, object) :param parameters: The value to assign to the parameters property of this MediaWorkflowTask. :type parameters: dict(str, object) �str�intz list[str]zdict(str, object))�type�version�key� prerequisites�enable_parameter_reference�'enable_when_referenced_parameter_equals� parametersr r r r ZenableParameterReferenceZ#enableWhenReferencedParameterEqualsr N) Z swagger_typesZ attribute_map�_type�_version�_key�_prerequisites�_enable_parameter_reference�(_enable_when_referenced_parameter_equals�_parameters)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/media_services/models/media_workflow_task.py�__init__ s. #�� zMediaWorkflowTask.__init__c C s | j S )z� **[Required]** Gets the type of this MediaWorkflowTask. The type of process to run at this task. Refers to the name of a MediaWorkflowTaskDeclaration. :return: The type of this MediaWorkflowTask. :rtype: str �r �r r r r r Q s zMediaWorkflowTask.typec C s || _ dS )z� Sets the type of this MediaWorkflowTask. The type of process to run at this task. Refers to the name of a MediaWorkflowTaskDeclaration. :param type: The type of this MediaWorkflowTask. :type: str Nr )r r r r r r ] s c C s | j S )z� **[Required]** Gets the version of this MediaWorkflowTask. The version of the MediaWorkflowTaskDeclaration. :return: The version of this MediaWorkflowTask. :rtype: int �r r r r r r i s zMediaWorkflowTask.versionc C s || _ dS )z� Sets the version of this MediaWorkflowTask. The version of the MediaWorkflowTaskDeclaration. :param version: The version of this MediaWorkflowTask. :type: int Nr )r r r r r r u s c C s | j S )ah **[Required]** Gets the key of this MediaWorkflowTask. A unique identifier for this task within its workflow. Keys are used to reference a task within workflows and MediaWorkflowJobs. Tasks are referenced as prerequisites and to track output and state. :return: The key of this MediaWorkflowTask. :rtype: str �r r r r r r � s zMediaWorkflowTask.keyc C s || _ dS )a[ Sets the key of this MediaWorkflowTask. A unique identifier for this task within its workflow. Keys are used to reference a task within workflows and MediaWorkflowJobs. Tasks are referenced as prerequisites and to track output and state. :param key: The key of this MediaWorkflowTask. :type: str Nr )r r r r r r � s c C s | j S )a Gets the prerequisites of this MediaWorkflowTask. Keys to the other tasks in this workflow that must be completed before execution of this task can begin. :return: The prerequisites of this MediaWorkflowTask. :rtype: list[str] �r r r r r r � s zMediaWorkflowTask.prerequisitesc C s || _ dS )a Sets the prerequisites of this MediaWorkflowTask. Keys to the other tasks in this workflow that must be completed before execution of this task can begin. :param prerequisites: The prerequisites of this MediaWorkflowTask. :type: list[str] Nr )r r r r r r � s c C s | j S )a Gets the enable_parameter_reference of this MediaWorkflowTask. Allows this task to be conditionally enabled. If no value or a blank value is given, the task is unconditionally enbled. Otherwise the given string specifies a parameter of the job created for this task's workflow using the JSON pointer syntax. The JSON pointer is validated when a job is created from the workflow of this task. :return: The enable_parameter_reference of this MediaWorkflowTask. :rtype: str �r r r r r r � s z,MediaWorkflowTask.enable_parameter_referencec C s || _ dS )a- Sets the enable_parameter_reference of this MediaWorkflowTask. Allows this task to be conditionally enabled. If no value or a blank value is given, the task is unconditionally enbled. Otherwise the given string specifies a parameter of the job created for this task's workflow using the JSON pointer syntax. The JSON pointer is validated when a job is created from the workflow of this task. :param enable_parameter_reference: The enable_parameter_reference of this MediaWorkflowTask. :type: str Nr! )r r r r r r � s c C s | j S )ax Gets the enable_when_referenced_parameter_equals of this MediaWorkflowTask. Used in conjunction with enableParameterReference to conditionally enable a task. When a job is created from the workflow of this task, the task will only be enabled if the value of the parameter specified by enableParameterReference is equal to the value of this property. This property must be prenset if and only if a enableParameterReference is given. The value is a JSON node. :return: The enable_when_referenced_parameter_equals of this MediaWorkflowTask. :rtype: dict(str, object) �r r r r r r � s z9MediaWorkflowTask.enable_when_referenced_parameter_equalsc C s || _ dS )a� Sets the enable_when_referenced_parameter_equals of this MediaWorkflowTask. Used in conjunction with enableParameterReference to conditionally enable a task. When a job is created from the workflow of this task, the task will only be enabled if the value of the parameter specified by enableParameterReference is equal to the value of this property. This property must be prenset if and only if a enableParameterReference is given. The value is a JSON node. :param enable_when_referenced_parameter_equals: The enable_when_referenced_parameter_equals of this MediaWorkflowTask. :type: dict(str, object) Nr"