
    ~i+A                     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
    ecs

    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                   b   e Zd ZdZ	 i ddddddddd	dd
dddddddddddddddddddddZi ddddddddd	dd
ddddddddddd dd!dd"dd#dd$dd%ZdMd'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d0             Zej	        d1             Zed2             Zej	        d3             Zed4             Zej	        d5             Zed6             Zej	        d7             Zed8             Zej	        d9             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	        dA             ZedB             Zej	        dC             ZedD             Zej	        dE             ZedF             Zej	        dG             ZdH ZdI ZdJ ZdK ZdL Zd&S )NAllocateDedicatedHostsRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    auto_placementstr
auto_renewboolauto_renew_periodintcharge_typeclient_tokencountcpu_overcommit_ratiofloatdedicated_host_cluster_iddedicated_host_namededicated_host_recoverydedicated_host_type_iddescriptiondry_runperiodperiod_unitzone_idAutoPlacement	AutoRenewAutoRenewPeriod
ChargeTypeClientTokenCountCpuOvercommitRatioDedicatedHostClusterIdDedicatedHostNameDedicatedHostRecoveryDedicatedHostTypeIdDescriptionDryRunPeriod
PeriodUnitZoneIdNc                 6   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |	| _        |
|
| _        || _        ||| _        ||| _        ||| _         ||| _!        || _"        dS )z:AllocateDedicatedHostsRequest - a model defined in SwaggerN)#r   _configuration_auto_placement_auto_renew_auto_renew_period_charge_type_client_token_count_cpu_overcommit_ratio_dedicated_host_cluster_id_dedicated_host_name_dedicated_host_recovery_dedicated_host_type_id_description_dry_run_period_period_unit_zone_iddiscriminatorr   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   )selfr   r   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r+   s                     /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkecs/models/allocate_dedicated_hosts_request.py__init__z&AllocateDedicatedHostsRequest.__init__I   sj   !*__N,#"& !%)"*.'$(!(,%'+$  !%"0D!(DO(%6D""*D# ,DDJ+(<D%$0-FD*#6 ".+BD(&<#"*D"DL DK"*D    c                     | j         S )zGets the auto_placement of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The auto_placement of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: str
        r,   r=   s    r>   r   z,AllocateDedicatedHostsRequest.auto_placement   s     ##r@   c                     || _         dS )zSets the auto_placement of this AllocateDedicatedHostsRequest.


        :param auto_placement: The auto_placement of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: str
        NrB   )r=   r   s     r>   r   z,AllocateDedicatedHostsRequest.auto_placement   s      .r@   c                     | j         S )zGets the auto_renew of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The auto_renew of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: bool
        r-   rC   s    r>   r   z(AllocateDedicatedHostsRequest.auto_renew   s     r@   c                     || _         dS )zSets the auto_renew of this AllocateDedicatedHostsRequest.


        :param auto_renew: The auto_renew of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: bool
        NrF   )r=   r   s     r>   r   z(AllocateDedicatedHostsRequest.auto_renew   s     &r@   c                     | j         S )zGets the auto_renew_period of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The auto_renew_period of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: int
        r.   rC   s    r>   r
   z/AllocateDedicatedHostsRequest.auto_renew_period   s     &&r@   c                     || _         dS )zSets the auto_renew_period of this AllocateDedicatedHostsRequest.


        :param auto_renew_period: The auto_renew_period of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: int
        NrI   )r=   r
   s     r>   r
   z/AllocateDedicatedHostsRequest.auto_renew_period   s     #4r@   c                     | j         S )zGets the charge_type of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The charge_type of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: str
        r/   rC   s    r>   r   z)AllocateDedicatedHostsRequest.charge_type          r@   c                     || _         dS )zSets the charge_type of this AllocateDedicatedHostsRequest.


        :param charge_type: The charge_type of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: str
        NrL   )r=   r   s     r>   r   z)AllocateDedicatedHostsRequest.charge_type        (r@   c                     | j         S )zGets the client_token of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The client_token of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: str
        r0   rC   s    r>   r   z*AllocateDedicatedHostsRequest.client_token   s     !!r@   c                     || _         dS )zSets the client_token of this AllocateDedicatedHostsRequest.


        :param client_token: The client_token of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: str
        NrQ   )r=   r   s     r>   r   z*AllocateDedicatedHostsRequest.client_token   s     *r@   c                     | j         S )zGets the count of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The count of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: int
        r1   rC   s    r>   r   z#AllocateDedicatedHostsRequest.count   s     {r@   c                     || _         dS )zSets the count of this AllocateDedicatedHostsRequest.


        :param count: The count of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: int
        NrT   )r=   r   s     r>   r   z#AllocateDedicatedHostsRequest.count   s     r@   c                     | j         S )zGets the cpu_overcommit_ratio of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The cpu_overcommit_ratio of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: float
        r2   rC   s    r>   r   z2AllocateDedicatedHostsRequest.cpu_overcommit_ratio   s     ))r@   c                     || _         dS )zSets the cpu_overcommit_ratio of this AllocateDedicatedHostsRequest.


        :param cpu_overcommit_ratio: The cpu_overcommit_ratio of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: float
        NrW   )r=   r   s     r>   r   z2AllocateDedicatedHostsRequest.cpu_overcommit_ratio  s     &:"""r@   c                     | j         S )zGets the dedicated_host_cluster_id of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The dedicated_host_cluster_id of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: str
        r3   rC   s    r>   r   z7AllocateDedicatedHostsRequest.dedicated_host_cluster_id  s     ..r@   c                     || _         dS )zSets the dedicated_host_cluster_id of this AllocateDedicatedHostsRequest.


        :param dedicated_host_cluster_id: The dedicated_host_cluster_id of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: str
        NrZ   )r=   r   s     r>   r   z7AllocateDedicatedHostsRequest.dedicated_host_cluster_id  s     +D'''r@   c                     | j         S )zGets the dedicated_host_name of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The dedicated_host_name of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: str
        )r4   rC   s    r>   r   z1AllocateDedicatedHostsRequest.dedicated_host_name'  s     ((r@   c                 N    | j         j        r|t          d          || _        dS )zSets the dedicated_host_name of this AllocateDedicatedHostsRequest.


        :param dedicated_host_name: The dedicated_host_name of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: str
        Nz;Invalid value for `dedicated_host_name`, must not be `None`)r+   client_side_validation
ValueErrorr4   )r=   r   s     r>   r   z1AllocateDedicatedHostsRequest.dedicated_host_name1  s6     5 	\:M:UZ[[[$7!!!r@   c                     | j         S )zGets the dedicated_host_recovery of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The dedicated_host_recovery of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: str
        r5   rC   s    r>   r   z5AllocateDedicatedHostsRequest.dedicated_host_recovery>  s     ,,r@   c                     || _         dS )zSets the dedicated_host_recovery of this AllocateDedicatedHostsRequest.


        :param dedicated_host_recovery: The dedicated_host_recovery of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: str
        Nra   )r=   r   s     r>   r   z5AllocateDedicatedHostsRequest.dedicated_host_recoveryH  s     )@%%%r@   c                     | j         S )zGets the dedicated_host_type_id of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The dedicated_host_type_id of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: str
        )r6   rC   s    r>   r   z4AllocateDedicatedHostsRequest.dedicated_host_type_idS  s     ++r@   c                 N    | j         j        r|t          d          || _        dS )zSets the dedicated_host_type_id of this AllocateDedicatedHostsRequest.


        :param dedicated_host_type_id: The dedicated_host_type_id of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: str
        Nz>Invalid value for `dedicated_host_type_id`, must not be `None`)r+   r^   r_   r6   )r=   r   s     r>   r   z4AllocateDedicatedHostsRequest.dedicated_host_type_id]  s6     5 	_:P:X]^^^'=$$$r@   c                     | j         S )zGets the description of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The description of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: str
        r7   rC   s    r>   r   z)AllocateDedicatedHostsRequest.descriptionj  rM   r@   c                     || _         dS )zSets the description of this AllocateDedicatedHostsRequest.


        :param description: The description of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: str
        Nrf   )r=   r   s     r>   r   z)AllocateDedicatedHostsRequest.descriptiont  rO   r@   c                     | j         S )zGets the dry_run of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The dry_run of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: bool
        r8   rC   s    r>   r   z%AllocateDedicatedHostsRequest.dry_run       }r@   c                     || _         dS )zSets the dry_run of this AllocateDedicatedHostsRequest.


        :param dry_run: The dry_run of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: bool
        Nri   )r=   r   s     r>   r   z%AllocateDedicatedHostsRequest.dry_run  s      r@   c                     | j         S )zGets the period of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The period of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: int
        r9   rC   s    r>   r   z$AllocateDedicatedHostsRequest.period  s     |r@   c                     || _         dS )zSets the period of this AllocateDedicatedHostsRequest.


        :param period: The period of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: int
        Nrm   )r=   r   s     r>   r   z$AllocateDedicatedHostsRequest.period  s     r@   c                     | j         S )zGets the period_unit of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The period_unit of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: str
        r:   rC   s    r>   r   z)AllocateDedicatedHostsRequest.period_unit  rM   r@   c                     || _         dS )zSets the period_unit of this AllocateDedicatedHostsRequest.


        :param period_unit: The period_unit of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: str
        Nrp   )r=   r   s     r>   r   z)AllocateDedicatedHostsRequest.period_unit  rO   r@   c                     | j         S )zGets the zone_id of this AllocateDedicatedHostsRequest.  # noqa: E501


        :return: The zone_id of this AllocateDedicatedHostsRequest.  # noqa: E501
        :rtype: str
        )r;   rC   s    r>   r   z%AllocateDedicatedHostsRequest.zone_id  rj   r@   c                 N    | j         j        r|t          d          || _        dS )zSets the zone_id of this AllocateDedicatedHostsRequest.


        :param zone_id: The zone_id of this AllocateDedicatedHostsRequest.  # noqa: E501
        :type: str
        Nz/Invalid value for `zone_id`, must not be `None`)r+   r^   r_   r;   )r=   r   s     r>   r   z%AllocateDedicatedHostsRequest.zone_id  s1     5 	P'/NOOO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hasattrrv   )xs    r>   <lambda>z7AllocateDedicatedHostsRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r@   rv   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rv   r   rw   )items    r>   rz   z7AllocateDedicatedHostsRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r@   )six	iteritemsswagger_typesgetattr
isinstancelistmaprx   rv   dictitems
issubclassr   )r=   resultattr_valuekeys         r>   rv   z%AllocateDedicatedHostsRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t3T:: 	$"jjll $ $
U#sr@   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrv   rC   s    r>   to_strz$AllocateDedicatedHostsRequest.to_str  s    ~dllnn---r@   c                 *    |                                  S )zFor `print` and `pprint`)r   rC   s    r>   __repr__z&AllocateDedicatedHostsRequest.__repr__  s    {{}}r@   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr   r   rv   r=   others     r>   __eq__z$AllocateDedicatedHostsRequest.__eq__  s5    %!>?? 	5||~~00r@   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     r>   __ne__z$AllocateDedicatedHostsRequest.__ne__  s5    %!>?? 	4||~~00r@   )NNNNNNNNNNNNNNNNN)__name__
__module____qualname____doc__r   attribute_mapr?   propertyr   setterr   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   rv   r   r   r   r    r@   r>   r   r      s        
%f 	U 	u	
 	 	 	 	$U 	u 	"5 	!% 	u 	6 	% 	u  	5!M&/k 	. 	|	
 	 	 	 4 	$%= 	2 	"#: 	!"7 	} 	8 	( 	|  	8!M&4 4 4 4l $ $ X$ . . .     X  & & & ' ' X' 4 4 4 ! ! X! ( ( ( " " X" * * *   X \  \ * * X*  : : ! : / / X/ %D D &%D ) ) X) 
8 
8  
8 - - X- #@ @ $#@ , , X, "
> 
> #"
> ! ! X! ( ( (   X ^    ^    X ]  ] ! ! X! ( ( (   X ^
  
  ^
   6. . .  1 1 11 1 1 1 1r@   r   )r   r   rer~   volcenginesdkcore.configurationr   objectr   r   r@   r>   <module>r      s|      				 



 9 9 9 9 9 9n1 n1 n1 n1 n1F n1 n1 n1 n1 n1r@   