
    ~ip-                     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 )z
    apig

    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dd
Zd	d
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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 )/UpdateUpstreamRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    -CircuitBreakingSettingsForUpdateUpstreamInputstr,ConnectionPoolSettingsForUpdateUpstreamInput*LoadBalancerSettingsForUpdateUpstreamInput!TlsSettingsForUpdateUpstreamInput"UpstreamSpecForUpdateUpstreamInput)
circuit_breaking_settingscommentsconnection_pool_settingsidload_balancer_settingsnameprotocolsource_typetls_settingsupstream_specCircuitBreakingSettingsCommentsConnectionPoolSettingsIdLoadBalancerSettingsNameProtocol
SourceTypeTlsSettingsUpstreamSpecNc                 z   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        ||| _        ||| _        ||| _        || _        ||| _        || _        ||| _        || _        |	|	| _        |
	|
| _        dS dS )z2UpdateUpstreamRequest - a model defined in SwaggerN)r   _configuration_circuit_breaking_settings	_comments_connection_pool_settings_id_load_balancer_settings_name	_protocol_source_type_tls_settings_upstream_specdiscriminatorr   r   r   r   r   r   r   r   r   r   )selfr   r   r   r   r   r   r   r   r   r   r!   s               y/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkapig/models/update_upstream_request.py__init__zUpdateUpstreamRequest.__init__=   s    !*__N,*.')-&'+$
 !"!$0-FD*$DM#/,DD)!-*@D'	$DM&# ,D$!.D %$    c                     | j         S )zGets the circuit_breaking_settings of this UpdateUpstreamRequest.  # noqa: E501


        :return: The circuit_breaking_settings of this UpdateUpstreamRequest.  # noqa: E501
        :rtype: CircuitBreakingSettingsForUpdateUpstreamInput
        r"   r-   s    r.   r   z/UpdateUpstreamRequest.circuit_breaking_settingsa   s     ..r0   c                     || _         dS )zSets the circuit_breaking_settings of this UpdateUpstreamRequest.


        :param circuit_breaking_settings: The circuit_breaking_settings of this UpdateUpstreamRequest.  # noqa: E501
        :type: CircuitBreakingSettingsForUpdateUpstreamInput
        Nr2   )r-   r   s     r.   r   z/UpdateUpstreamRequest.circuit_breaking_settingsk   s     +D'''r0   c                     | j         S )zGets the comments of this UpdateUpstreamRequest.  # noqa: E501


        :return: The comments of this UpdateUpstreamRequest.  # noqa: E501
        :rtype: str
        r#   r3   s    r.   r   zUpdateUpstreamRequest.commentsv        ~r0   c                     || _         dS )zSets the comments of this UpdateUpstreamRequest.


        :param comments: The comments of this UpdateUpstreamRequest.  # noqa: E501
        :type: str
        Nr6   )r-   r   s     r.   r   zUpdateUpstreamRequest.comments        "r0   c                     | j         S )zGets the connection_pool_settings of this UpdateUpstreamRequest.  # noqa: E501


        :return: The connection_pool_settings of this UpdateUpstreamRequest.  # noqa: E501
        :rtype: ConnectionPoolSettingsForUpdateUpstreamInput
        r$   r3   s    r.   r   z.UpdateUpstreamRequest.connection_pool_settings   s     --r0   c                     || _         dS )zSets the connection_pool_settings of this UpdateUpstreamRequest.


        :param connection_pool_settings: The connection_pool_settings of this UpdateUpstreamRequest.  # noqa: E501
        :type: ConnectionPoolSettingsForUpdateUpstreamInput
        Nr;   )r-   r   s     r.   r   z.UpdateUpstreamRequest.connection_pool_settings   s     *B&&&r0   c                     | j         S )zGets the id of this UpdateUpstreamRequest.  # noqa: E501


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


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


        :return: The load_balancer_settings of this UpdateUpstreamRequest.  # noqa: E501
        :rtype: LoadBalancerSettingsForUpdateUpstreamInput
        r&   r3   s    r.   r   z,UpdateUpstreamRequest.load_balancer_settings   s     ++r0   c                     || _         dS )zSets the load_balancer_settings of this UpdateUpstreamRequest.


        :param load_balancer_settings: The load_balancer_settings of this UpdateUpstreamRequest.  # noqa: E501
        :type: LoadBalancerSettingsForUpdateUpstreamInput
        NrB   )r-   r   s     r.   r   z,UpdateUpstreamRequest.load_balancer_settings   s     (>$$$r0   c                     | j         S )zGets the name of this UpdateUpstreamRequest.  # noqa: E501


        :return: The name of this UpdateUpstreamRequest.  # noqa: E501
        :rtype: str
        )r'   r3   s    r.   r   zUpdateUpstreamRequest.name   s     zr0   c                 N    | j         j        r|t          d          || _        dS )zSets the name of this UpdateUpstreamRequest.


        :param name: The name of this UpdateUpstreamRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`)r!   r?   r@   r'   )r-   r   s     r.   r   zUpdateUpstreamRequest.name   s1     5 	M$,KLLL


r0   c                     | j         S )zGets the protocol of this UpdateUpstreamRequest.  # noqa: E501


        :return: The protocol of this UpdateUpstreamRequest.  # noqa: E501
        :rtype: str
        r(   r3   s    r.   r   zUpdateUpstreamRequest.protocol   r7   r0   c                     || _         dS )zSets the protocol of this UpdateUpstreamRequest.


        :param protocol: The protocol of this UpdateUpstreamRequest.  # noqa: E501
        :type: str
        NrG   )r-   r   s     r.   r   zUpdateUpstreamRequest.protocol   r9   r0   c                     | j         S )zGets the source_type of this UpdateUpstreamRequest.  # noqa: E501


        :return: The source_type of this UpdateUpstreamRequest.  # noqa: E501
        :rtype: str
        )r)   r3   s    r.   r   z!UpdateUpstreamRequest.source_type   s       r0   c                 N    | j         j        r|t          d          || _        dS )zSets the source_type of this UpdateUpstreamRequest.


        :param source_type: The source_type of this UpdateUpstreamRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `source_type`, must not be `None`)r!   r?   r@   r)   )r-   r   s     r.   r   z!UpdateUpstreamRequest.source_type  s5     5 	T+:MRSSS'r0   c                     | j         S )zGets the tls_settings of this UpdateUpstreamRequest.  # noqa: E501


        :return: The tls_settings of this UpdateUpstreamRequest.  # noqa: E501
        :rtype: TlsSettingsForUpdateUpstreamInput
        r*   r3   s    r.   r   z"UpdateUpstreamRequest.tls_settings  s     !!r0   c                     || _         dS )zSets the tls_settings of this UpdateUpstreamRequest.


        :param tls_settings: The tls_settings of this UpdateUpstreamRequest.  # noqa: E501
        :type: TlsSettingsForUpdateUpstreamInput
        NrL   )r-   r   s     r.   r   z"UpdateUpstreamRequest.tls_settings  s     *r0   c                     | j         S )zGets the upstream_spec of this UpdateUpstreamRequest.  # noqa: E501


        :return: The upstream_spec of this UpdateUpstreamRequest.  # noqa: E501
        :rtype: UpstreamSpecForUpdateUpstreamInput
        r+   r3   s    r.   r   z#UpdateUpstreamRequest.upstream_spec$  s     ""r0   c                     || _         dS )zSets the upstream_spec of this UpdateUpstreamRequest.


        :param upstream_spec: The upstream_spec of this UpdateUpstreamRequest.  # noqa: E501
        :type: UpstreamSpecForUpdateUpstreamInput
        NrO   )r-   r   s     r.   r   z#UpdateUpstreamRequest.upstream_spec.  s     ,r0   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hasattrrS   )xs    r.   <lambda>z/UpdateUpstreamRequest.to_dict.<locals>.<lambda>A  s!    WQ	-B-BIaiikkk r0   rS   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rS   r   rT   )items    r.   rW   z/UpdateUpstreamRequest.to_dict.<locals>.<lambda>H  s<    tAw	22"=$q'47??+<+<!=!=8< r0   )six	iteritemsswagger_typesgetattr
isinstancelistmaprU   rS   dictitems
issubclassr   )r-   resultattr_valuekeys         r.   rS   zUpdateUpstreamRequest.to_dict9  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t+T22 	$"jjll $ $
U#sr0   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrS   r3   s    r.   to_strzUpdateUpstreamRequest.to_strT  s    ~dllnn---r0   c                 *    |                                  S )zFor `print` and `pprint`)rm   r3   s    r.   __repr__zUpdateUpstreamRequest.__repr__X  s    {{}}r0   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr_   r   rS   r-   others     r.   __eq__zUpdateUpstreamRequest.__eq__\  s5    %!677 	5||~~00r0   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrq   rr   s     r.   __ne__zUpdateUpstreamRequest.__ne__c  s5    %!677 	4||~~00r0   )NNNNNNNNNNN)__name__
__module____qualname____doc__r]   attribute_mapr/   propertyr   setterr   r   r   r   r   r   r   r   r   rS   rm   ro   rt   rv    r0   r.   r   r      s        
 &U$R"N;= M &?$<"8#%' M"/ "/ "/ "/H / / X/ %D D &%D   X _" " _" . . X. $B B %$B   X Y
 
 Y
 , , X, "> > #">   X 
[
 
 [
   X _" " _" ! ! X! 
( 
( 
( " " X" * * * # # X# , , ,  6. . .  1 1 11 1 1 1 1r0   r   )rz   rk   rer[   volcenginesdkcore.configurationr   objectr   r~   r0   r.   <module>r      s|      				 



 9 9 9 9 9 9R1 R1 R1 R1 R1F R1 R1 R1 R1 R1r0   