
    ~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                      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 )/CreateDeploymentRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    bool"ApigConfigForCreateDeploymentInput!CLBConfigForCreateDeploymentInputstrintz"list[RoleForCreateDeploymentInput])
accept_service_trafficapig_config
clb_configdeployment_namedescriptiondry_runpriorityresource_queue_idroles
service_idAcceptServiceTraffic
ApigConfig	CLBConfigDeploymentNameDescriptionDryRunPriorityResourceQueueIdRoles	ServiceIdNc                 v   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        ||| _        ||| _        ||| _        || _        ||| _        ||| _        ||| _        || _        |	|	| _        |
| _        dS )z4CreateDeploymentRequest - a model defined in SwaggerN)r   _configuration_accept_service_traffic_apig_config_clb_config_deployment_name_description_dry_run	_priority_resource_queue_id_roles_service_iddiscriminatorr   r   r   r   r   r   r   r   r   r   )selfr   r   r   r   r   r   r   r   r   r   r    s               /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkmlplatform20240701/models/create_deployment_request.py__init__z CreateDeploymentRequest.__init__=   s    !*__N,'+$  $ "&!!-*@D'"*D!(DO."*D"DL$DM!2DJ$    c                     | j         S )zGets the accept_service_traffic of this CreateDeploymentRequest.  # noqa: E501


        :return: The accept_service_traffic of this CreateDeploymentRequest.  # noqa: E501
        :rtype: bool
        r!   r,   s    r-   r   z.CreateDeploymentRequest.accept_service_traffica   s     ++r/   c                     || _         dS )zSets the accept_service_traffic of this CreateDeploymentRequest.


        :param accept_service_traffic: The accept_service_traffic of this CreateDeploymentRequest.  # noqa: E501
        :type: bool
        Nr1   )r,   r   s     r-   r   z.CreateDeploymentRequest.accept_service_traffick   s     (>$$$r/   c                     | j         S )zGets the apig_config of this CreateDeploymentRequest.  # noqa: E501


        :return: The apig_config of this CreateDeploymentRequest.  # noqa: E501
        :rtype: ApigConfigForCreateDeploymentInput
        r"   r2   s    r-   r   z#CreateDeploymentRequest.apig_configv          r/   c                     || _         dS )zSets the apig_config of this CreateDeploymentRequest.


        :param apig_config: The apig_config of this CreateDeploymentRequest.  # noqa: E501
        :type: ApigConfigForCreateDeploymentInput
        Nr5   )r,   r   s     r-   r   z#CreateDeploymentRequest.apig_config        (r/   c                     | j         S )zGets the clb_config of this CreateDeploymentRequest.  # noqa: E501


        :return: The clb_config of this CreateDeploymentRequest.  # noqa: E501
        :rtype: CLBConfigForCreateDeploymentInput
        r#   r2   s    r-   r   z"CreateDeploymentRequest.clb_config        r/   c                     || _         dS )zSets the clb_config of this CreateDeploymentRequest.


        :param clb_config: The clb_config of this CreateDeploymentRequest.  # noqa: E501
        :type: CLBConfigForCreateDeploymentInput
        Nr:   )r,   r   s     r-   r   z"CreateDeploymentRequest.clb_config   s     &r/   c                     | j         S )zGets the deployment_name of this CreateDeploymentRequest.  # noqa: E501


        :return: The deployment_name of this CreateDeploymentRequest.  # noqa: E501
        :rtype: str
        )r$   r2   s    r-   r   z'CreateDeploymentRequest.deployment_name   s     $$r/   c                 N    | j         j        r|t          d          || _        dS )zSets the deployment_name of this CreateDeploymentRequest.


        :param deployment_name: The deployment_name of this CreateDeploymentRequest.  # noqa: E501
        :type: str
        Nz7Invalid value for `deployment_name`, must not be `None`)r    client_side_validation
ValueErrorr$   )r,   r   s     r-   r   z'CreateDeploymentRequest.deployment_name   s5     5 	X/:QVWWW /r/   c                     | j         S )zGets the description of this CreateDeploymentRequest.  # noqa: E501


        :return: The description of this CreateDeploymentRequest.  # noqa: E501
        :rtype: str
        r%   r2   s    r-   r   z#CreateDeploymentRequest.description   r6   r/   c                     || _         dS )zSets the description of this CreateDeploymentRequest.


        :param description: The description of this CreateDeploymentRequest.  # noqa: E501
        :type: str
        NrB   )r,   r   s     r-   r   z#CreateDeploymentRequest.description   r8   r/   c                     | j         S )zGets the dry_run of this CreateDeploymentRequest.  # noqa: E501


        :return: The dry_run of this CreateDeploymentRequest.  # noqa: E501
        :rtype: bool
        r&   r2   s    r-   r   zCreateDeploymentRequest.dry_run   s     }r/   c                     || _         dS )zSets the dry_run of this CreateDeploymentRequest.


        :param dry_run: The dry_run of this CreateDeploymentRequest.  # noqa: E501
        :type: bool
        NrE   )r,   r   s     r-   r   zCreateDeploymentRequest.dry_run   s      r/   c                     | j         S )zGets the priority of this CreateDeploymentRequest.  # noqa: E501


        :return: The priority of this CreateDeploymentRequest.  # noqa: E501
        :rtype: int
        r'   r2   s    r-   r   z CreateDeploymentRequest.priority   s     ~r/   c                     || _         dS )zSets the priority of this CreateDeploymentRequest.


        :param priority: The priority of this CreateDeploymentRequest.  # noqa: E501
        :type: int
        NrH   )r,   r   s     r-   r   z CreateDeploymentRequest.priority   s     "r/   c                     | j         S )zGets the resource_queue_id of this CreateDeploymentRequest.  # noqa: E501


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


        :param resource_queue_id: The resource_queue_id of this CreateDeploymentRequest.  # noqa: E501
        :type: str
        Nz9Invalid value for `resource_queue_id`, must not be `None`)r    r?   r@   r(   )r,   r   s     r-   r   z)CreateDeploymentRequest.resource_queue_id   s6     5 	Z:K:SXYYY"3r/   c                     | j         S )zGets the roles of this CreateDeploymentRequest.  # noqa: E501


        :return: The roles of this CreateDeploymentRequest.  # noqa: E501
        :rtype: list[RoleForCreateDeploymentInput]
        r)   r2   s    r-   r   zCreateDeploymentRequest.roles  s     {r/   c                     || _         dS )zSets the roles of this CreateDeploymentRequest.


        :param roles: The roles of this CreateDeploymentRequest.  # noqa: E501
        :type: list[RoleForCreateDeploymentInput]
        NrM   )r,   r   s     r-   r   zCreateDeploymentRequest.roles  s     r/   c                     | j         S )zGets the service_id of this CreateDeploymentRequest.  # noqa: E501


        :return: The service_id of this CreateDeploymentRequest.  # noqa: E501
        :rtype: str
        )r*   r2   s    r-   r   z"CreateDeploymentRequest.service_id"  r;   r/   c                 N    | j         j        r|t          d          || _        dS )zSets the service_id of this CreateDeploymentRequest.


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