
    ~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 )z
    id

    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Z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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.
    BackendForCreateServiceInputstrz list[RouteForCreateServiceInput]zlist[TagForCreateServiceInput])backenddescriptionpermission_space_idpermission_space_nameproject_nameroutesservice_nametagsBackendDescriptionPermissionSpaceIdPermissionSpaceNameProjectNameRoutesServiceNameTagsNc
                 >   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        || _        ||| _        ||| _        ||| _        || _        |	|| _        dS dS )z1CreateServiceRequest - a model defined in SwaggerN)r   _configuration_backend_description_permission_space_id_permission_space_name_project_name_routes_service_name_tagsdiscriminatorr   r	   r
   r   r   r   r   r   )
selfr   r	   r
   r   r   r   r   r   r   s
             v/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkid/models/create_service_request.py__init__zCreateServiceRequest.__init__9   s    !*__N, $(!&*#!!
!"DL"*D#6  ,)>D&# ,D DK(DIII     c                     | j         S )zGets the backend of this CreateServiceRequest.  # noqa: E501


        :return: The backend of this CreateServiceRequest.  # noqa: E501
        :rtype: BackendForCreateServiceInput
        r   r#   s    r$   r   zCreateServiceRequest.backendX   s     }r&   c                     || _         dS )zSets the backend of this CreateServiceRequest.


        :param backend: The backend of this CreateServiceRequest.  # noqa: E501
        :type: BackendForCreateServiceInput
        Nr(   )r#   r   s     r$   r   zCreateServiceRequest.backendb   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.descriptionm   s       r&   c                     || _         dS )zSets the description of this CreateServiceRequest.


        :param description: The description of this CreateServiceRequest.  # noqa: E501
        :type: str
        Nr,   )r#   r	   s     r$   r	   z CreateServiceRequest.descriptionw   s     (r&   c                     | j         S )zGets the permission_space_id of this CreateServiceRequest.  # noqa: E501


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


        :param permission_space_id: The permission_space_id of this CreateServiceRequest.  # noqa: E501
        :type: str
        Nz;Invalid value for `permission_space_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r#   r
   s     r$   r
   z(CreateServiceRequest.permission_space_id   s6     5 	\:M:UZ[[[$7!!!r&   c                     | j         S )zGets the permission_space_name of this CreateServiceRequest.  # noqa: E501


        :return: The permission_space_name of this CreateServiceRequest.  # noqa: E501
        :rtype: str
        r   r)   s    r$   r   z*CreateServiceRequest.permission_space_name   s     **r&   c                     || _         dS )zSets the permission_space_name of this CreateServiceRequest.


        :param permission_space_name: The permission_space_name of this CreateServiceRequest.  # noqa: E501
        :type: str
        Nr3   )r#   r   s     r$   r   z*CreateServiceRequest.permission_space_name   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                     || _         dS )zSets the project_name of this CreateServiceRequest.


        :param project_name: The project_name of this CreateServiceRequest.  # noqa: E501
        :type: str
        Nr6   )r#   r   s     r$   r   z!CreateServiceRequest.project_name   s     *r&   c                     | j         S )zGets the routes of this CreateServiceRequest.  # noqa: E501


        :return: The routes of this CreateServiceRequest.  # noqa: E501
        :rtype: list[RouteForCreateServiceInput]
        r   r)   s    r$   r   zCreateServiceRequest.routes   s     |r&   c                     || _         dS )zSets the routes of this CreateServiceRequest.


        :param routes: The routes of this CreateServiceRequest.  # noqa: E501
        :type: list[RouteForCreateServiceInput]
        Nr:   )r#   r   s     r$   r   zCreateServiceRequest.routes   s     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   r7   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   r0   r1   r    )r#   r   s     r$   r   z!CreateServiceRequest.service_name   s5     5 	U,:NSTTT)r&   c                     | j         S )zGets the tags of this CreateServiceRequest.  # noqa: E501


        :return: The tags of this CreateServiceRequest.  # noqa: E501
        :rtype: list[TagForCreateServiceInput]
        r!   r)   s    r$   r   zCreateServiceRequest.tags   s     zr&   c                     || _         dS )zSets the tags of this CreateServiceRequest.


        :param tags: The tags of this CreateServiceRequest.  # noqa: E501
        :type: list[TagForCreateServiceInput]
        Nr?   )r#   r   s     r$   r   zCreateServiceRequest.tags   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hasattrrC   )xs    r$   <lambda>z.CreateServiceRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r&   rC   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rC   r   rD   )items    r$   rG   z.CreateServiceRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r&   )six	iteritemsswagger_typesgetattr
isinstancelistmaprE   rC   dictitems
issubclassr   )r#   resultattr_valuekeys         r$   rC   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pformatrC   r)   s    r$   to_strzCreateServiceRequest.to_str  s    ~dllnn---r&   c                 *    |                                  S )zFor `print` and `pprint`)r]   r)   s    r$   __repr__zCreateServiceRequest.__repr__#  s    {{}}r&   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrO   r   rC   r#   others     r$   __eq__zCreateServiceRequest.__eq__'  s5    %!566 	5||~~00r&   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTra   rb   s     r$   __ne__zCreateServiceRequest.__ne__.  s5    %!566 	4||~~00r&   )	NNNNNNNNN)__name__
__module____qualname____doc__rM   attribute_mapr%   propertyr   setterr	   r
   r   r   r   r   r   rC   r]   r_   rd   rf    r&   r$   r   r      s        
 2$!&40	 	M $2!6%%	 	M   >   X ^    ^  ! ! X! ( ( ( ) ) X) 
8 
8  
8 + + X+ !< < "!< " " X" * * *   X ]  ] " " X" 
* 
* 
*   X 
[  [  6. . .  1 1 11 1 1 1 1r&   r   )rj   r[   rerK   volcenginesdkcore.configurationr   objectr   rn   r&   r$   <module>rr      s|      				 



 9 9 9 9 9 9]1 ]1 ]1 ]1 ]16 ]1 ]1 ]1 ]1 ]1r&   