CreateSchemaSourceFromSdmDetails

class oci.data_safe.models.CreateSchemaSourceFromSdmDetails(**kwargs)

Bases: CreateSchemaSourceDetails

Details of the sensitive data model that’s used as the source of subsetting schemas

Attributes:

SCHEMA_SOURCE_SENSITIVE_DATA_MODEL

A constant which can be used with the schema_source property of a CreateSchemaSourceDetails.

SCHEMA_SOURCE_TARGET

A constant which can be used with the schema_source property of a CreateSchemaSourceDetails.

schema_source

[Required] Gets the schema_source of this CreateSchemaSourceDetails.

sensitive_data_model_id

[Required] Gets the sensitive_data_model_id of this CreateSchemaSourceFromSdmDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateSchemaSourceFromSdmDetails 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 CreateSchemaSourceDetails. 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 CreateSchemaSourceDetails. This constant has a value of “TARGET”

__init__(**kwargs)

Initializes a new CreateSchemaSourceFromSdmDetails object with values from keyword arguments. The default value of the schema_source attribute of this class is SENSITIVE_DATA_MODEL and 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 CreateSchemaSourceFromSdmDetails. Allowed values for this property are: “TARGET”, “SENSITIVE_DATA_MODEL”

  • sensitive_data_model_id (str) – The value to assign to the sensitive_data_model_id property of this CreateSchemaSourceFromSdmDetails.

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 CreateSchemaSourceDetails. The source of subsetting schemas

Allowed values for this property are: “TARGET”, “SENSITIVE_DATA_MODEL”

Returns

The schema_source of this CreateSchemaSourceDetails.

Return type

str

property sensitive_data_model_id

[Required] Gets the sensitive_data_model_id of this CreateSchemaSourceFromSdmDetails. The OCID of the sensitive data model that’s used as the source of subsetting schemas

Returns

The sensitive_data_model_id of this CreateSchemaSourceFromSdmDetails.

Return type

str