Class VersionAttributes
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry.Generated
- Assembly
- Azure.Iot.Operations.Services.dll
Attributes needed to create a Version.
public class VersionAttributes : IJsonOnDeserialized, IJsonOnSerializing
- Inheritance
-
VersionAttributes
- Implements
- Inherited Members
Properties
Ancestor
The versionId of this Version's ancestor if it has an ancestor.
[JsonPropertyName("ancestor")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Ancestor { get; set; }
Property Value
ContentType
Content type of the Version document.
[JsonPropertyName("contentType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ContentType { get; set; }
Property Value
Description
A human-readable summary of the purpose of the entity.
[JsonPropertyName("description")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Description { get; set; }
Property Value
Document
Base64-encoded document content for the Version. The interpretation (schema, thing description, thing model, etc.) is determined by the Resource type.
[JsonPropertyName("document")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public byte[]? Document { get; set; }
Property Value
- byte[]
Documentation
A URL to additional information about this entity.
[JsonPropertyName("documentation")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Documentation { get; set; }
Property Value
Extensions
Extension-specific attributes.
[JsonPropertyName("extensions")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public Dictionary<string, byte[]> Extensions { get; set; }
Property Value
- Dictionary<string, byte[]>
Format
Format identifier of the Version document (resource-type-specific, e.g. JsonSchema/draft-07, JSON-LD/1.1).
[JsonPropertyName("format")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Format { get; set; }
Property Value
Icon
A URL to a graphical icon for the owning entity.
[JsonPropertyName("icon")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Icon { get; set; }
Property Value
Labels
Queryable Key Value pairs to be added to the Version.
[JsonPropertyName("labels")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public List<Label> Labels { get; set; }
Property Value
Name
Human-readable name.
[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Name { get; set; }