-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
GetManifestResult.cs
36 lines (31 loc) · 1001 Bytes
/
GetManifestResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Containers.ContainerRegistry
{
/// <summary>
/// The result of a get manifest operation.
/// </summary>
public class GetManifestResult
{
internal GetManifestResult(string digest, ManifestMediaType mediaType, BinaryData manifest)
{
Digest = digest;
MediaType = mediaType;
Manifest = manifest;
}
/// <summary>
/// The manifest's digest, calculated by the registry.
/// </summary>
public string Digest { get; }
/// <summary>
/// Gets the media type of the downloaded manifest, as indicated by the
/// Content-Type response header.
/// </summary>
public ManifestMediaType MediaType { get; }
/// <summary>
/// The manifest JSON.
/// </summary>
public BinaryData Manifest { get; }
}
}