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

    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 )'GetMetricDataRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    intz	list[str]z#list[InstanceForGetMetricDataInput]str)end_timegroup_by	instancesmetric_name	namespaceperiod
start_timesub_namespaceEndTimeGroupBy	Instances
MetricName	NamespacePeriod	StartTimeSubNamespaceNc
                 6   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        || _        || _        ||| _        ||| _        || _        dS )z1GetMetricDataRequest - a model defined in SwaggerN)r   _configuration	_end_time	_group_by
_instances_metric_name
_namespace_period_start_time_sub_namespacediscriminatorr   r	   r
   r   r   r   r   r   )
selfr   r	   r
   r   r   r   r   r   r   s
             /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkvolcobserve/models/get_metric_data_request.py__init__zGetMetricDataRequest.__init__9   s    !*__N, "!$DM$DM &DN&" DK!(DO*    c                     | j         S )zGets the end_time of this GetMetricDataRequest.  # noqa: E501


        :return: The end_time of this GetMetricDataRequest.  # noqa: E501
        :rtype: int
        r   r#   s    r$   r   zGetMetricDataRequest.end_timeW        ~r&   c                     || _         dS )zSets the end_time of this GetMetricDataRequest.


        :param end_time: The end_time of this GetMetricDataRequest.  # noqa: E501
        :type: int
        Nr(   )r#   r   s     r$   r   zGetMetricDataRequest.end_timea        "r&   c                     | j         S )zGets the group_by of this GetMetricDataRequest.  # noqa: E501


        :return: The group_by of this GetMetricDataRequest.  # noqa: E501
        :rtype: list[str]
        r   r)   s    r$   r	   zGetMetricDataRequest.group_byl   r*   r&   c                     || _         dS )zSets the group_by of this GetMetricDataRequest.


        :param group_by: The group_by of this GetMetricDataRequest.  # noqa: E501
        :type: list[str]
        Nr.   )r#   r	   s     r$   r	   zGetMetricDataRequest.group_byv   r,   r&   c                     | j         S )zGets the instances of this GetMetricDataRequest.  # noqa: E501


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


        :param instances: The instances of this GetMetricDataRequest.  # noqa: E501
        :type: list[InstanceForGetMetricDataInput]
        Nr1   )r#   r
   s     r$   r
   zGetMetricDataRequest.instances   s     $r&   c                     | j         S )zGets the metric_name of this GetMetricDataRequest.  # noqa: E501


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


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


        :return: The namespace of this GetMetricDataRequest.  # noqa: E501
        :rtype: str
        )r   r)   s    r$   r   zGetMetricDataRequest.namespace   r2   r&   c                 N    | j         j        r|t          d          || _        dS )zSets the namespace of this GetMetricDataRequest.


        :param namespace: The namespace of this GetMetricDataRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `namespace`, must not be `None`)r   r6   r7   r   )r#   r   s     r$   r   zGetMetricDataRequest.namespace   s2     5 	R):KPQQQ#r&   c                     | j         S )zGets the period of this GetMetricDataRequest.  # noqa: E501


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


        :param period: The period of this GetMetricDataRequest.  # noqa: E501
        :type: str
        Nr;   )r#   r   s     r$   r   zGetMetricDataRequest.period   s     r&   c                     | j         S )zGets the start_time of this GetMetricDataRequest.  # noqa: E501


        :return: The start_time of this GetMetricDataRequest.  # noqa: E501
        :rtype: int
        r    r)   s    r$   r   zGetMetricDataRequest.start_time   s     r&   c                     || _         dS )zSets the start_time of this GetMetricDataRequest.


        :param start_time: The start_time of this GetMetricDataRequest.  # noqa: E501
        :type: int
        Nr>   )r#   r   s     r$   r   zGetMetricDataRequest.start_time   s     &r&   c                     | j         S )zGets the sub_namespace of this GetMetricDataRequest.  # noqa: E501


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


        :param sub_namespace: The sub_namespace of this GetMetricDataRequest.  # noqa: E501
        :type: str
        Nz5Invalid value for `sub_namespace`, must not be `None`)r   r6   r7   r!   )r#   r   s     r$   r   z"GetMetricDataRequest.sub_namespace   s5     5 	V-:OTUUU+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hasattrrD   )xs    r$   <lambda>z.GetMetricDataRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r&   rD   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rD   r   rE   )items    r$   rH   z.GetMetricDataRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r&   )six	iteritemsswagger_typesgetattr
isinstancelistmaprF   rD   dictitems
issubclassr   )r#   resultattr_valuekeys         r$   rD   zGetMetricDataRequest.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pformatrD   r)   s    r$   to_strzGetMetricDataRequest.to_str   s    ~dllnn---r&   c                 *    |                                  S )zFor `print` and `pprint`)r^   r)   s    r$   __repr__zGetMetricDataRequest.__repr__$  s    {{}}r&   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrP   r   rD   r#   others     r$   __eq__zGetMetricDataRequest.__eq__(  s5    %!566 	5||~~00r&   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrb   rc   s     r$   __ne__zGetMetricDataRequest.__ne__/  s5    %!566 	4||~~00r&   )	NNNNNNNNN)__name__
__module____qualname____doc__rN   attribute_mapr%   propertyr   setterr	   r
   r   r   r   r   r   rD   r^   r`   re   rg    r&   r$   r   r      s        
 :	 	M  # !'	 	M+ + + +<   X _" " _"   X _" " _"   X $ $ $ ! ! X! 
( 
( 
(   X 
$ 
$ 
$   X ]  ]     X  & & & # # X# 
, 
, 
,  6. . .  1 1 11 1 1 1 1r&   r   )rk   r\   rerL   volcenginesdkcore.configurationr   objectr   ro   r&   r$   <module>rs      s|      				 



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