NameValuePair

class oci.log_analytics.models.NameValuePair(**kwargs)

Bases: object

An object representing a name-value pair.

Methods

__init__(**kwargs) Initializes a new NameValuePair object with values from keyword arguments.

Attributes

name [Required] Gets the name of this NameValuePair.
value 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.
name

[Required] Gets the name of this NameValuePair. The name.

Returns:The name of this NameValuePair.
Return type:str
value

Gets the value of this NameValuePair. The value.

Returns:The value of this NameValuePair.
Return type:str