RuleTypeConfig

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

Bases: DynamicTypeHandler

The rule type config.

Attributes:

MODEL_TYPE_FLATTEN_TYPE_HANDLER

A constant which can be used with the model_type property of a DynamicTypeHandler.

MODEL_TYPE_RULE_TYPE_CONFIGS

A constant which can be used with the model_type property of a DynamicTypeHandler.

config_values

Gets the config_values of this RuleTypeConfig.

is_order_by_rule

Gets the is_order_by_rule of this RuleTypeConfig.

key

Gets the key of this RuleTypeConfig.

model_type

[Required] Gets the model_type of this DynamicTypeHandler.

model_version

Gets the model_version of this RuleTypeConfig.

object_status

Gets the object_status of this RuleTypeConfig.

parent_ref

Gets the parent_ref of this RuleTypeConfig.

projection_rules

Gets the projection_rules of this RuleTypeConfig.

scope

Gets the scope of this RuleTypeConfig.

scope_reference

Gets the scope_reference of this RuleTypeConfig.

Methods:

__init__(**kwargs)

Initializes a new RuleTypeConfig object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

MODEL_TYPE_FLATTEN_TYPE_HANDLER = 'FLATTEN_TYPE_HANDLER'

A constant which can be used with the model_type property of a DynamicTypeHandler. This constant has a value of “FLATTEN_TYPE_HANDLER”

MODEL_TYPE_RULE_TYPE_CONFIGS = 'RULE_TYPE_CONFIGS'

A constant which can be used with the model_type property of a DynamicTypeHandler. This constant has a value of “RULE_TYPE_CONFIGS”

__init__(**kwargs)

Initializes a new RuleTypeConfig object with values from keyword arguments. The default value of the model_type attribute of this class is RULE_TYPE_CONFIGS and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

  • key (str) – The value to assign to the key property of this RuleTypeConfig.

  • model_version (str) – The value to assign to the model_version property of this RuleTypeConfig.

  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this RuleTypeConfig.

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

  • scope_reference (oci.data_integration.models.ScopeReference) – The value to assign to the scope_reference property of this RuleTypeConfig.

  • is_order_by_rule (bool) – The value to assign to the is_order_by_rule property of this RuleTypeConfig.

  • projection_rules (list[oci.data_integration.models.ProjectionRule]) – The value to assign to the projection_rules property of this RuleTypeConfig.

  • config_values (oci.data_integration.models.ConfigValues) – The value to assign to the config_values property of this RuleTypeConfig.

  • object_status (int) – The value to assign to the object_status property of this RuleTypeConfig.

property config_values

Gets the config_values of this RuleTypeConfig.

Returns

The config_values of this RuleTypeConfig.

Return type

oci.data_integration.models.ConfigValues

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property is_order_by_rule

Gets the is_order_by_rule of this RuleTypeConfig. Specifies whether it is ordered by rule.

Returns

The is_order_by_rule of this RuleTypeConfig.

Return type

bool

property key

Gets the key of this RuleTypeConfig. The key of the object.

Returns

The key of this RuleTypeConfig.

Return type

str

property model_type

[Required] Gets the model_type of this DynamicTypeHandler. The dynamic type handler.

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

Returns

The model_type of this DynamicTypeHandler.

Return type

str

property model_version

Gets the model_version of this RuleTypeConfig. The model version of an object.

Returns

The model_version of this RuleTypeConfig.

Return type

str

property object_status

Gets the object_status of this RuleTypeConfig. The status of an object that can be set to value 1 for shallow references across objects, other values reserved.

Returns

The object_status of this RuleTypeConfig.

Return type

int

property parent_ref

Gets the parent_ref of this RuleTypeConfig.

Returns

The parent_ref of this RuleTypeConfig.

Return type

oci.data_integration.models.ParentReference

property projection_rules

Gets the projection_rules of this RuleTypeConfig. The projection rules.

Returns

The projection_rules of this RuleTypeConfig.

Return type

list[oci.data_integration.models.ProjectionRule]

property scope

Gets the scope of this RuleTypeConfig. Deprecated - Reference to a typed object, this can be either a key value to an object within the document, a shall referenced to a TypedObject or a full TypedObject definition.

Returns

The scope of this RuleTypeConfig.

Return type

object

property scope_reference

Gets the scope_reference of this RuleTypeConfig.

Returns

The scope_reference of this RuleTypeConfig.

Return type

oci.data_integration.models.ScopeReference