RuleBasedEntityMap¶
-
class
oci.data_integration.models.
RuleBasedEntityMap
(**kwargs)¶ Bases:
oci.data_integration.models.field_map.FieldMap
A map of rule patterns.
Attributes
MAP_TYPE_MAPBYNAME
A constant which can be used with the map_type property of a RuleBasedEntityMap. MAP_TYPE_MAPBYPATTERN
A constant which can be used with the map_type property of a RuleBasedEntityMap. MODEL_TYPE_COMPOSITE_FIELD_MAP
str(object=’’) -> str MODEL_TYPE_CONDITIONAL_COMPOSITE_FIELD_MAP
str(object=’’) -> str MODEL_TYPE_DIRECT_FIELD_MAP
str(object=’’) -> str MODEL_TYPE_DIRECT_NAMED_FIELD_MAP
str(object=’’) -> str MODEL_TYPE_NAMED_ENTITY_MAP
str(object=’’) -> str MODEL_TYPE_RULE_BASED_ENTITY_MAP
str(object=’’) -> str MODEL_TYPE_RULE_BASED_FIELD_MAP
str(object=’’) -> str config_values
Gets the config_values of this RuleBasedEntityMap. description
Gets the description of this FieldMap. from_pattern
Gets the from_pattern of this RuleBasedEntityMap. is_java_regex_syntax
Gets the is_java_regex_syntax of this RuleBasedEntityMap. key
Gets the key of this RuleBasedEntityMap. map_type
Gets the map_type of this RuleBasedEntityMap. model_type
[Required] Gets the model_type of this FieldMap. model_version
Gets the model_version of this RuleBasedEntityMap. object_status
Gets the object_status of this RuleBasedEntityMap. parent_ref
Gets the parent_ref of this RuleBasedEntityMap. to_pattern
Gets the to_pattern of this RuleBasedEntityMap. Methods
__init__
(**kwargs)Initializes a new RuleBasedEntityMap 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. -
MAP_TYPE_MAPBYNAME
= 'MAPBYNAME'¶ A constant which can be used with the map_type property of a RuleBasedEntityMap. This constant has a value of “MAPBYNAME”
-
MAP_TYPE_MAPBYPATTERN
= 'MAPBYPATTERN'¶ A constant which can be used with the map_type property of a RuleBasedEntityMap. This constant has a value of “MAPBYPATTERN”
-
MODEL_TYPE_COMPOSITE_FIELD_MAP
= 'COMPOSITE_FIELD_MAP'¶
-
MODEL_TYPE_CONDITIONAL_COMPOSITE_FIELD_MAP
= 'CONDITIONAL_COMPOSITE_FIELD_MAP'¶
-
MODEL_TYPE_DIRECT_FIELD_MAP
= 'DIRECT_FIELD_MAP'¶
-
MODEL_TYPE_DIRECT_NAMED_FIELD_MAP
= 'DIRECT_NAMED_FIELD_MAP'¶
-
MODEL_TYPE_NAMED_ENTITY_MAP
= 'NAMED_ENTITY_MAP'¶
-
MODEL_TYPE_RULE_BASED_ENTITY_MAP
= 'RULE_BASED_ENTITY_MAP'¶
-
MODEL_TYPE_RULE_BASED_FIELD_MAP
= 'RULE_BASED_FIELD_MAP'¶
-
__init__
(**kwargs)¶ Initializes a new RuleBasedEntityMap object with values from keyword arguments. The default value of the
model_type
attribute of this class isRULE_BASED_ENTITY_MAP
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 RuleBasedEntityMap. Allowed values for this property are: “DIRECT_NAMED_FIELD_MAP”, “COMPOSITE_FIELD_MAP”, “DIRECT_FIELD_MAP”, “RULE_BASED_FIELD_MAP”, “CONDITIONAL_COMPOSITE_FIELD_MAP”, “NAMED_ENTITY_MAP”, “RULE_BASED_ENTITY_MAP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- description (str) – The value to assign to the description property of this RuleBasedEntityMap.
- key (str) – The value to assign to the key property of this RuleBasedEntityMap.
- model_version (str) – The value to assign to the model_version property of this RuleBasedEntityMap.
- parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this RuleBasedEntityMap.
- config_values (oci.data_integration.models.ConfigValues) – The value to assign to the config_values property of this RuleBasedEntityMap.
- map_type (str) – The value to assign to the map_type property of this RuleBasedEntityMap. Allowed values for this property are: “MAPBYNAME”, “MAPBYPATTERN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- from_pattern (str) – The value to assign to the from_pattern property of this RuleBasedEntityMap.
- to_pattern (str) – The value to assign to the to_pattern property of this RuleBasedEntityMap.
- is_java_regex_syntax (bool) – The value to assign to the is_java_regex_syntax property of this RuleBasedEntityMap.
- object_status (int) – The value to assign to the object_status property of this RuleBasedEntityMap.
-
config_values
¶ Gets the config_values of this RuleBasedEntityMap.
Returns: The config_values of this RuleBasedEntityMap. Return type: oci.data_integration.models.ConfigValues
-
description
¶ Gets the description of this FieldMap. Detailed description for the object.
Returns: The description of this FieldMap. Return type: str
-
from_pattern
¶ Gets the from_pattern of this RuleBasedEntityMap. The pattern to map from.
Returns: The from_pattern of this RuleBasedEntityMap. Return type: str
-
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.
-
is_java_regex_syntax
¶ Gets the is_java_regex_syntax of this RuleBasedEntityMap. Specifies whether the rule uses a java regex syntax.
Returns: The is_java_regex_syntax of this RuleBasedEntityMap. Return type: bool
-
key
¶ Gets the key of this RuleBasedEntityMap. The object key.
Returns: The key of this RuleBasedEntityMap. Return type: str
-
map_type
¶ Gets the map_type of this RuleBasedEntityMap. mapType
Allowed values for this property are: “MAPBYNAME”, “MAPBYPATTERN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The map_type of this RuleBasedEntityMap. Return type: str
-
model_type
¶ [Required] Gets the model_type of this FieldMap. The model type for the field map.
Allowed values for this property are: “DIRECT_NAMED_FIELD_MAP”, “COMPOSITE_FIELD_MAP”, “DIRECT_FIELD_MAP”, “RULE_BASED_FIELD_MAP”, “CONDITIONAL_COMPOSITE_FIELD_MAP”, “NAMED_ENTITY_MAP”, “RULE_BASED_ENTITY_MAP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The model_type of this FieldMap. Return type: str
-
model_version
¶ Gets the model_version of this RuleBasedEntityMap. The object’s model version.
Returns: The model_version of this RuleBasedEntityMap. Return type: str
-
object_status
¶ Gets the object_status of this RuleBasedEntityMap. 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 RuleBasedEntityMap. Return type: int
-
parent_ref
¶ Gets the parent_ref of this RuleBasedEntityMap.
Returns: The parent_ref of this RuleBasedEntityMap. Return type: oci.data_integration.models.ParentReference
-
to_pattern
¶ Gets the to_pattern of this RuleBasedEntityMap. The pattern to map to.
Returns: The to_pattern of this RuleBasedEntityMap. Return type: str
-