Condividi tramite


ArtifactContentProperties Class

Definition

The artifact content properties definition.

public class ArtifactContentProperties : Azure.ResourceManager.Logic.Models.ArtifactProperties
public class ArtifactContentProperties : Azure.ResourceManager.Logic.Models.ArtifactProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Logic.Models.ArtifactContentProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Logic.Models.ArtifactContentProperties>
type ArtifactContentProperties = class
    inherit ArtifactProperties
type ArtifactContentProperties = class
    inherit ArtifactProperties
    interface IJsonModel<ArtifactContentProperties>
    interface IPersistableModel<ArtifactContentProperties>
Public Class ArtifactContentProperties
Inherits ArtifactProperties
Public Class ArtifactContentProperties
Inherits ArtifactProperties
Implements IJsonModel(Of ArtifactContentProperties), IPersistableModel(Of ArtifactContentProperties)
Inheritance
ArtifactContentProperties
Derived
Implements

Constructors

ArtifactContentProperties()

Initializes a new instance of ArtifactContentProperties.

Properties

ChangedOn

The artifact changed time.

(Inherited from ArtifactProperties)
Content

Anything

To assign an object to 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" }.

ContentLink

The content link.

ContentType

The content type.

CreatedOn

The artifact creation time.

(Inherited from ArtifactProperties)
Metadata

Anything

To assign an object to 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" }.

(Inherited from ArtifactProperties)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ArtifactProperties)

Explicit Interface Implementations

IJsonModel<ArtifactContentProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ArtifactContentProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ArtifactProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ArtifactProperties)
IJsonModel<ArtifactProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ArtifactProperties)
IPersistableModel<ArtifactContentProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ArtifactContentProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ArtifactContentProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ArtifactProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ArtifactProperties)
IPersistableModel<ArtifactProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ArtifactProperties)
IPersistableModel<ArtifactProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ArtifactProperties)

Applies to