NameValuePair

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

Bases: object

A name-value pair representing an attribute entry usable in a list of attributes.

Methods:

__init__(**kwargs)

Initializes a new NameValuePair object with values from keyword arguments.

Attributes:

name

[Required] Gets the name of this NameValuePair.

value

[Required] 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 of the property entry.

Returns

The name of this NameValuePair.

Return type

str

property value

[Required] Gets the value of this NameValuePair. The value of the property entry.

Returns

The value of this NameValuePair.

Return type

str