
    ~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            
       P   e Zd ZdZ	 dddddddddd	Z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d& Zd' Zd( Zd) Zd* ZdS ),CreateServiceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    ApigConfigForCreateServiceInputCLBConfigForCreateServiceInputstrboolzlist[PortForCreateServiceInput]"TrafficConfigForCreateServiceInput)	apig_config
clb_configdescriptiondry_runportsproject_nameresource_group_idservice_nametraffic_config
ApigConfig	CLBConfigDescriptionDryRunPortsProjectNameResourceGroupIdServiceNameTrafficConfigNc                 ^   |
t                      }
|
| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        || _        || _        |		|	| _        dS dS )z1CreateServiceRequest - a model defined in SwaggerN)r   _configuration_apig_config_clb_config_description_dry_run_ports_project_name_resource_group_id_service_name_traffic_configdiscriminatorr   r   r   r   r   r   r   r   r   )selfr   r   r   r   r   r   r   r   r   r   s              /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkmlplatform20240701/models/create_service_request.py__init__zCreateServiceRequest.__init__;   s    !*__N,  !"&!#!"*D!(DO"*D"DLDJ# ,D!2(%"0D &%    c                     | j         S )zGets the apig_config of this CreateServiceRequest.  # noqa: E501


        :return: The apig_config of this CreateServiceRequest.  # noqa: E501
        :rtype: ApigConfigForCreateServiceInput
        r   r)   s    r*   r   z CreateServiceRequest.apig_config]          r,   c                     || _         dS )zSets the apig_config of this CreateServiceRequest.


        :param apig_config: The apig_config of this CreateServiceRequest.  # noqa: E501
        :type: ApigConfigForCreateServiceInput
        Nr.   )r)   r   s     r*   r   z CreateServiceRequest.apig_configg        (r,   c                     | j         S )zGets the clb_config of this CreateServiceRequest.  # noqa: E501


        :return: The clb_config of this CreateServiceRequest.  # noqa: E501
        :rtype: CLBConfigForCreateServiceInput
        r    r/   s    r*   r   zCreateServiceRequest.clb_configr   s     r,   c                     || _         dS )zSets the clb_config of this CreateServiceRequest.


        :param clb_config: The clb_config of this CreateServiceRequest.  # noqa: E501
        :type: CLBConfigForCreateServiceInput
        Nr4   )r)   r   s     r*   r   zCreateServiceRequest.clb_config|   s     &r,   c                     | j         S )zGets the description of this CreateServiceRequest.  # noqa: E501


        :return: The description of this CreateServiceRequest.  # noqa: E501
        :rtype: str
        r!   r/   s    r*   r   z CreateServiceRequest.description   r0   r,   c                     || _         dS )zSets the description of this CreateServiceRequest.


        :param description: The description of this CreateServiceRequest.  # noqa: E501
        :type: str
        Nr7   )r)   r   s     r*   r   z CreateServiceRequest.description   r2   r,   c                     | j         S )zGets the dry_run of this CreateServiceRequest.  # noqa: E501


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


        :param dry_run: The dry_run of this CreateServiceRequest.  # noqa: E501
        :type: bool
        Nr:   )r)   r   s     r*   r   zCreateServiceRequest.dry_run   s      r,   c                     | j         S )zGets the ports of this CreateServiceRequest.  # noqa: E501


        :return: The ports of this CreateServiceRequest.  # noqa: E501
        :rtype: list[PortForCreateServiceInput]
        r#   r/   s    r*   r   zCreateServiceRequest.ports   s     {r,   c                     || _         dS )zSets the ports of this CreateServiceRequest.


        :param ports: The ports of this CreateServiceRequest.  # noqa: E501
        :type: list[PortForCreateServiceInput]
        Nr=   )r)   r   s     r*   r   zCreateServiceRequest.ports   s     r,   c                     | j         S )zGets the project_name of this CreateServiceRequest.  # noqa: E501


        :return: The project_name of this CreateServiceRequest.  # noqa: E501
        :rtype: str
        )r$   r/   s    r*   r   z!CreateServiceRequest.project_name        !!r,   c                     | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the project_name of this CreateServiceRequest.


        :param project_name: The project_name of this CreateServiceRequest.  # noqa: E501
        :type: str
        N@   zKInvalid value for `project_name`, length must be less than or equal to `64`   zMInvalid value for `project_name`, length must be greater than or equal to `1`)r   client_side_validationlen
ValueErrorr$   )r)   r   s     r*   r   z!CreateServiceRequest.project_name   s~     6 	l(S->->-C-Cjkkk6 	n(S->->-B-Blmmm)r,   c                     | j         S )zGets the resource_group_id of this CreateServiceRequest.  # noqa: E501


        :return: The resource_group_id of this CreateServiceRequest.  # noqa: E501
        :rtype: str
        )r%   r/   s    r*   r   z&CreateServiceRequest.resource_group_id   s     &&r,   c                 N    | j         j        r|t          d          || _        dS )zSets the resource_group_id of this CreateServiceRequest.


        :param resource_group_id: The resource_group_id of this CreateServiceRequest.  # noqa: E501
        :type: str
        Nz9Invalid value for `resource_group_id`, must not be `None`)r   rD   rF   r%   )r)   r   s     r*   r   z&CreateServiceRequest.resource_group_id   s6     5 	Z:K:SXYYY"3r,   c                     | j         S )zGets the service_name of this CreateServiceRequest.  # noqa: E501


        :return: The service_name of this CreateServiceRequest.  # noqa: E501
        :rtype: str
        )r&   r/   s    r*   r   z!CreateServiceRequest.service_name   r@   r,   c                 N    | j         j        r|t          d          || _        dS )zSets the service_name of this CreateServiceRequest.


        :param service_name: The service_name of this CreateServiceRequest.  # noqa: E501
        :type: str
        Nz4Invalid value for `service_name`, must not be `None`)r   rD   rF   r&   )r)   r   s     r*   r   z!CreateServiceRequest.service_name  s5     5 	U,:NSTTT)r,   c                     | j         S )zGets the traffic_config of this CreateServiceRequest.  # noqa: E501


        :return: The traffic_config of this CreateServiceRequest.  # noqa: E501
        :rtype: TrafficConfigForCreateServiceInput
        r'   r/   s    r*   r   z#CreateServiceRequest.traffic_config  s     ##r,   c                     || _         dS )zSets the traffic_config of this CreateServiceRequest.


        :param traffic_config: The traffic_config of this CreateServiceRequest.  # noqa: E501
        :type: TrafficConfigForCreateServiceInput
        NrL   )r)   r   s     r*   r   z#CreateServiceRequest.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hasattrrP   )xs    r*   <lambda>z.CreateServiceRequest.to_dict.<locals>.<lambda>,  s!    WQ	-B-BIaiikkk r,   rP   c                 v    t          | d         d          r"| d         | d                                         fn| S )NrC   rP   r   rQ   )items    r*   rT   z.CreateServiceRequest.to_dict.<locals>.<lambda>3  s<    tAw	22"=$q'47??+<+<!=!=8< r,   )six	iteritemsswagger_typesgetattr
isinstancelistmaprR   rP   dictitems
issubclassr   )r)   resultattr_valuekeys         r*   rP   zCreateServiceRequest.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pformatrP   r/   s    r*   to_strzCreateServiceRequest.to_str?  s    ~dllnn---r,   c                 *    |                                  S )zFor `print` and `pprint`)ri   r/   s    r*   __repr__zCreateServiceRequest.__repr__C  s    {{}}r,   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr[   r   rP   r)   others     r*   __eq__zCreateServiceRequest.__eq__G  s5    %!566 	5||~~00r,   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrm   rn   s     r*   __ne__zCreateServiceRequest.__ne__N  s5    %!566 	4||~~00r,   )
NNNNNNNNNN)__name__
__module____qualname____doc__rY   attribute_mapr+   propertyr   setterr   r   r   r   r   r   r   r   rP   ri   rk   rp   rr    r,   r*   r   r      s        
 962">
 
M $!$%.%)
 
M 1  1  1  1D ! ! X! ( ( (     X  & & & ! ! X! ( ( (   X ^    ^    X \  \ " " X" * * *  ' ' X' 
4 
4 
4 " " X" 
* 
* 
* $ $ X$ . . .  6. . .  1 1 11 1 1 1 1r,   r   )rv   rg   rerW   volcenginesdkcore.configurationr   objectr   rz   r,   r*   <module>r~      s|      				 



 9 9 9 9 9 9}1 }1 }1 }1 }16 }1 }1 }1 }1 }1r,   