Class Version
Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
Implements
Inherited Members
Namespace: Google.Apis.ContainerAnalysis.v1alpha1.Data
Assembly: Google.Apis.ContainerAnalysis.v1alpha1.dll
Syntax
public class Version : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Epoch
Used to correct mistakes in the version numbering scheme.
Declaration
[JsonProperty("epoch")]
public virtual int? Epoch { get; set; }
Property Value
Type | Description |
---|---|
int? |
Inclusive
Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it's not
Declaration
[JsonProperty("inclusive")]
public virtual bool? Inclusive { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Kind
Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The main part of the version name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Revision
The iteration of the package build from the above version.
Declaration
[JsonProperty("revision")]
public virtual string Revision { get; set; }
Property Value
Type | Description |
---|---|
string |