
    ~i3                     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
    alb

    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d2d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d. Zd/ Zd0 Zd1 ZdS )3CreateServerGroupRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    str$HealthCheckForCreateServerGroupInput,StickySessionConfigForCreateServerGroupInputz"list[TagForCreateServerGroupInput])cross_zone_enableddescriptionhealth_checkip_address_typeproject_nameprotocol	schedulerserver_group_nameserver_group_typesticky_session_configtagsvpc_idCrossZoneEnabledDescriptionHealthCheckIpAddressTypeProjectNameProtocol	SchedulerServerGroupNameServerGroupTypeStickySessionConfigTagsVpcIdNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |	|	| _        |
|
| _        ||| _        || _        dS )z5CreateServerGroupRequest - a model defined in SwaggerN)r   _configuration_cross_zone_enabled_description_health_check_ip_address_type_project_name	_protocol
_scheduler_server_group_name_server_group_type_sticky_session_config_tags_vpc_id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/volcenginesdkalb/models/create_server_group_request.py__init__z!CreateServerGroupRequest.__init__A   s   !*__N,#'  ! $!"&"&&*#
!)&8D#"*D# ,D&#2D # ,D$DM &DN(%6D"(%6D" ,)>D&DI    c                     | j         S )zGets the cross_zone_enabled of this CreateServerGroupRequest.  # noqa: E501


        :return: The cross_zone_enabled of this CreateServerGroupRequest.  # noqa: E501
        :rtype: str
        r#   r0   s    r1   r	   z+CreateServerGroupRequest.cross_zone_enabledm   s     ''r3   c                     || _         dS )zSets the cross_zone_enabled of this CreateServerGroupRequest.


        :param cross_zone_enabled: The cross_zone_enabled of this CreateServerGroupRequest.  # noqa: E501
        :type: str
        Nr5   )r0   r	   s     r1   r	   z+CreateServerGroupRequest.cross_zone_enabledw   s     $6   r3   c                     | j         S )zGets the description of this CreateServerGroupRequest.  # noqa: E501


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


        :param description: The description of this CreateServerGroupRequest.  # noqa: E501
        :type: str
        Nr9   )r0   r
   s     r1   r
   z$CreateServerGroupRequest.description   s     (r3   c                     | j         S )zGets the health_check of this CreateServerGroupRequest.  # noqa: E501


        :return: The health_check of this CreateServerGroupRequest.  # noqa: E501
        :rtype: HealthCheckForCreateServerGroupInput
        r%   r6   s    r1   r   z%CreateServerGroupRequest.health_check        !!r3   c                     || _         dS )zSets the health_check of this CreateServerGroupRequest.


        :param health_check: The health_check of this CreateServerGroupRequest.  # noqa: E501
        :type: HealthCheckForCreateServerGroupInput
        Nr<   )r0   r   s     r1   r   z%CreateServerGroupRequest.health_check        *r3   c                     | j         S )zGets the ip_address_type of this CreateServerGroupRequest.  # noqa: E501


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


        :param ip_address_type: The ip_address_type of this CreateServerGroupRequest.  # noqa: E501
        :type: str
        NrA   )r0   r   s     r1   r   z(CreateServerGroupRequest.ip_address_type   s     !0r3   c                     | j         S )zGets the project_name of this CreateServerGroupRequest.  # noqa: E501


        :return: The project_name of this CreateServerGroupRequest.  # noqa: E501
        :rtype: str
        r'   r6   s    r1   r   z%CreateServerGroupRequest.project_name   r=   r3   c                     || _         dS )zSets the project_name of this CreateServerGroupRequest.


        :param project_name: The project_name of this CreateServerGroupRequest.  # noqa: E501
        :type: str
        NrD   )r0   r   s     r1   r   z%CreateServerGroupRequest.project_name   r?   r3   c                     | j         S )zGets the protocol of this CreateServerGroupRequest.  # noqa: E501


        :return: The protocol of this CreateServerGroupRequest.  # noqa: E501
        :rtype: str
        r(   r6   s    r1   r   z!CreateServerGroupRequest.protocol   s     ~r3   c                     || _         dS )zSets the protocol of this CreateServerGroupRequest.


        :param protocol: The protocol of this CreateServerGroupRequest.  # noqa: E501
        :type: str
        NrG   )r0   r   s     r1   r   z!CreateServerGroupRequest.protocol   s     "r3   c                     | j         S )zGets the scheduler of this CreateServerGroupRequest.  # noqa: E501


        :return: The scheduler of this CreateServerGroupRequest.  # noqa: E501
        :rtype: str
        r)   r6   s    r1   r   z"CreateServerGroupRequest.scheduler   s     r3   c                     || _         dS )zSets the scheduler of this CreateServerGroupRequest.


        :param scheduler: The scheduler of this CreateServerGroupRequest.  # noqa: E501
        :type: str
        NrJ   )r0   r   s     r1   r   z"CreateServerGroupRequest.scheduler   s     $r3   c                     | j         S )zGets the server_group_name of this CreateServerGroupRequest.  # noqa: E501


        :return: The server_group_name of this CreateServerGroupRequest.  # noqa: E501
        :rtype: str
        )r*   r6   s    r1   r   z*CreateServerGroupRequest.server_group_name        &&r3   c                     | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the server_group_name of this CreateServerGroupRequest.


        :param server_group_name: The server_group_name of this CreateServerGroupRequest.  # noqa: E501
        :type: str
        N   zQInvalid value for `server_group_name`, length must be less than or equal to `128`   zRInvalid value for `server_group_name`, length must be greater than or equal to `1`)r"   client_side_validationlen
ValueErrorr*   )r0   r   s     r1   r   z*CreateServerGroupRequest.server_group_name
  s     6 	r!-#6G2H2H32N2Npqqq6 	s!-#6G2H2H12L2Lqrrr"3r3   c                     | j         S )zGets the server_group_type of this CreateServerGroupRequest.  # noqa: E501


        :return: The server_group_type of this CreateServerGroupRequest.  # noqa: E501
        :rtype: str
        r+   r6   s    r1   r   z*CreateServerGroupRequest.server_group_type  rM   r3   c                     || _         dS )zSets the server_group_type of this CreateServerGroupRequest.


        :param server_group_type: The server_group_type of this CreateServerGroupRequest.  # noqa: E501
        :type: str
        NrU   )r0   r   s     r1   r   z*CreateServerGroupRequest.server_group_type%  s     #4r3   c                     | j         S )zGets the sticky_session_config of this CreateServerGroupRequest.  # noqa: E501


        :return: The sticky_session_config of this CreateServerGroupRequest.  # noqa: E501
        :rtype: StickySessionConfigForCreateServerGroupInput
        r,   r6   s    r1   r   z.CreateServerGroupRequest.sticky_session_config0  s     **r3   c                     || _         dS )zSets the sticky_session_config of this CreateServerGroupRequest.


        :param sticky_session_config: The sticky_session_config of this CreateServerGroupRequest.  # noqa: E501
        :type: StickySessionConfigForCreateServerGroupInput
        NrX   )r0   r   s     r1   r   z.CreateServerGroupRequest.sticky_session_config:  s     '<###r3   c                     | j         S )zGets the tags of this CreateServerGroupRequest.  # noqa: E501


        :return: The tags of this CreateServerGroupRequest.  # noqa: E501
        :rtype: list[TagForCreateServerGroupInput]
        r-   r6   s    r1   r   zCreateServerGroupRequest.tagsE  s     zr3   c                     || _         dS )zSets the tags of this CreateServerGroupRequest.


        :param tags: The tags of this CreateServerGroupRequest.  # noqa: E501
        :type: list[TagForCreateServerGroupInput]
        Nr[   )r0   r   s     r1   r   zCreateServerGroupRequest.tagsO  s     


r3   c                     | j         S )zGets the vpc_id of this CreateServerGroupRequest.  # noqa: E501


        :return: The vpc_id of this CreateServerGroupRequest.  # noqa: E501
        :rtype: str
        )r.   r6   s    r1   r   zCreateServerGroupRequest.vpc_idZ  s     |r3   c                 N    | j         j        r|t          d          || _        dS )zSets the vpc_id of this CreateServerGroupRequest.


        :param vpc_id: The vpc_id of this CreateServerGroupRequest.  # noqa: E501
        :type: str
        Nz.Invalid value for `vpc_id`, must not be `None`)r"   rQ   rS   r.   )r0   r   s     r1   r   zCreateServerGroupRequest.vpc_idd  s1     5 	O&.MNNNr3   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hasattrra   )xs    r1   <lambda>z2CreateServerGroupRequest.to_dict.<locals>.<lambda>y  s!    WQ	-B-BIaiikkk r3   ra   c                 v    t          | d         d          r"| d         | d                                         fn| S )NrP   ra   r   rb   )items    r1   re   z2CreateServerGroupRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r3   )six	iteritemsswagger_typesgetattr
isinstancelistmaprc   ra   dictitems
issubclassr   )r0   resultattr_valuekeys         r1   ra   z CreateServerGroupRequest.to_dictq  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t.55 	$"jjll $ $
U#sr3   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatra   r6   s    r1   to_strzCreateServerGroupRequest.to_str  s    ~dllnn---r3   c                 *    |                                  S )zFor `print` and `pprint`)rz   r6   s    r1   __repr__z!CreateServerGroupRequest.__repr__  s    {{}}r3   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrl   r   ra   r0   others     r1   __eq__zCreateServerGroupRequest.__eq__  s5    %!9:: 	5||~~00r3   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr~   r   s     r1   __ne__zCreateServerGroupRequest.__ne__  s5    %!9:: 	4||~~00r3   )NNNNNNNNNNNNN)__name__
__module____qualname____doc__rj   attribute_mapr2   propertyr	   setterr
   r   r   r   r   r   r   r   r   r   r   ra   rz   r|   r   r    r3   r1   r   r      s        
 $> ""!O4 M  1$%*% ..!6 M* * * *X ( ( X( 6 6 6 ! ! X! ( ( ( " " X" * * * % % X% 0 0 0 " " X" * * *   X _" " _"   X $ $ $ ' ' X' 4 4 4  ' ' X' 4 4 4 + + X+ !< < "!<   X 
[  [   X ]
 
 ]
  6. . .  1 1 11 1 1 1 1r3   r   )r   rx   rerh   volcenginesdkcore.configurationr   objectr   r   r3   r1   <module>r      s|      				 



 9 9 9 9 9 9J1 J1 J1 J1 J1v J1 J1 J1 J1 J1r3   