public sealed class Version : IMessage<Version>, IEquatable<Version>, IDeepCloneable<Version>, IBufferMessage, IMessageVersion contains structured information about the version of a package.
Implements
IMessage<Version>, IEquatable<Version>, IDeepCloneable<Version>, IBufferMessage, IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.dll
Constructors
Version()
public Version()Version(Version)
public Version(Version other)| Parameter | |
|---|---|
| Name | Description |
other |
Version |
Properties
Epoch
public int Epoch { get; set; }Used to correct mistakes in the version numbering scheme.
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|
FullName
public string FullName { get; set; }Human readable version string. This string is of the form <epoch>:<name>-<revision> and is only set when kind is NORMAL.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Kind
public Version.Types.VersionKind Kind { get; set; }Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
| Property Value | |
|---|---|
| Type | Description |
Version.Types.VersionKind |
|
Name
public string Name { get; set; }Required only when version kind is NORMAL. The main part of the version name.
| Property Value | |
|---|---|
| Type | Description |
String |
|
Revision
public string Revision { get; set; }The iteration of the package build from the above version.
| Property Value | |
|---|---|
| Type | Description |
String |
|