
    9i5                     J    S r  " S S\5      r " S S\5      r " S S\5      rg)z-
This module provides a model class for OOS.
c                   0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )OperatorModel   z
This class define operator.
c                 b   > [         [        U ]  5         XS'   X S'   X0S'   X@S'   XPS'   X`S'   XpS'   g)	a  
:param name:
    Operator name.
:type name: string

:param operator:
    Operator type.
:type operator: string

:param properties:
    Operator execute parameters.
:type properties: dict

:param retries:
    Operator retry count.
:type retries: int

:param retry_interval:
    Operator retry interval.
:type retries: int

:param timeout:
    Operator execute timeout.
:type timeout: int

:param description:
    Operator description.
:type description: string
nameoperator
propertiesretriesretryIntervaltimeoutdescriptionN)superr   __init__)	selfr   r   r   r	   retry_intervalr   r   	__class__s	           _/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/baidubce/services/oos/oos_model.pyr   OperatorModel.__init__   sG    < 	mT+-V#Z'\!Y ._!Y)]     )    i`  i6  __name__
__module____qualname____firstlineno____doc__r   __static_attributes____classcell__r   s   @r   r   r      s    %* %*r   r   c                   6   ^  \ rS rSrSr/ SS4U 4S jjrSrU =r$ )TemplateModel>   z
This class define template.
Tr   c                 J   > [         [        U ]  5         XS'   X@S'   X S'   X0S'   g)a	  
:param name:
    Template name.
:type name: string

:param operators:
    Include template operators to execute.
:type operators: OperatorModel array

:param linear:
    Operator execute linearly.
:type linear: bool

:param ref:
    template id.
:type ref: string
r   ref	operatorslinearN)r   r"   r   )r   r   r&   r'   r%   r   s        r   r   TemplateModel.__init__B   s/    $ 	mT+-VU%[Xr   r   r   r    s   @r   r"   r"   >   s     (*$B    r   r"   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )TagModel[   z
This class define tag.
c                 :   > [         [        U ]  5         XS'   X S'   g)z^
:param key:
    Tag key.
:type key: string

:param value:
    Tag value.
:type value: string
tagKeytagValueN)r   r*   r   )r   keyvaluer   s      r   r   TagModel.__init___   s!     	h&(X Zr   r   r   r    s   @r   r*   r*   [   s    ! !r   r*   N)r   dictr   r"   r*   r   r   r   <module>r3      s/   
)*D )*X D  :!t !r   