Attribute¶
-
class
oci.apm_traces.models.
Attribute
(**kwargs)¶ Bases:
object
Definition of an attribute which is a key-value pair.
Methods
__init__
(**kwargs)Initializes a new Attribute object with values from keyword arguments. Attributes
attribute_name
[Required] Gets the attribute_name of this Attribute. attribute_value
[Required] Gets the attribute_value of this Attribute. -
__init__
(**kwargs)¶ Initializes a new Attribute object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - attribute_name (str) – The value to assign to the attribute_name property of this Attribute.
- attribute_value (str) – The value to assign to the attribute_value property of this Attribute.
-
attribute_name
¶ [Required] Gets the attribute_name of this Attribute. Key that specifies the attribute name.
Returns: The attribute_name of this Attribute. Return type: str
-
attribute_value
¶ [Required] Gets the attribute_value of this Attribute. Value associated with the attribute key.
Returns: The attribute_value of this Attribute. Return type: str
-