public sealed class PackageNote : IMessage<PackageNote>, IEquatable<PackageNote>, IDeepCloneable<PackageNote>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API class PackageNote.
PackageNote represents a particular package version.
Implements
IMessagePackageNote, IEquatablePackageNote, IDeepCloneablePackageNote, IBufferMessage, IMessageNamespace
Grafeas.V1Assembly
Grafeas.V1.dll
Constructors
PackageNote()
public PackageNote()
PackageNote(PackageNote)
public PackageNote(PackageNote other)
Parameter | |
---|---|
Name | Description |
other | PackageNote |
Properties
Architecture
public Architecture Architecture { get; set; }
The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
Property Value | |
---|---|
Type | Description |
Architecture |
CpeUri
public string CpeUri { get; set; }
The cpe_uri in CPE format denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
Property Value | |
---|---|
Type | Description |
string |
Description
public string Description { get; set; }
The description of this package.
Property Value | |
---|---|
Type | Description |
string |
Digest
public RepeatedField<Digest> Digest { get; }
Hash value, typically a file digest, that allows unique identification a specific package.
Property Value | |
---|---|
Type | Description |
RepeatedFieldDigest |
Distribution
public RepeatedField<Distribution> Distribution { get; }
Deprecated. The various channels by which a package is distributed.
Property Value | |
---|---|
Type | Description |
RepeatedFieldDistribution |
License
public License License { get; set; }
Licenses that have been declared by the authors of the package.
Property Value | |
---|---|
Type | Description |
License |
Maintainer
public string Maintainer { get; set; }
A freeform text denoting the maintainer of this package.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
The name of the package.
Property Value | |
---|---|
Type | Description |
string |
PackageType
public string PackageType { get; set; }
The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
Property Value | |
---|---|
Type | Description |
string |
Url
public string Url { get; set; }
The homepage for this package.
Property Value | |
---|---|
Type | Description |
string |
Version
public Version Version { get; set; }
The version of the package.
Property Value | |
---|---|
Type | Description |
Version |