EntityActionArgument

class oci.oda.models.EntityActionArgument(**kwargs)

Bases: object

Argument of an entity action

Attributes:

TYPE_ATTRIBUTE_REFERENCE

A constant which can be used with the type property of a EntityActionArgument.

TYPE_BOOLEAN

A constant which can be used with the type property of a EntityActionArgument.

TYPE_COMPOSITE_ENTITY

A constant which can be used with the type property of a EntityActionArgument.

TYPE_DATE

A constant which can be used with the type property of a EntityActionArgument.

TYPE_DATE_TIME

A constant which can be used with the type property of a EntityActionArgument.

TYPE_ENTITY

A constant which can be used with the type property of a EntityActionArgument.

TYPE_NUMBER

A constant which can be used with the type property of a EntityActionArgument.

TYPE_TEXT

A constant which can be used with the type property of a EntityActionArgument.

entity_name

Gets the entity_name of this EntityActionArgument.

is_multi_value

Gets the is_multi_value of this EntityActionArgument.

meta_type

Gets the meta_type of this EntityActionArgument.

name

[Required] Gets the name of this EntityActionArgument.

natural_language_mapping

Gets the natural_language_mapping of this EntityActionArgument.

type

[Required] Gets the type of this EntityActionArgument.

Methods:

__init__(**kwargs)

Initializes a new EntityActionArgument object with values from keyword arguments.

TYPE_ATTRIBUTE_REFERENCE = 'ATTRIBUTE_REFERENCE'

A constant which can be used with the type property of a EntityActionArgument. This constant has a value of “ATTRIBUTE_REFERENCE”

TYPE_BOOLEAN = 'BOOLEAN'

A constant which can be used with the type property of a EntityActionArgument. This constant has a value of “BOOLEAN”

TYPE_COMPOSITE_ENTITY = 'COMPOSITE_ENTITY'

A constant which can be used with the type property of a EntityActionArgument. This constant has a value of “COMPOSITE_ENTITY”

TYPE_DATE = 'DATE'

A constant which can be used with the type property of a EntityActionArgument. This constant has a value of “DATE”

TYPE_DATE_TIME = 'DATE_TIME'

A constant which can be used with the type property of a EntityActionArgument. This constant has a value of “DATE_TIME”

TYPE_ENTITY = 'ENTITY'

A constant which can be used with the type property of a EntityActionArgument. This constant has a value of “ENTITY”

TYPE_NUMBER = 'NUMBER'

A constant which can be used with the type property of a EntityActionArgument. This constant has a value of “NUMBER”

TYPE_TEXT = 'TEXT'

A constant which can be used with the type property of a EntityActionArgument. This constant has a value of “TEXT”

__init__(**kwargs)

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

  • type (str) – The value to assign to the type property of this EntityActionArgument. Allowed values for this property are: “TEXT”, “NUMBER”, “DATE_TIME”, “DATE”, “ENTITY”, “COMPOSITE_ENTITY”, “ATTRIBUTE_REFERENCE”, “BOOLEAN”

  • meta_type (str) – The value to assign to the meta_type property of this EntityActionArgument.

  • natural_language_mapping (oci.oda.models.EntityActionArgumentNaturalLanguageMapping) – The value to assign to the natural_language_mapping property of this EntityActionArgument.

  • is_multi_value (bool) – The value to assign to the is_multi_value property of this EntityActionArgument.

  • entity_name (str) – The value to assign to the entity_name property of this EntityActionArgument.

property entity_name

Gets the entity_name of this EntityActionArgument. Name of referenced entity.

Returns

The entity_name of this EntityActionArgument.

Return type

str

property is_multi_value

Gets the is_multi_value of this EntityActionArgument. Is the entity action argument multi-value

Returns

The is_multi_value of this EntityActionArgument.

Return type

bool

property meta_type

Gets the meta_type of this EntityActionArgument. Metatype of an entity action argument

Returns

The meta_type of this EntityActionArgument.

Return type

str

property name

[Required] Gets the name of this EntityActionArgument. Name of an entity action argument

Returns

The name of this EntityActionArgument.

Return type

str

property natural_language_mapping

Gets the natural_language_mapping of this EntityActionArgument.

Returns

The natural_language_mapping of this EntityActionArgument.

Return type

oci.oda.models.EntityActionArgumentNaturalLanguageMapping

property type

[Required] Gets the type of this EntityActionArgument. Type of an entity action argument

Allowed values for this property are: “TEXT”, “NUMBER”, “DATE_TIME”, “DATE”, “ENTITY”, “COMPOSITE_ENTITY”, “ATTRIBUTE_REFERENCE”, “BOOLEAN”

Returns

The type of this EntityActionArgument.

Return type

str