PropertyDefinition

class oci.data_catalog.models.PropertyDefinition(**kwargs)

Bases: object

Details of a single type property.

Methods:

__init__(**kwargs)

Initializes a new PropertyDefinition object with values from keyword arguments.

Attributes:

is_required

Gets the is_required of this PropertyDefinition.

is_updatable

Gets the is_updatable of this PropertyDefinition.

name

Gets the name of this PropertyDefinition.

type

Gets the type of this PropertyDefinition.

__init__(**kwargs)

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

  • type (str) – The value to assign to the type property of this PropertyDefinition.

  • is_required (bool) – The value to assign to the is_required property of this PropertyDefinition.

  • is_updatable (bool) – The value to assign to the is_updatable property of this PropertyDefinition.

property is_required

Gets the is_required of this PropertyDefinition. Whether instances of the type are required to set this property.

Returns

The is_required of this PropertyDefinition.

Return type

bool

property is_updatable

Gets the is_updatable of this PropertyDefinition. Indicates if this property value can be updated.

Returns

The is_updatable of this PropertyDefinition.

Return type

bool

property name

Gets the name of this PropertyDefinition. Name of the property.

Returns

The name of this PropertyDefinition.

Return type

str

property type

Gets the type of this PropertyDefinition. The properties value type.

Returns

The type of this PropertyDefinition.

Return type

str