
    ~i                     J    d Z ddlZddlZddlZddlmZ  G d de          ZdS )a  
    ml_platform20240701

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
    N)Configurationc                   .   e Zd ZdZ	 dddddZdddd	dZddZed             Zej	        d             Zed             Z
e
j	        d             Z
ed             Zej	        d             Zed             Zej	        d             Zd Zd Zd Zd Zd Zd
S )StopJobRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    z	list[str]boolstr)diagnose_namesdry_runidreasonDiagnoseNamesDryRunIdReasonNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        || _	        |	|| _
        dS dS )z+StopJobRequest - a model defined in SwaggerN)r   _configuration_diagnose_names_dry_run_id_reasondiscriminatorr   r	   r
   r   )selfr   r	   r
   r   r   s         /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkmlplatform20240701/models/stop_job_request.py__init__zStopJobRequest.__init__1   sy    !*__N,#!%"0D"DL DKKK     c                     | j         S )zGets the diagnose_names of this StopJobRequest.  # noqa: E501


        :return: The diagnose_names of this StopJobRequest.  # noqa: E501
        :rtype: list[str]
        )r   r   s    r   r   zStopJobRequest.diagnose_namesE   s     ##r   c                    g d}| j         j        rt          |                              t          |                    st	          d                    d                    t          t          t          |          t          |          z
                      d                    t          t          |                                        || _	        dS )zSets the diagnose_names of this StopJobRequest.


        :param diagnose_names: The diagnose_names of this StopJobRequest.  # noqa: E501
        :type: list[str]
        )EnvironmentalDiagnosisPythonDetectionLogDetectionzDInvalid values for `diagnose_names` [{0}], must be a subset of [{1}]z, N)
r   client_side_validationsetissubset
ValueErrorformatjoinmapr   r   )r   r   allowed_valuess      r   r   zStopJobRequest.diagnose_namesO   s     WVV6 	''00^1D1DEE	V		#c3~+>+>^ATAT+T"U"UVV		#c>":":;;= =    .r   c                     | j         S )zGets the dry_run of this StopJobRequest.  # noqa: E501


        :return: The dry_run of this StopJobRequest.  # noqa: E501
        :rtype: bool
        r   r   s    r   r	   zStopJobRequest.dry_runb   s     }r   c                     || _         dS )zSets the dry_run of this StopJobRequest.


        :param dry_run: The dry_run of this StopJobRequest.  # noqa: E501
        :type: bool
        Nr*   )r   r	   s     r   r	   zStopJobRequest.dry_runl   s      r   c                     | j         S )zGets the id of this StopJobRequest.  # noqa: E501


        :return: The id of this StopJobRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r
   zStopJobRequest.idw   s     xr   c                 N    | j         j        r|t          d          || _        dS )zSets the id of this StopJobRequest.


        :param id: The id of this StopJobRequest.  # noqa: E501
        :type: str
        Nz*Invalid value for `id`, must not be `None`)r   r!   r$   r   )r   r
   s     r   r
   zStopJobRequest.id   s1     5 	K"*IJJJr   c                     | j         S )zGets the reason of this StopJobRequest.  # noqa: E501


        :return: The reason of this StopJobRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zStopJobRequest.reason   s     |r   c                     || _         dS )zSets the reason of this StopJobRequest.


        :param reason: The reason of this StopJobRequest.  # noqa: E501
        :type: str
        Nr/   )r   r   s     r   r   zStopJobRequest.reason   s     r   c                 4   i }t          j        | j                  D ]\  }}t          | |          }t	          |t
                    r"t          t          d |                    ||<   Lt          |d          r|                                ||<   tt	          |t                    r4t          t          d |
                                                    ||<   |||<   t          t          t                    r| 
                                D ]
\  }}|||<   |S )z&Returns the model properties as a dictc                 N    t          | d          r|                                 n| S )Nto_dicthasattrr3   )xs    r   <lambda>z(StopJobRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r3   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r3   r   r4   )items    r   r7   z(StopJobRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r   )six	iteritemsswagger_typesgetattr
isinstancelistr'   r5   r3   dictitems
issubclassr   )r   resultattr_valuekeys         r   r3   zStopJobRequest.to_dict   s+   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %tnd++ 	$"jjll $ $
U#sr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr3   r   s    r   to_strzStopJobRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rL   r   s    r   __repr__zStopJobRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr?   r   r3   r   others     r   __eq__zStopJobRequest.__eq__   s4    %00 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrP   rQ   s     r   __ne__zStopJobRequest.__ne__   s4    %00 	4||~~00r   )NNNNN)__name__
__module____qualname____doc__r=   attribute_mapr   propertyr   setterr	   r
   r   r3   rL   rN   rS   rU    r   r   r   r      s        
 &	 M *	 M! ! ! !( $ $ X$ . . .$   X ^    ^    X Y
 
 Y
   X ]  ]  6. . .  1 1 11 1 1 1 1r   r   )rY   rJ   rer;   volcenginesdkcore.configurationr   objectr   r]   r   r   <module>ra      s|      				 



 9 9 9 9 9 9|1 |1 |1 |1 |1V |1 |1 |1 |1 |1r   