
    ~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dZd	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ed!             Zej	        d"             Zd# Zd$ Zd% Zd& Zd' ZdS ))UpdateServiceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    ApigConfigForUpdateServiceInputCLBConfigForUpdateServiceInputstrboolzlist[PortForUpdateServiceInput]"TrafficConfigForUpdateServiceInput)apig_config
clb_configdescriptiondry_runidportsservice_nametraffic_config
ApigConfig	CLBConfigDescriptionDryRunIdPortsServiceNameTrafficConfigNc
                 B   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        ||| _        || _        ||| _        ||| _        |	|| _        dS dS )z1UpdateServiceRequest - a model defined in SwaggerN)r   _configuration_apig_config_clb_config_description_dry_run_id_ports_service_name_traffic_configdiscriminatorr   r   r   r   r   r   r   r   )
selfr   r   r   r   r   r   r   r   r   s
             /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkmlplatform20240701/models/update_service_request.py__init__zUpdateServiceRequest.__init__9   s    !*__N,  !#!"*D!(DO"*D"DLDJ# ,D%"0D &%    c                     | j         S )zGets the apig_config of this UpdateServiceRequest.  # noqa: E501


        :return: The apig_config of this UpdateServiceRequest.  # noqa: E501
        :rtype: ApigConfigForUpdateServiceInput
        r   r&   s    r'   r   z UpdateServiceRequest.apig_configY          r)   c                     || _         dS )zSets the apig_config of this UpdateServiceRequest.


        :param apig_config: The apig_config of this UpdateServiceRequest.  # noqa: E501
        :type: ApigConfigForUpdateServiceInput
        Nr+   )r&   r   s     r'   r   z UpdateServiceRequest.apig_configc        (r)   c                     | j         S )zGets the clb_config of this UpdateServiceRequest.  # noqa: E501


        :return: The clb_config of this UpdateServiceRequest.  # noqa: E501
        :rtype: CLBConfigForUpdateServiceInput
        r   r,   s    r'   r   zUpdateServiceRequest.clb_confign   s     r)   c                     || _         dS )zSets the clb_config of this UpdateServiceRequest.


        :param clb_config: The clb_config of this UpdateServiceRequest.  # noqa: E501
        :type: CLBConfigForUpdateServiceInput
        Nr1   )r&   r   s     r'   r   zUpdateServiceRequest.clb_configx   s     &r)   c                     | j         S )zGets the description of this UpdateServiceRequest.  # noqa: E501


        :return: The description of this UpdateServiceRequest.  # noqa: E501
        :rtype: str
        r   r,   s    r'   r   z UpdateServiceRequest.description   r-   r)   c                     || _         dS )zSets the description of this UpdateServiceRequest.


        :param description: The description of this UpdateServiceRequest.  # noqa: E501
        :type: str
        Nr4   )r&   r   s     r'   r   z UpdateServiceRequest.description   r/   r)   c                     | j         S )zGets the dry_run of this UpdateServiceRequest.  # noqa: E501


        :return: The dry_run of this UpdateServiceRequest.  # noqa: E501
        :rtype: bool
        r    r,   s    r'   r   zUpdateServiceRequest.dry_run   s     }r)   c                     || _         dS )zSets the dry_run of this UpdateServiceRequest.


        :param dry_run: The dry_run of this UpdateServiceRequest.  # noqa: E501
        :type: bool
        Nr7   )r&   r   s     r'   r   zUpdateServiceRequest.dry_run   s      r)   c                     | j         S )zGets the id of this UpdateServiceRequest.  # noqa: E501


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


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


        :return: The ports of this UpdateServiceRequest.  # noqa: E501
        :rtype: list[PortForUpdateServiceInput]
        r"   r,   s    r'   r   zUpdateServiceRequest.ports   s     {r)   c                     || _         dS )zSets the ports of this UpdateServiceRequest.


        :param ports: The ports of this UpdateServiceRequest.  # noqa: E501
        :type: list[PortForUpdateServiceInput]
        Nr>   )r&   r   s     r'   r   zUpdateServiceRequest.ports   s     r)   c                     | j         S )zGets the service_name of this UpdateServiceRequest.  # noqa: E501


        :return: The service_name of this UpdateServiceRequest.  # noqa: E501
        :rtype: str
        r#   r,   s    r'   r   z!UpdateServiceRequest.service_name   s     !!r)   c                     || _         dS )zSets the service_name of this UpdateServiceRequest.


        :param service_name: The service_name of this UpdateServiceRequest.  # noqa: E501
        :type: str
        NrA   )r&   r   s     r'   r   z!UpdateServiceRequest.service_name   s     *r)   c                     | j         S )zGets the traffic_config of this UpdateServiceRequest.  # noqa: E501


        :return: The traffic_config of this UpdateServiceRequest.  # noqa: E501
        :rtype: TrafficConfigForUpdateServiceInput
        r$   r,   s    r'   r   z#UpdateServiceRequest.traffic_config   s     ##r)   c                     || _         dS )zSets the traffic_config of this UpdateServiceRequest.


        :param traffic_config: The traffic_config of this UpdateServiceRequest.  # noqa: E501
        :type: TrafficConfigForUpdateServiceInput
        NrD   )r&   r   s     r'   r   z#UpdateServiceRequest.traffic_config   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hasattrrH   )xs    r'   <lambda>z.UpdateServiceRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r)   rH   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rH   r   rI   )items    r'   rL   z.UpdateServiceRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r)   )six	iteritemsswagger_typesgetattr
isinstancelistmaprJ   rH   dictitems
issubclassr   )r&   resultattr_valuekeys         r'   rH   zUpdateServiceRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t*D11 	$"jjll $ $
U#sr)   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrH   r,   s    r'   to_strzUpdateServiceRequest.to_str  s    ~dllnn---r)   c                 *    |                                  S )zFor `print` and `pprint`)rb   r,   s    r'   __repr__zUpdateServiceRequest.__repr__"  s    {{}}r)   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrT   r   rH   r&   others     r'   __eq__zUpdateServiceRequest.__eq__&  s5    %!566 	5||~~00r)   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrf   rg   s     r'   __ne__zUpdateServiceRequest.__ne__-  s5    %!566 	4||~~00r)   )	NNNNNNNNN)__name__
__module____qualname____doc__rR   attribute_mapr(   propertyr   setterr   r   r   r   r   r   r   rH   rb   rd   ri   rk    r)   r'   r   r      s        
 962>	 	M $!$%)	 	M1 1 1 1@ ! ! X! ( ( (     X  & & & ! ! X! ( ( (   X ^    ^    X Y
 
 Y
   X \  \ " " X" * * * $ $ X$ . . .  6. . .  1 1 11 1 1 1 1r)   r   )ro   r`   rerP   volcenginesdkcore.configurationr   objectr   rs   r)   r'   <module>rw      s|      				 



 9 9 9 9 9 9\1 \1 \1 \1 \16 \1 \1 \1 \1 \1r)   