SchemaSourceFromSdmDetails¶
- class oci.data_safe.models.SchemaSourceFromSdmDetails(**kwargs)¶
Bases:
SchemaSourceDetailsDetails of the sensitive data model that’s used as the source of subsetting schemas
Attributes:
A constant which can be used with the schema_source property of a SchemaSourceDetails.
A constant which can be used with the schema_source property of a SchemaSourceDetails.
Gets the derived_schemas of this SchemaSourceDetails.
[Required] Gets the schema_source of this SchemaSourceDetails.
Gets the schemas_for_subsetting of this SchemaSourceDetails.
[Required] Gets the sensitive_data_model_id of this SchemaSourceFromSdmDetails.
Methods:
__init__(**kwargs)Initializes a new SchemaSourceFromSdmDetails 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.
- SCHEMA_SOURCE_SENSITIVE_DATA_MODEL = 'SENSITIVE_DATA_MODEL'¶
A constant which can be used with the schema_source property of a SchemaSourceDetails. This constant has a value of “SENSITIVE_DATA_MODEL”
- SCHEMA_SOURCE_TARGET = 'TARGET'¶
A constant which can be used with the schema_source property of a SchemaSourceDetails. This constant has a value of “TARGET”
- __init__(**kwargs)¶
Initializes a new SchemaSourceFromSdmDetails object with values from keyword arguments. The default value of the
schema_sourceattribute of this class isSENSITIVE_DATA_MODELand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
schema_source (str) – The value to assign to the schema_source property of this SchemaSourceFromSdmDetails. Allowed values for this property are: “TARGET”, “SENSITIVE_DATA_MODEL”
schemas_for_subsetting (list[str]) – The value to assign to the schemas_for_subsetting property of this SchemaSourceFromSdmDetails.
derived_schemas (list[str]) – The value to assign to the derived_schemas property of this SchemaSourceFromSdmDetails.
sensitive_data_model_id (str) – The value to assign to the sensitive_data_model_id property of this SchemaSourceFromSdmDetails.
- property derived_schemas¶
Gets the derived_schemas of this SchemaSourceDetails. The schemas which are related to the input list of schemas in ‘schemasForSubsetting’. These schemas can also be impacted from the subsetting process due to their relations with the schemas in ‘schemasForSubsetting’
- Returns
The derived_schemas of this SchemaSourceDetails.
- Return type
list[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.
- property schema_source¶
[Required] Gets the schema_source of this SchemaSourceDetails. The source of subsetting schemas
Allowed values for this property are: “TARGET”, “SENSITIVE_DATA_MODEL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The schema_source of this SchemaSourceDetails.
- Return type
str
- property schemas_for_subsetting¶
Gets the schemas_for_subsetting of this SchemaSourceDetails. The schemas to be subsetted
- Returns
The schemas_for_subsetting of this SchemaSourceDetails.
- Return type
list[str]
- property sensitive_data_model_id¶
[Required] Gets the sensitive_data_model_id of this SchemaSourceFromSdmDetails. The OCID of the sensitive data model that’s used as the source of subsetting schemas
- Returns
The sensitive_data_model_id of this SchemaSourceFromSdmDetails.
- Return type
str