FlattenProjectionPreferences

class oci.data_integration.models.FlattenProjectionPreferences(**kwargs)

Bases: object

The preferences for the flatten operation.

Attributes:

CREATE_ARRAY_INDEX_ALLOW

A constant which can be used with the create_array_index property of a FlattenProjectionPreferences.

CREATE_ARRAY_INDEX_DO_NOT_ALLOW

A constant which can be used with the create_array_index property of a FlattenProjectionPreferences.

IGNORE_NULL_VALUES_ALLOW

A constant which can be used with the ignore_null_values property of a FlattenProjectionPreferences.

IGNORE_NULL_VALUES_DO_NOT_ALLOW

A constant which can be used with the ignore_null_values property of a FlattenProjectionPreferences.

RETAIN_ALL_ATTRIBUTES_ALLOW

A constant which can be used with the retain_all_attributes property of a FlattenProjectionPreferences.

RETAIN_ALL_ATTRIBUTES_DO_NOT_ALLOW

A constant which can be used with the retain_all_attributes property of a FlattenProjectionPreferences.

RETAIN_PARENT_NAME_LINEAGE_ALLOW

A constant which can be used with the retain_parent_name_lineage property of a FlattenProjectionPreferences.

RETAIN_PARENT_NAME_LINEAGE_DO_NOT_ALLOW

A constant which can be used with the retain_parent_name_lineage property of a FlattenProjectionPreferences.

create_array_index

[Required] Gets the create_array_index of this FlattenProjectionPreferences.

ignore_null_values

[Required] Gets the ignore_null_values of this FlattenProjectionPreferences.

retain_all_attributes

[Required] Gets the retain_all_attributes of this FlattenProjectionPreferences.

retain_parent_name_lineage

[Required] Gets the retain_parent_name_lineage of this FlattenProjectionPreferences.

Methods:

__init__(**kwargs)

Initializes a new FlattenProjectionPreferences object with values from keyword arguments.

CREATE_ARRAY_INDEX_ALLOW = 'ALLOW'

A constant which can be used with the create_array_index property of a FlattenProjectionPreferences. This constant has a value of “ALLOW”

CREATE_ARRAY_INDEX_DO_NOT_ALLOW = 'DO_NOT_ALLOW'

A constant which can be used with the create_array_index property of a FlattenProjectionPreferences. This constant has a value of “DO_NOT_ALLOW”

IGNORE_NULL_VALUES_ALLOW = 'ALLOW'

A constant which can be used with the ignore_null_values property of a FlattenProjectionPreferences. This constant has a value of “ALLOW”

IGNORE_NULL_VALUES_DO_NOT_ALLOW = 'DO_NOT_ALLOW'

A constant which can be used with the ignore_null_values property of a FlattenProjectionPreferences. This constant has a value of “DO_NOT_ALLOW”

RETAIN_ALL_ATTRIBUTES_ALLOW = 'ALLOW'

A constant which can be used with the retain_all_attributes property of a FlattenProjectionPreferences. This constant has a value of “ALLOW”

RETAIN_ALL_ATTRIBUTES_DO_NOT_ALLOW = 'DO_NOT_ALLOW'

A constant which can be used with the retain_all_attributes property of a FlattenProjectionPreferences. This constant has a value of “DO_NOT_ALLOW”

RETAIN_PARENT_NAME_LINEAGE_ALLOW = 'ALLOW'

A constant which can be used with the retain_parent_name_lineage property of a FlattenProjectionPreferences. This constant has a value of “ALLOW”

RETAIN_PARENT_NAME_LINEAGE_DO_NOT_ALLOW = 'DO_NOT_ALLOW'

A constant which can be used with the retain_parent_name_lineage property of a FlattenProjectionPreferences. This constant has a value of “DO_NOT_ALLOW”

__init__(**kwargs)

Initializes a new FlattenProjectionPreferences object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • create_array_index (str) – The value to assign to the create_array_index property of this FlattenProjectionPreferences. Allowed values for this property are: “ALLOW”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • retain_all_attributes (str) – The value to assign to the retain_all_attributes property of this FlattenProjectionPreferences. Allowed values for this property are: “ALLOW”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • ignore_null_values (str) – The value to assign to the ignore_null_values property of this FlattenProjectionPreferences. Allowed values for this property are: “ALLOW”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • retain_parent_name_lineage (str) – The value to assign to the retain_parent_name_lineage property of this FlattenProjectionPreferences. Allowed values for this property are: “ALLOW”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property create_array_index

[Required] Gets the create_array_index of this FlattenProjectionPreferences. Property defining whether to create array indexes in flattened result.

Allowed values for this property are: “ALLOW”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The create_array_index of this FlattenProjectionPreferences.

Return type

str

property ignore_null_values

[Required] Gets the ignore_null_values of this FlattenProjectionPreferences. Property defining whether to ignore null values in flattened result.

Allowed values for this property are: “ALLOW”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The ignore_null_values of this FlattenProjectionPreferences.

Return type

str

property retain_all_attributes

[Required] Gets the retain_all_attributes of this FlattenProjectionPreferences. Property defining whether to retain all attributes in flattened result.

Allowed values for this property are: “ALLOW”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The retain_all_attributes of this FlattenProjectionPreferences.

Return type

str

property retain_parent_name_lineage

[Required] Gets the retain_parent_name_lineage of this FlattenProjectionPreferences. Property defining whether to retain parent name lineage.

Allowed values for this property are: “ALLOW”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The retain_parent_name_lineage of this FlattenProjectionPreferences.

Return type

str