Grafeas v1 API - Class PackageNote (3.3.0)

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.

Inheritance

object > PackageNote

Namespace

GrafeasV1

Assembly

Grafeas.V1.dll

Constructors

PackageNote()

public PackageNote()

PackageNote(PackageNote)

public PackageNote(PackageNote other)
Parameter
NameDescription
otherPackageNote

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
TypeDescription
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
TypeDescription
string

Description

public string Description { get; set; }

The description of this package.

Property Value
TypeDescription
string

Digest

public RepeatedField<Digest> Digest { get; }

Hash value, typically a file digest, that allows unique identification a specific package.

Property Value
TypeDescription
RepeatedFieldDigest

Distribution

public RepeatedField<Distribution> Distribution { get; }

Deprecated. The various channels by which a package is distributed.

Property Value
TypeDescription
RepeatedFieldDistribution

License

public License License { get; set; }

Licenses that have been declared by the authors of the package.

Property Value
TypeDescription
License

Maintainer

public string Maintainer { get; set; }

A freeform text denoting the maintainer of this package.

Property Value
TypeDescription
string

Name

public string Name { get; set; }

The name of the package.

Property Value
TypeDescription
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
TypeDescription
string

Url

public string Url { get; set; }

The homepage for this package.

Property Value
TypeDescription
string

Version

public Version Version { get; set; }

The version of the package.

Property Value
TypeDescription
Version