NameValuePair¶
- class oci.log_analytics.models.NameValuePair(**kwargs)¶
Bases:
objectAn object representing a name-value pair.
Methods:
__init__(**kwargs)Initializes a new NameValuePair object with values from keyword arguments.
Attributes:
[Required] Gets the name of this NameValuePair.
Gets the value of this NameValuePair.
- __init__(**kwargs)¶
Initializes a new NameValuePair object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this NameValuePair.
value (str) – The value to assign to the value property of this NameValuePair.
- property name¶
[Required] Gets the name of this NameValuePair. The name.
- Returns
The name of this NameValuePair.
- Return type
str
- property value¶
Gets the value of this NameValuePair. The value.
- Returns
The value of this NameValuePair.
- Return type
str