Skip to content

/AWS1/CL_ARTPACKAGEVERSIONDESC

Details about a package version.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_format TYPE /AWS1/ARTPACKAGEFORMAT /AWS1/ARTPACKAGEFORMAT

The format of the package version.

iv_namespace TYPE /AWS1/ARTPACKAGENAMESPACE /AWS1/ARTPACKAGENAMESPACE

The namespace of the package version. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm or Swift package version is its scope.

  • The namespace of a generic package is its namespace.

  • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

iv_packagename TYPE /AWS1/ARTPACKAGENAME /AWS1/ARTPACKAGENAME

The name of the requested package.

iv_displayname TYPE /AWS1/ARTSTRING255 /AWS1/ARTSTRING255

The name of the package that is displayed. The displayName varies depending on the package version's format. For example, if an npm package is named ui, is in the namespace vue, and has the format npm, then the displayName is @vue/ui.

iv_version TYPE /AWS1/ARTPACKAGEVERSION /AWS1/ARTPACKAGEVERSION

The version of the package.

iv_summary TYPE /AWS1/ARTSTRING /AWS1/ARTSTRING

A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version's format.

iv_homepage TYPE /AWS1/ARTSTRING /AWS1/ARTSTRING

The homepage associated with the package.

iv_sourcecoderepository TYPE /AWS1/ARTSTRING /AWS1/ARTSTRING

The repository for the source code in the package version, or the source code used to build it.

iv_publishedtime TYPE /AWS1/ARTTIMESTAMP /AWS1/ARTTIMESTAMP

A timestamp that contains the date and time the package version was published.

it_licenses TYPE /AWS1/CL_ARTLICENSEINFO=>TT_LICENSEINFOLIST TT_LICENSEINFOLIST

Information about licenses associated with the package version.

iv_revision TYPE /AWS1/ARTPACKAGEVRSREVISION /AWS1/ARTPACKAGEVRSREVISION

The revision of the package version.

iv_status TYPE /AWS1/ARTPACKAGEVERSIONSTATUS /AWS1/ARTPACKAGEVERSIONSTATUS

A string that contains the status of the package version.

io_origin TYPE REF TO /AWS1/CL_ARTPACKAGEVRSORIGIN /AWS1/CL_ARTPACKAGEVRSORIGIN

A PackageVersionOrigin object that contains information about how the package version was added to the repository.


Queryable Attributes

format

The format of the package version.

Accessible with the following methods

Method Description
GET_FORMAT() Getter for FORMAT, with configurable default
ASK_FORMAT() Getter for FORMAT w/ exceptions if field has no value
HAS_FORMAT() Determine if FORMAT has a value

namespace

The namespace of the package version. The package component that specifies its namespace depends on its type. For example:

  • The namespace of a Maven package version is its groupId.

  • The namespace of an npm or Swift package version is its scope.

  • The namespace of a generic package is its namespace.

  • Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.

Accessible with the following methods

Method Description
GET_NAMESPACE() Getter for NAMESPACE, with configurable default
ASK_NAMESPACE() Getter for NAMESPACE w/ exceptions if field has no value
HAS_NAMESPACE() Determine if NAMESPACE has a value

packageName

The name of the requested package.

Accessible with the following methods

Method Description
GET_PACKAGENAME() Getter for PACKAGENAME, with configurable default
ASK_PACKAGENAME() Getter for PACKAGENAME w/ exceptions if field has no value
HAS_PACKAGENAME() Determine if PACKAGENAME has a value

displayName

The name of the package that is displayed. The displayName varies depending on the package version's format. For example, if an npm package is named ui, is in the namespace vue, and has the format npm, then the displayName is @vue/ui.

Accessible with the following methods

Method Description
GET_DISPLAYNAME() Getter for DISPLAYNAME, with configurable default
ASK_DISPLAYNAME() Getter for DISPLAYNAME w/ exceptions if field has no value
HAS_DISPLAYNAME() Determine if DISPLAYNAME has a value

version

The version of the package.

Accessible with the following methods

Method Description
GET_VERSION() Getter for VERSION, with configurable default
ASK_VERSION() Getter for VERSION w/ exceptions if field has no value
HAS_VERSION() Determine if VERSION has a value

summary

A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version's format.

Accessible with the following methods

Method Description
GET_SUMMARY() Getter for SUMMARY, with configurable default
ASK_SUMMARY() Getter for SUMMARY w/ exceptions if field has no value
HAS_SUMMARY() Determine if SUMMARY has a value

homePage

The homepage associated with the package.

Accessible with the following methods

Method Description
GET_HOMEPAGE() Getter for HOMEPAGE, with configurable default
ASK_HOMEPAGE() Getter for HOMEPAGE w/ exceptions if field has no value
HAS_HOMEPAGE() Determine if HOMEPAGE has a value

sourceCodeRepository

The repository for the source code in the package version, or the source code used to build it.

Accessible with the following methods

Method Description
GET_SOURCECODEREPOSITORY() Getter for SOURCECODEREPOSITORY, with configurable default
ASK_SOURCECODEREPOSITORY() Getter for SOURCECODEREPOSITORY w/ exceptions if field has n
HAS_SOURCECODEREPOSITORY() Determine if SOURCECODEREPOSITORY has a value

publishedTime

A timestamp that contains the date and time the package version was published.

Accessible with the following methods

Method Description
GET_PUBLISHEDTIME() Getter for PUBLISHEDTIME, with configurable default
ASK_PUBLISHEDTIME() Getter for PUBLISHEDTIME w/ exceptions if field has no value
HAS_PUBLISHEDTIME() Determine if PUBLISHEDTIME has a value

licenses

Information about licenses associated with the package version.

Accessible with the following methods

Method Description
GET_LICENSES() Getter for LICENSES, with configurable default
ASK_LICENSES() Getter for LICENSES w/ exceptions if field has no value
HAS_LICENSES() Determine if LICENSES has a value

revision

The revision of the package version.

Accessible with the following methods

Method Description
GET_REVISION() Getter for REVISION, with configurable default
ASK_REVISION() Getter for REVISION w/ exceptions if field has no value
HAS_REVISION() Determine if REVISION has a value

status

A string that contains the status of the package version.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

origin

A PackageVersionOrigin object that contains information about how the package version was added to the repository.

Accessible with the following methods

Method Description
GET_ORIGIN() Getter for ORIGIN