Sdílet prostřednictvím


AtlasRelatedObjectId Class

Definition

Reference to an object-instance of AtlasEntity type used in relationship attribute values

public class AtlasRelatedObjectId : System.ClientModel.Primitives.IJsonModel<Azure.Analytics.Purview.DataMap.AtlasRelatedObjectId>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.Purview.DataMap.AtlasRelatedObjectId>
type AtlasRelatedObjectId = class
    interface IJsonModel<AtlasRelatedObjectId>
    interface IPersistableModel<AtlasRelatedObjectId>
Public Class AtlasRelatedObjectId
Implements IJsonModel(Of AtlasRelatedObjectId), IPersistableModel(Of AtlasRelatedObjectId)
Inheritance
AtlasRelatedObjectId
Implements

Constructors

AtlasRelatedObjectId()

Initializes a new instance of AtlasRelatedObjectId.

Properties

DisplayText

The display text.

EntityStatus

Status of the entity - can be active or deleted. Deleted entities are not removed.

Guid

The GUID of the object.

RelationshipAttributes

Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification.

RelationshipGuid

The GUID of the relationship.

RelationshipStatus

The enum of relationship status.

RelationshipType

Relationship type.

TypeName

The name of the type.

UniqueAttributes

The unique attributes of the object.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Explicit Interface Implementations

IJsonModel<AtlasRelatedObjectId>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AtlasRelatedObjectId>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AtlasRelatedObjectId>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AtlasRelatedObjectId>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AtlasRelatedObjectId>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to