interface Relationship {
    confidence?: number;
    createdTime: Date;
    dataSetId?: number;
    endTime?: Timestamp;
    externalId: string;
    labels?: ExternalId[];
    lastUpdatedTime: Date;
    sourceExternalId: string;
    sourceType: RelationshipResourceType;
    startTime?: Timestamp;
    targetExternalId: string;
    targetType: RelationshipResourceType;
}

Hierarchy (view full)

Properties

confidence?: number

Confidence value of the existence of this relationship. Generated relationships should provide a realistic score on the likelihood of the existence of the relationship. Relationships without a confidence value can be interpreted at the discretion of each project.

createdTime: Date
dataSetId?: number

The id of the dataset this relationship belongs to

endTime?: Timestamp

Time when the relationship became inactive. If there is no endTime, relationship is active from startTime until the present or any point in the future. If endTime and startTime are set, then endTime must be strictly greater than startTime

externalId: string

External id of the relationship, must be unique within the project

labels?: ExternalId[]

A list of the labels associated with this resource item

lastUpdatedTime: Date
sourceExternalId: string

External id of the CDF resource that constitutes the relationship source

Enum: "asset" "timeSeries" "file" "event" "sequence". The CDF resource type of the relationship source. Must be one of the specified values.

startTime?: Timestamp

Time when the relationship became active. If there is no startTime, relationship is active from the beginning of time until endTime.

targetExternalId: string

External id of the CDF resource that constitutes the relationship target.

Enum: "asset" "timeSeries" "file" "event" "sequence". The CDF resource type of the relationship target. Must be one of the specified values.