EnvironmentVariable

class oci.generative_ai_sandbox.models.EnvironmentVariable(**kwargs)

Bases: object

The environment variables for the Sandbox

Methods:

__init__(**kwargs)

Initializes a new EnvironmentVariable object with values from keyword arguments.

Attributes:

name

[Required] Gets the name of this EnvironmentVariable.

value

[Required] Gets the value of this EnvironmentVariable.

__init__(**kwargs)

Initializes a new EnvironmentVariable 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 EnvironmentVariable.

  • value (object) – The value to assign to the value property of this EnvironmentVariable.

property name

[Required] Gets the name of this EnvironmentVariable. Name of the environment variable.

Returns

The name of this EnvironmentVariable.

Return type

str

property value

[Required] Gets the value of this EnvironmentVariable. Value of the environment variable.

Returns

The value of this EnvironmentVariable.

Return type

object