
    ~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dddZddd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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 )#UpdateDeploymentRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    boolstrz"list[RoleForUpdateDeploymentInput])accept_service_trafficdeployment_namedescriptiondry_runidresource_queue_idrolesAcceptServiceTrafficDeploymentNameDescriptionDryRunIdResourceQueueIdRolesNc	                 "   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        ||| _        ||| _        || _        ||| _        |	|| _        dS dS )z4UpdateDeploymentRequest - a model defined in SwaggerN)r   _configuration_accept_service_traffic_deployment_name_description_dry_run_id_resource_queue_id_rolesdiscriminatorr   r	   r
   r   r   r   r   )	selfr   r	   r
   r   r   r   r   r   s	            /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkmlplatform20240701/models/update_deployment_request.py__init__z UpdateDeploymentRequest.__init__7   s    !*__N,'+$ $ "&!!-*@D'&#2D "*D"DL(%6D"DJJJ     c                     | j         S )zGets the accept_service_traffic of this UpdateDeploymentRequest.  # noqa: E501


        :return: The accept_service_traffic of this UpdateDeploymentRequest.  # noqa: E501
        :rtype: bool
        r   r    s    r!   r   z.UpdateDeploymentRequest.accept_service_trafficT   s     ++r#   c                     || _         dS )zSets the accept_service_traffic of this UpdateDeploymentRequest.


        :param accept_service_traffic: The accept_service_traffic of this UpdateDeploymentRequest.  # noqa: E501
        :type: bool
        Nr%   )r    r   s     r!   r   z.UpdateDeploymentRequest.accept_service_traffic^   s     (>$$$r#   c                     | j         S )zGets the deployment_name of this UpdateDeploymentRequest.  # noqa: E501


        :return: The deployment_name of this UpdateDeploymentRequest.  # noqa: E501
        :rtype: str
        r   r&   s    r!   r	   z'UpdateDeploymentRequest.deployment_namei   s     $$r#   c                     || _         dS )zSets the deployment_name of this UpdateDeploymentRequest.


        :param deployment_name: The deployment_name of this UpdateDeploymentRequest.  # noqa: E501
        :type: str
        Nr)   )r    r	   s     r!   r	   z'UpdateDeploymentRequest.deployment_names   s     !0r#   c                     | j         S )zGets the description of this UpdateDeploymentRequest.  # noqa: E501


        :return: The description of this UpdateDeploymentRequest.  # noqa: E501
        :rtype: str
        r   r&   s    r!   r
   z#UpdateDeploymentRequest.description~   s       r#   c                     || _         dS )zSets the description of this UpdateDeploymentRequest.


        :param description: The description of this UpdateDeploymentRequest.  # noqa: E501
        :type: str
        Nr,   )r    r
   s     r!   r
   z#UpdateDeploymentRequest.description   s     (r#   c                     | j         S )zGets the dry_run of this UpdateDeploymentRequest.  # noqa: E501


        :return: The dry_run of this UpdateDeploymentRequest.  # noqa: E501
        :rtype: bool
        r   r&   s    r!   r   zUpdateDeploymentRequest.dry_run   s     }r#   c                     || _         dS )zSets the dry_run of this UpdateDeploymentRequest.


        :param dry_run: The dry_run of this UpdateDeploymentRequest.  # noqa: E501
        :type: bool
        Nr/   )r    r   s     r!   r   zUpdateDeploymentRequest.dry_run   s      r#   c                     | j         S )zGets the id of this UpdateDeploymentRequest.  # noqa: E501


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


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


        :return: The resource_queue_id of this UpdateDeploymentRequest.  # noqa: E501
        :rtype: str
        r   r&   s    r!   r   z)UpdateDeploymentRequest.resource_queue_id   s     &&r#   c                     || _         dS )zSets the resource_queue_id of this UpdateDeploymentRequest.


        :param resource_queue_id: The resource_queue_id of this UpdateDeploymentRequest.  # noqa: E501
        :type: str
        Nr6   )r    r   s     r!   r   z)UpdateDeploymentRequest.resource_queue_id   s     #4r#   c                     | j         S )zGets the roles of this UpdateDeploymentRequest.  # noqa: E501


        :return: The roles of this UpdateDeploymentRequest.  # noqa: E501
        :rtype: list[RoleForUpdateDeploymentInput]
        r   r&   s    r!   r   zUpdateDeploymentRequest.roles   s     {r#   c                     || _         dS )zSets the roles of this UpdateDeploymentRequest.


        :param roles: The roles of this UpdateDeploymentRequest.  # noqa: E501
        :type: list[RoleForUpdateDeploymentInput]
        Nr9   )r    r   s     r!   r   zUpdateDeploymentRequest.roles   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hasattrr=   )xs    r!   <lambda>z1UpdateDeploymentRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r#   r=   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r=   r   r>   )items    r!   rA   z1UpdateDeploymentRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r#   )six	iteritemsswagger_typesgetattr
isinstancelistmapr?   r=   dictitems
issubclassr   )r    resultattr_valuekeys         r!   r=   zUpdateDeploymentRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t-t44 	$"jjll $ $
U#sr#   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr=   r&   s    r!   to_strzUpdateDeploymentRequest.to_str  s    ~dllnn---r#   c                 *    |                                  S )zFor `print` and `pprint`)rW   r&   s    r!   __repr__z UpdateDeploymentRequest.__repr__  s    {{}}r#   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrI   r   r=   r    others     r!   __eq__zUpdateDeploymentRequest.__eq__  s5    %!899 	5||~~00r#   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr[   r\   s     r!   __ne__zUpdateDeploymentRequest.__ne__  s5    %!899 	4||~~00r#   )NNNNNNNN)__name__
__module____qualname____doc__rG   attribute_mapr"   propertyr   setterr	   r
   r   r   r   r   r=   rW   rY   r^   r`    r#   r!   r   r      sX        
 #) "5 M #9+$. M   : , , X, "> > #"> % % X% 0 0 0 ! ! X! ( ( (   X ^    ^    X Y
 
 Y
 ' ' X' 4 4 4   X \  \  6. . .  1 1 11 1 1 1 1r#   r   )rd   rU   rerE   volcenginesdkcore.configurationr   objectr   rh   r#   r!   <module>rl      s|      				 



 9 9 9 9 9 9B1 B1 B1 B1 B1f B1 B1 B1 B1 B1r#   