Partager via


PurviewObjectId Class

Definition

PurviewObjectId.

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

Constructors

PurviewObjectId()

Initializes a new instance of PurviewObjectId.

Properties

DisplayText

Display text.

Guid

The GUID of the object.

ItemPath

Item path.

Name

Name.

Properties

Dictionary of <any>

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" }.

ResourceId

Resource Id.

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<PurviewObjectId>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PurviewObjectId>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PurviewObjectId>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PurviewObjectId>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PurviewObjectId>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to