a f@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@s^eZdZdZdZdZddZeddZe dd Z e j d d Z d d Z d dZ ddZdS)DimensionValueDetailsz Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated). jmesPathstaticcKsddi|_ddi|_d|_dS)a4 Initializes a new DimensionValueDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.sch.models.StaticDimensionValue` * :class:`~oci.sch.models.JmesPathDimensionValue` 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 DimensionValueDetails. Allowed values for this property are: "jmesPath", "static", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type kind: str kindstrN)Z swagger_typesZ attribute_map_kind)selfkwargsrJ/usr/lib/python3.9/site-packages/oci/sch/models/dimension_value_details.py__init__s zDimensionValueDetails.__init__cCs(|d}|dkrdS|dkr dSdSdS)z Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r rZStaticDimensionValuerZJmesPathDimensionValuerNr)Zobject_dictionarytyperrr get_subtype5s z!DimensionValueDetails.get_subtypecCs|jS)a **[Required]** Gets the kind of this DimensionValueDetails. The type of dimension value: static or evaluated. Allowed values for this property are: "jmesPath", "static", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The kind of this DimensionValueDetails. :rtype: str )r r rrrr Es zDimensionValueDetails.kindcCs ddg}t||sd}||_dS)z Sets the kind of this DimensionValueDetails. The type of dimension value: static or evaluated. :param kind: The kind of this DimensionValueDetails. :type: str rrZUNKNOWN_ENUM_VALUEN)rr )r r Zallowed_valuesrrrr Ts  cCst|SN)rrrrr__repr__cszDimensionValueDetails.__repr__cCs|dur dS|j|jkS)NF)__dict__r otherrrr__eq__fszDimensionValueDetails.__eq__cCs ||k Srrrrrr__ne__lszDimensionValueDetails.__ne__N)__name__ __module__ __qualname____doc__ZKIND_JMES_PATHZ KIND_STATICr staticmethodrpropertyr setterrrrrrrrr s   rN)Zoci.utilrrrZoci.decoratorsrobjectrrrrrs