
    ~i4                     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
    ga

    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ddZd	d
dddddddddddZd4d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ed+             Zej	        d,             Zed-             Zej	        d.             Zd/ Zd0 Zd1 Zd2 Zd3 ZdS )5UpdateEndpointGroupRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strz6list[EndpointConfigurationForUpdateEndpointGroupInput](HealthyConfigForUpdateEndpointGroupInputboolz)list[SourceIPForUpdateEndpointGroupInput]int)accelerator_idendpoint_configurationsendpoint_group_idendpoint_typehealthy_configkeep_client_ipkeep_client_ip_methodlistener_idnameregion	source_iptraffic_percentageAcceleratorIdEndpointConfigurationsEndpointGroupIdEndpointTypeHealthyConfigKeepClientIPKeepClientIPMethod
ListenerIdNameRegionSourceIPTrafficPercentageNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        || _        ||| _        || _        ||| _        ||| _        ||| _        ||| _        || _        |	|	| _        |
|
| _        ||| _        |	|| _        dS dS )z7UpdateEndpointGroupRequest - a model defined in SwaggerN)r   _configuration_accelerator_id_endpoint_configurations_endpoint_group_id_endpoint_type_healthy_config_keep_client_ip_keep_client_ip_method_listener_id_name_region
_source_ip_traffic_percentagediscriminatorr
   r   r   r   r   r   r   r   r   r   r   r   )selfr
   r   r   r   r   r   r   r   r   r   r   r   r#   s                 }/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkga/models/update_endpoint_group_request.py__init__z#UpdateEndpointGroupRequest.__init__A   s   !*__N,#(,%"&"##&*# 
#' !,".+BD(!2$!.D%"0D%"0D ,)>D&&DI DK &DN)&8D### *)    c                     | j         S )zGets the accelerator_id of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The accelerator_id of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        )r$   r1   s    r2   r
   z)UpdateEndpointGroupRequest.accelerator_idk        ##r4   c                 N    | j         j        r|t          d          || _        dS )zSets the accelerator_id of this UpdateEndpointGroupRequest.


        :param accelerator_id: The accelerator_id of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: str
        Nz6Invalid value for `accelerator_id`, must not be `None`)r#   client_side_validation
ValueErrorr$   )r1   r
   s     r2   r
   z)UpdateEndpointGroupRequest.accelerator_idu   s5     5 	W.:PUVVV-r4   c                     | j         S )a  Gets the endpoint_configurations of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The endpoint_configurations of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: list[EndpointConfigurationForUpdateEndpointGroupInput]
        r%   r6   s    r2   r   z2UpdateEndpointGroupRequest.endpoint_configurations   s     ,,r4   c                     || _         dS )a  Sets the endpoint_configurations of this UpdateEndpointGroupRequest.


        :param endpoint_configurations: The endpoint_configurations of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: list[EndpointConfigurationForUpdateEndpointGroupInput]
        Nr<   )r1   r   s     r2   r   z2UpdateEndpointGroupRequest.endpoint_configurations   s     )@%%%r4   c                     | j         S )zGets the endpoint_group_id of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The endpoint_group_id of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        )r&   r6   s    r2   r   z,UpdateEndpointGroupRequest.endpoint_group_id   s     &&r4   c                 N    | j         j        r|t          d          || _        dS )zSets the endpoint_group_id of this UpdateEndpointGroupRequest.


        :param endpoint_group_id: The endpoint_group_id of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: str
        Nz9Invalid value for `endpoint_group_id`, must not be `None`)r#   r9   r:   r&   )r1   r   s     r2   r   z,UpdateEndpointGroupRequest.endpoint_group_id   s6     5 	Z:K:SXYYY"3r4   c                     | j         S )zGets the endpoint_type of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The endpoint_type of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        r'   r6   s    r2   r   z(UpdateEndpointGroupRequest.endpoint_type   s     ""r4   c                     || _         dS )zSets the endpoint_type of this UpdateEndpointGroupRequest.


        :param endpoint_type: The endpoint_type of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: str
        NrA   )r1   r   s     r2   r   z(UpdateEndpointGroupRequest.endpoint_type   s     ,r4   c                     | j         S )zGets the healthy_config of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The healthy_config of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: HealthyConfigForUpdateEndpointGroupInput
        r(   r6   s    r2   r   z)UpdateEndpointGroupRequest.healthy_config   r7   r4   c                     || _         dS )zSets the healthy_config of this UpdateEndpointGroupRequest.


        :param healthy_config: The healthy_config of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: HealthyConfigForUpdateEndpointGroupInput
        NrD   )r1   r   s     r2   r   z)UpdateEndpointGroupRequest.healthy_config         .r4   c                     | j         S )zGets the keep_client_ip of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The keep_client_ip of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: bool
        r)   r6   s    r2   r   z)UpdateEndpointGroupRequest.keep_client_ip   r7   r4   c                     || _         dS )zSets the keep_client_ip of this UpdateEndpointGroupRequest.


        :param keep_client_ip: The keep_client_ip of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: bool
        NrH   )r1   r   s     r2   r   z)UpdateEndpointGroupRequest.keep_client_ip   rF   r4   c                     | j         S )zGets the keep_client_ip_method of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The keep_client_ip_method of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        r*   r6   s    r2   r   z0UpdateEndpointGroupRequest.keep_client_ip_method   s     **r4   c                     || _         dS )zSets the keep_client_ip_method of this UpdateEndpointGroupRequest.


        :param keep_client_ip_method: The keep_client_ip_method of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: str
        NrK   )r1   r   s     r2   r   z0UpdateEndpointGroupRequest.keep_client_ip_method   s     '<###r4   c                     | j         S )zGets the listener_id of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The listener_id of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        )r+   r6   s    r2   r   z&UpdateEndpointGroupRequest.listener_id  s       r4   c                 N    | j         j        r|t          d          || _        dS )zSets the listener_id of this UpdateEndpointGroupRequest.


        :param listener_id: The listener_id of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `listener_id`, must not be `None`)r#   r9   r:   r+   )r1   r   s     r2   r   z&UpdateEndpointGroupRequest.listener_id  s5     5 	T+:MRSSS'r4   c                     | j         S )zGets the name of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The name of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        r,   r6   s    r2   r   zUpdateEndpointGroupRequest.name  s     zr4   c                     || _         dS )zSets the name of this UpdateEndpointGroupRequest.


        :param name: The name of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: str
        NrP   )r1   r   s     r2   r   zUpdateEndpointGroupRequest.name#  s     


r4   c                     | j         S )zGets the region of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The region of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        r-   r6   s    r2   r   z!UpdateEndpointGroupRequest.region.  s     |r4   c                     || _         dS )zSets the region of this UpdateEndpointGroupRequest.


        :param region: The region of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: str
        NrS   )r1   r   s     r2   r   z!UpdateEndpointGroupRequest.region8  s     r4   c                     | j         S )zGets the source_ip of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The source_ip of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: list[SourceIPForUpdateEndpointGroupInput]
        r.   r6   s    r2   r   z$UpdateEndpointGroupRequest.source_ipC  s     r4   c                     || _         dS )zSets the source_ip of this UpdateEndpointGroupRequest.


        :param source_ip: The source_ip of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: list[SourceIPForUpdateEndpointGroupInput]
        NrV   )r1   r   s     r2   r   z$UpdateEndpointGroupRequest.source_ipM  s     $r4   c                     | j         S )zGets the traffic_percentage of this UpdateEndpointGroupRequest.  # noqa: E501


        :return: The traffic_percentage of this UpdateEndpointGroupRequest.  # noqa: E501
        :rtype: int
        r/   r6   s    r2   r   z-UpdateEndpointGroupRequest.traffic_percentageX  s     ''r4   c                     || _         dS )zSets the traffic_percentage of this UpdateEndpointGroupRequest.


        :param traffic_percentage: The traffic_percentage of this UpdateEndpointGroupRequest.  # noqa: E501
        :type: int
        NrY   )r1   r   s     r2   r   z-UpdateEndpointGroupRequest.traffic_percentageb  s     $6   r4   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    r2   <lambda>z4UpdateEndpointGroupRequest.to_dict.<locals>.<lambda>u  s!    WQ	-B-BIaiikkk r4   r]   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r]   r   r^   )items    r2   ra   z4UpdateEndpointGroupRequest.to_dict.<locals>.<lambda>|  s<    tAw	22"=$q'47??+<+<!=!=8< r4   )six	iteritemsswagger_typesgetattr
isinstancelistmapr_   r]   dictitems
issubclassr   )r1   resultattr_valuekeys         r2   r]   z"UpdateEndpointGroupRequest.to_dictm  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t0$77 	$"jjll $ $
U#sr4   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr]   r6   s    r2   to_strz!UpdateEndpointGroupRequest.to_str  s    ~dllnn---r4   c                 *    |                                  S )zFor `print` and `pprint`)rw   r6   s    r2   __repr__z#UpdateEndpointGroupRequest.__repr__  s    {{}}r4   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFri   r   r]   r1   others     r2   __eq__z!UpdateEndpointGroupRequest.__eq__  s5    %!;<< 	5||~~00r4   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr{   r|   s     r2   __ne__z!UpdateEndpointGroupRequest.__ne__  s5    %!;<< 	4||~~00r4   )NNNNNNNNNNNNN)__name__
__module____qualname____doc__rg   attribute_mapr3   propertyr
   setterr   r   r   r   r   r   r   r   r   r   r   r]   rw   ry   r~   r    r4   r2   r   r      s        
  #["D !&@# M  *#;.')(!5#1 M(9 (9 (9 (9T $ $ X$ 
. 
. 
. - - X- #@ @ $#@ ' ' X' 
4 
4 
4 # # X# , , , $ $ X$ . . . $ $ X$ . . . + + X+ !< < "!< ! ! X! 
( 
( 
(   X 
[  [   X ]  ]   X $ $ $ ( ( X( 6 6 6  6. . .  1 1 11 1 1 1 1r4   r   )r   ru   rere   volcenginesdkcore.configurationr   objectr   r   r4   r2   <module>r      s|      				 



 9 9 9 9 9 9F1 F1 F1 F1 F1 F1 F1 F1 F1 F1r4   