
    ~i_2                     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Zd	d
ddddddddddZd1d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d- Zd. Zd/ Zd0 ZdS )2CreateEndpointGroupRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strz6list[EndpointConfigurationForCreateEndpointGroupInput](HealthyConfigForCreateEndpointGroupInputboolz)list[SourceIPForCreateEndpointGroupInput]int)accelerator_idendpoint_configurationsendpoint_typehealthy_configkeep_client_ipkeep_client_ip_methodlistener_idnameregion	source_iptraffic_percentageAcceleratorIdEndpointConfigurationsEndpointTypeHealthyConfigKeepClientIPKeepClientIPMethod
ListenerIdNameRegionSourceIPTrafficPercentageNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        || _        ||| _        ||| _        ||| _        || _        ||| _        || _        ||| _        |	| _        |
|
| _        || _        dS )z7CreateEndpointGroupRequest - a model defined in SwaggerN)r   _configuration_accelerator_id_endpoint_configurations_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   )selfr
   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/create_endpoint_group_request.py__init__z#CreateEndpointGroupRequest.__init__?   s    !*__N,#(,%"##&*# 
#' !,".+BD($!.D%"0D, ,)>D&&DI &DN"4    c                     | j         S )zGets the accelerator_id of this CreateEndpointGroupRequest.  # noqa: E501


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


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


        :return: The endpoint_configurations of this CreateEndpointGroupRequest.  # noqa: E501
        :rtype: list[EndpointConfigurationForCreateEndpointGroupInput]
        r#   r3   s    r/   r   z2CreateEndpointGroupRequest.endpoint_configurations{   s     ,,r1   c                     || _         dS )a  Sets the endpoint_configurations of this CreateEndpointGroupRequest.


        :param endpoint_configurations: The endpoint_configurations of this CreateEndpointGroupRequest.  # noqa: E501
        :type: list[EndpointConfigurationForCreateEndpointGroupInput]
        Nr:   )r.   r   s     r/   r   z2CreateEndpointGroupRequest.endpoint_configurations   s     )@%%%r1   c                     | j         S )zGets the endpoint_type of this CreateEndpointGroupRequest.  # noqa: E501


        :return: The endpoint_type of this CreateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        r$   r3   s    r/   r   z(CreateEndpointGroupRequest.endpoint_type   s     ""r1   c                     || _         dS )zSets the endpoint_type of this CreateEndpointGroupRequest.


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


        :return: The healthy_config of this CreateEndpointGroupRequest.  # noqa: E501
        :rtype: HealthyConfigForCreateEndpointGroupInput
        r%   r3   s    r/   r   z)CreateEndpointGroupRequest.healthy_config   r4   r1   c                     || _         dS )zSets the healthy_config of this CreateEndpointGroupRequest.


        :param healthy_config: The healthy_config of this CreateEndpointGroupRequest.  # noqa: E501
        :type: HealthyConfigForCreateEndpointGroupInput
        Nr@   )r.   r   s     r/   r   z)CreateEndpointGroupRequest.healthy_config   s      .r1   c                     | j         S )zGets the keep_client_ip of this CreateEndpointGroupRequest.  # noqa: E501


        :return: The keep_client_ip of this CreateEndpointGroupRequest.  # noqa: E501
        :rtype: bool
        )r&   r3   s    r/   r   z)CreateEndpointGroupRequest.keep_client_ip   r4   r1   c                 N    | j         j        r|t          d          || _        dS )zSets the keep_client_ip of this CreateEndpointGroupRequest.


        :param keep_client_ip: The keep_client_ip of this CreateEndpointGroupRequest.  # noqa: E501
        :type: bool
        Nz6Invalid value for `keep_client_ip`, must not be `None`)r!   r6   r7   r&   )r.   r   s     r/   r   z)CreateEndpointGroupRequest.keep_client_ip   r8   r1   c                     | j         S )zGets the keep_client_ip_method of this CreateEndpointGroupRequest.  # noqa: E501


        :return: The keep_client_ip_method of this CreateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        r'   r3   s    r/   r   z0CreateEndpointGroupRequest.keep_client_ip_method   s     **r1   c                     || _         dS )zSets the keep_client_ip_method of this CreateEndpointGroupRequest.


        :param keep_client_ip_method: The keep_client_ip_method of this CreateEndpointGroupRequest.  # noqa: E501
        :type: str
        NrE   )r.   r   s     r/   r   z0CreateEndpointGroupRequest.keep_client_ip_method   s     '<###r1   c                     | j         S )zGets the listener_id of this CreateEndpointGroupRequest.  # noqa: E501


        :return: The listener_id of this CreateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        )r(   r3   s    r/   r   z&CreateEndpointGroupRequest.listener_id   s       r1   c                 N    | j         j        r|t          d          || _        dS )zSets the listener_id of this CreateEndpointGroupRequest.


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


        :return: The name of this CreateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        r)   r3   s    r/   r   zCreateEndpointGroupRequest.name   s     zr1   c                     || _         dS )zSets the name of this CreateEndpointGroupRequest.


        :param name: The name of this CreateEndpointGroupRequest.  # noqa: E501
        :type: str
        NrJ   )r.   r   s     r/   r   zCreateEndpointGroupRequest.name  s     


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


        :return: The region of this CreateEndpointGroupRequest.  # noqa: E501
        :rtype: str
        )r*   r3   s    r/   r   z!CreateEndpointGroupRequest.region  s     |r1   c                 N    | j         j        r|t          d          || _        dS )zSets the region of this CreateEndpointGroupRequest.


        :param region: The region of this CreateEndpointGroupRequest.  # noqa: E501
        :type: str
        Nz.Invalid value for `region`, must not be `None`)r!   r6   r7   r*   )r.   r   s     r/   r   z!CreateEndpointGroupRequest.region  s1     5 	O&.MNNNr1   c                     | j         S )zGets the source_ip of this CreateEndpointGroupRequest.  # noqa: E501


        :return: The source_ip of this CreateEndpointGroupRequest.  # noqa: E501
        :rtype: list[SourceIPForCreateEndpointGroupInput]
        r+   r3   s    r/   r   z$CreateEndpointGroupRequest.source_ip)  s     r1   c                     || _         dS )zSets the source_ip of this CreateEndpointGroupRequest.


        :param source_ip: The source_ip of this CreateEndpointGroupRequest.  # noqa: E501
        :type: list[SourceIPForCreateEndpointGroupInput]
        NrO   )r.   r   s     r/   r   z$CreateEndpointGroupRequest.source_ip3  s     $r1   c                     | j         S )zGets the traffic_percentage of this CreateEndpointGroupRequest.  # noqa: E501


        :return: The traffic_percentage of this CreateEndpointGroupRequest.  # noqa: E501
        :rtype: int
        )r,   r3   s    r/   r   z-CreateEndpointGroupRequest.traffic_percentage>  s     ''r1   c                 N    | j         j        r|t          d          || _        dS )zSets the traffic_percentage of this CreateEndpointGroupRequest.


        :param traffic_percentage: The traffic_percentage of this CreateEndpointGroupRequest.  # noqa: E501
        :type: int
        Nz:Invalid value for `traffic_percentage`, must not be `None`)r!   r6   r7   r,   )r.   r   s     r/   r   z-CreateEndpointGroupRequest.traffic_percentageH  s6     5 	[:L:TYZZZ#5   r1   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hasattrrU   )xs    r/   <lambda>z4CreateEndpointGroupRequest.to_dict.<locals>.<lambda>]  s!    WQ	-B-BIaiikkk r1   rU   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rU   r   rV   )items    r/   rY   z4CreateEndpointGroupRequest.to_dict.<locals>.<lambda>d  s<    tAw	22"=$q'47??+<+<!=!=8< r1   )six	iteritemsswagger_typesgetattr
isinstancelistmaprW   rU   dictitems
issubclassr   )r.   resultattr_valuekeys         r/   rU   z"CreateEndpointGroupRequest.to_dictU  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t0$77 	$"jjll $ $
U#sr1   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrU   r3   s    r/   to_strz!CreateEndpointGroupRequest.to_strp  s    ~dllnn---r1   c                 *    |                                  S )zFor `print` and `pprint`)ro   r3   s    r/   __repr__z#CreateEndpointGroupRequest.__repr__t  s    {{}}r1   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFra   r   rU   r.   others     r/   __eq__z!CreateEndpointGroupRequest.__eq__x  s5    %!;<< 	5||~~00r1   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrs   rt   s     r/   __ne__z!CreateEndpointGroupRequest.__ne__  s5    %!;<< 	4||~~00r1   )NNNNNNNNNNNN)__name__
__module____qualname____doc__r_   attribute_mapr0   propertyr
   setterr   r   r   r   r   r   r   r   r   r   rU   ro   rq   rv   rx    r1   r/   r   r      s^        
  #[D !&@# M *#;')(!5#1 M#5 #5 #5 #5J $ $ X$ 
. 
. 
. - - X- #@ @ $#@ # # X# , , , $ $ X$ . . . $ $ X$ 
. 
. 
. + + X+ !< < "!< ! ! X! 
( 
( 
(   X 
[  [   X ]
 
 ]
   X $ $ $ ( ( X( 
6 
6 
6  6. . .  1 1 11 1 1 1 1r1   r   )r|   rm   rer]   volcenginesdkcore.configurationr   objectr   r   r1   r/   <module>r      s|      				 



 9 9 9 9 9 9n1 n1 n1 n1 n1 n1 n1 n1 n1 n1r1   