ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DimensionValueDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�JmesPathDimensionValuez, Evaluated type of dimension value. c K s. ddd�| _ ddd�| _d| _d| _d| _dS )a� Initializes a new JmesPathDimensionValue object with values from keyword arguments. The default value of the :py:attr:`~oci.sch.models.JmesPathDimensionValue.kind` attribute of this class is ``jmesPath`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param kind: The value to assign to the kind property of this JmesPathDimensionValue. Allowed values for this property are: "jmesPath", "static" :type kind: str :param path: The value to assign to the path property of this JmesPathDimensionValue. :type path: str �str)�kind�pathr r NZjmesPath)Z swagger_typesZ attribute_mapZ_kind�_path)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/sch/models/jmes_path_dimension_value.py�__init__ s ��zJmesPathDimensionValue.__init__c C s | j S )a� **[Required]** Gets the path of this JmesPathDimensionValue. The location to use for deriving the dimension value (evaluated). The path must start with `logContent` in an acceptable notation style with supported `JMESPath selectors`__: expression with dot and index operator (`.` and `:func:`metric_data_details`. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value `"compartmentId"` is returned as `compartmentId`.) If the evaluated value is invalid, then the returned value is `SCH_EVAL_INVALID_VALUE`. If the evaluated value is empty, then the returned value is `SCH_EVAL_VALUE_EMPTY`. __ https://jmespath.org/specification.html :return: The path of this JmesPathDimensionValue. :rtype: str �r �r r r r r 0 s zJmesPathDimensionValue.pathc C s || _ dS )a� Sets the path of this JmesPathDimensionValue. The location to use for deriving the dimension value (evaluated). The path must start with `logContent` in an acceptable notation style with supported `JMESPath selectors`__: expression with dot and index operator (`.` and `:func:`metric_data_details`. The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value `"compartmentId"` is returned as `compartmentId`.) If the evaluated value is invalid, then the returned value is `SCH_EVAL_INVALID_VALUE`. If the evaluated value is empty, then the returned value is `SCH_EVAL_VALUE_EMPTY`. __ https://jmespath.org/specification.html :param path: The path of this JmesPathDimensionValue. :type: str Nr )r r r r r r C s c C s t | �S �N)r r r r r �__repr__V s zJmesPathDimensionValue.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__Y s zJmesPathDimensionValue.__eq__c C s | |k S r r r r r r �__ne___ s zJmesPathDimensionValue.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s r N) Zdimension_value_detailsr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn