
    ~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
    vefaas

    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Z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d Zd Zd Zd Zd ZdS )ReleaseRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strint)descriptionfunction_idmax_instancerevision_numberrolling_steptarget_traffic_weightDescription
FunctionIdMaxInstanceRevisionNumberRollingStepTargetTrafficWeightNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        || _
        ||| _        || _        ||| _        |	|| _        dS dS )z+ReleaseRequest - a model defined in SwaggerN)r   _configuration_description_function_id_max_instance_revision_number_rolling_step_target_traffic_weightdiscriminatorr   r	   r
   r   r   r   )selfr   r	   r
   r   r   r   r   s           s/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkvefaas/models/release_request.py__init__zReleaseRequest.__init__5   s    !*__N,  ! $!&*#!"*D&# ,D.# ,D ,)>D&&& -,    c                     | j         S )zGets the description of this ReleaseRequest.  # noqa: E501


        :return: The description of this ReleaseRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zReleaseRequest.descriptionN          r    c                     || _         dS )zSets the description of this ReleaseRequest.


        :param description: The description of this ReleaseRequest.  # noqa: E501
        :type: str
        Nr"   )r   r   s     r   r   zReleaseRequest.descriptionX   s     (r    c                     | j         S )zGets the function_id of this ReleaseRequest.  # noqa: E501


        :return: The function_id of this ReleaseRequest.  # noqa: E501
        :rtype: str
        )r   r#   s    r   r	   zReleaseRequest.function_idc   r$   r    c                 N    | j         j        r|t          d          || _        dS )zSets the function_id of this ReleaseRequest.


        :param function_id: The function_id of this ReleaseRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `function_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r	   s     r   r	   zReleaseRequest.function_idm   s5     5 	T+:MRSSS'r    c                     | j         S )zGets the max_instance of this ReleaseRequest.  # noqa: E501


        :return: The max_instance of this ReleaseRequest.  # noqa: E501
        :rtype: int
        r   r#   s    r   r
   zReleaseRequest.max_instancez        !!r    c                     || _         dS )zSets the max_instance of this ReleaseRequest.


        :param max_instance: The max_instance of this ReleaseRequest.  # noqa: E501
        :type: int
        Nr+   )r   r
   s     r   r
   zReleaseRequest.max_instance        *r    c                     | j         S )zGets the revision_number of this ReleaseRequest.  # noqa: E501


        :return: The revision_number of this ReleaseRequest.  # noqa: E501
        :rtype: int
        )r   r#   s    r   r   zReleaseRequest.revision_number   s     $$r    c                 N    | j         j        r|t          d          || _        dS )zSets the revision_number of this ReleaseRequest.


        :param revision_number: The revision_number of this ReleaseRequest.  # noqa: E501
        :type: int
        Nz7Invalid value for `revision_number`, must not be `None`)r   r(   r)   r   )r   r   s     r   r   zReleaseRequest.revision_number   s5     5 	X/:QVWWW /r    c                     | j         S )zGets the rolling_step of this ReleaseRequest.  # noqa: E501


        :return: The rolling_step of this ReleaseRequest.  # noqa: E501
        :rtype: int
        r   r#   s    r   r   zReleaseRequest.rolling_step   r,   r    c                     || _         dS )zSets the rolling_step of this ReleaseRequest.


        :param rolling_step: The rolling_step of this ReleaseRequest.  # noqa: E501
        :type: int
        Nr2   )r   r   s     r   r   zReleaseRequest.rolling_step   r.   r    c                     | j         S )zGets the target_traffic_weight of this ReleaseRequest.  # noqa: E501


        :return: The target_traffic_weight of this ReleaseRequest.  # noqa: E501
        :rtype: int
        r   r#   s    r   r   z$ReleaseRequest.target_traffic_weight   s     **r    c                     || _         dS )zSets the target_traffic_weight of this ReleaseRequest.


        :param target_traffic_weight: The target_traffic_weight of this ReleaseRequest.  # noqa: E501
        :type: int
        Nr5   )r   r   s     r   r   z$ReleaseRequest.target_traffic_weight   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hasattrr9   )xs    r   <lambda>z(ReleaseRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r    r9   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r9   r   r:   )items    r   r=   z(ReleaseRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r    )six	iteritemsswagger_typesgetattr
isinstancelistmapr;   r9   dictitems
issubclassr   )r   resultattr_valuekeys         r   r9   zReleaseRequest.to_dict   s+   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %tnd++ 	$"jjll $ $
U#sr    c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr9   r#   s    r   to_strzReleaseRequest.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rS   r#   s    r   __repr__zReleaseRequest.__repr__   s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrE   r   r9   r   others     r   __eq__zReleaseRequest.__eq__   s4    %00 	5||~~00r    c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrW   rX   s     r   __ne__zReleaseRequest.__ne__   s4    %00 	4||~~00r    )NNNNNNN)__name__
__module____qualname____doc__rC   attribute_mapr   propertyr   setterr	   r
   r   r   r   r9   rS   rU   rZ   r\    r    r   r   r      s        
  !& M %#%+%!6 M? ? ? ?2 ! ! X! ( ( ( ! ! X! 
( 
( 
( " " X" * * * % % X% 
0 
0 
0 " " X" * * * + + X+ !< < "!<  6. . .  1 1 11 1 1 1 1r    r   )r`   rQ   rerA   volcenginesdkcore.configurationr   objectr   rd   r    r   <module>rh      s|      				 



 9 9 9 9 9 9i1 i1 i1 i1 i1V i1 i1 i1 i1 i1r    