Class ReferentialRelationSummary
A referential relation is a resource corresponding to a database columns. It's a subresource of sensitive data model resource and is always associated with a sensitive data model.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class ReferentialRelationSummary
Properties
Child
Declaration
[Required(ErrorMessage = "Child is required.")]
[JsonProperty(PropertyName = "child")]
public ColumnsInfo Child { get; set; }
Property Value
Type | Description |
---|---|
ColumnsInfo |
Remarks
Required
IsSensitive
Declaration
[JsonProperty(PropertyName = "isSensitive")]
public bool? IsSensitive { get; set; }
Property Value
Type | Description |
---|---|
bool? | Determines if the columns present in the referential relation is present in the sensitive data model |
Key
Declaration
[Required(ErrorMessage = "Key is required.")]
[JsonProperty(PropertyName = "key")]
public string Key { get; set; }
Property Value
Type | Description |
---|---|
string | The unique key that identifies the referential relation. It's numeric and unique within a sensitive data model. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ReferentialRelationLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
ReferentialRelationLifecycleState? | The current state of the referential relation. |
Remarks
Required
Parent
Declaration
[Required(ErrorMessage = "Parent is required.")]
[JsonProperty(PropertyName = "parent")]
public ColumnsInfo Parent { get; set; }
Property Value
Type | Description |
---|---|
ColumnsInfo |
Remarks
Required
RelationType
Declaration
[Required(ErrorMessage = "RelationType is required.")]
[JsonProperty(PropertyName = "relationType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ReferentialRelationSummary.RelationTypeEnum? RelationType { get; set; }
Property Value
Type | Description |
---|---|
ReferentialRelationSummary.RelationTypeEnum? | The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary. |
Remarks
Required
SensitiveDataModelId
Declaration
[Required(ErrorMessage = "SensitiveDataModelId is required.")]
[JsonProperty(PropertyName = "sensitiveDataModelId")]
public string SensitiveDataModelId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the sensitive data model that contains the sensitive column. |
Remarks
Required