Class ContainerImageLayer
The container image layer metadata.
Inherited Members
Namespace: Oci.ArtifactsService.Models
Assembly: OCI.DotNetSDK.Artifacts.dll
Syntax
public class ContainerImageLayer
Properties
Digest
Declaration
[Required(ErrorMessage = "Digest is required.")]
[JsonProperty(PropertyName = "digest")]
public string Digest { get; set; }
Property Value
Type | Description |
---|---|
string | The sha256 digest of the image layer. |
Remarks
Required
SizeInBytes
Declaration
[Required(ErrorMessage = "SizeInBytes is required.")]
[JsonProperty(PropertyName = "sizeInBytes")]
public long? SizeInBytes { get; set; }
Property Value
Type | Description |
---|---|
long? | The size of the layer in bytes. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | An RFC 3339 timestamp indicating when the layer was created. |
Remarks
Required