DimensionValueDetails

class oci.sch.models.DimensionValueDetails(**kwargs)

Bases: object

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).

Attributes

KIND_JMES_PATH A constant which can be used with the kind property of a DimensionValueDetails.
KIND_STATIC A constant which can be used with the kind property of a DimensionValueDetails.
kind [Required] Gets the kind of this DimensionValueDetails.

Methods

__init__(**kwargs) Initializes a new DimensionValueDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
KIND_JMES_PATH = 'jmesPath'

A constant which can be used with the kind property of a DimensionValueDetails. This constant has a value of “jmesPath”

KIND_STATIC = 'static'

A constant which can be used with the kind property of a DimensionValueDetails. This constant has a value of “static”

__init__(**kwargs)

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:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:kind (str) – 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’.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

kind

[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’.

Returns:The kind of this DimensionValueDetails.
Return type:str