The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::API::CPAN::Cve - Meta CPAN API Cve Class

SYNOPSIS

    use Net::API::CPAN::Cve;
    my $string = $obj->affected_versions;
    my $string = $obj->cpansa_id;
    my $string = $obj->cves;
    my $string = $obj->description;
    my $string = $obj->distribution;
    my $str = $obj->object;
    my $string = $obj->references;
    my $string = $obj->releases;
    my $date = $obj->reported;
    my $string = $obj->severity;
    my $string = $obj->versions;

VERSION

    v0.1.0

DESCRIPTION

This class serves to retrieve and manipulate cves.

It inherits from Net::API::CPAN::Generic

CONSTRUCTOR

new

Provided with an hash or hash reference of parameters, and this instantiates a new Net::API::CPAN::Cve object.

The parameters that can be provided bear the same name and supports the same values as the methods below.

METHODS

affected_versions

Sets or gets a string and returns a scalar object, even if there is no value.

cpansa_id

Sets or gets a string and returns a scalar object, even if there is no value.

cves

Sets or gets a string and returns a scalar object, even if there is no value.

description

Sets or gets a string and returns a scalar object, even if there is no value.

distribution

Sets or gets a string and returns a scalar object, even if there is no value.

object

Returns the object type for this class, which is cve

references

Sets or gets a string and returns a scalar object, even if there is no value.

releases

Sets or gets a string and returns a scalar object, even if there is no value.

reported

Sets or gets a datetime value, and returns a DateTime object that stringifies to the format that was provided with the string set (usally an ISO 8601 datetime format) or undef if no value is set.

severity

Sets or gets a string and returns a scalar object, even if there is no value.

versions

Sets or gets a string and returns a scalar object, even if there is no value.

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Net::API::CPAN, Net::API::CPAN::Activity, Net::API::CPAN::Author, Net::API::CPAN::Changes, Net::API::CPAN::Changes::Release, Net::API::CPAN::Contributor, Net::API::CPAN::Cover, Net::API::CPAN::Diff, Net::API::CPAN::Distribution, Net::API::CPAN::DownloadUrl, Net::API::CPAN::Favorite, Net::API::CPAN::File, Net::API::CPAN::Module, Net::API::CPAN::Package, Net::API::CPAN::Permission, Net::API::CPAN::Rating, Net::API::CPAN::Release

MetaCPAN::API, MetaCPAN::Client

https://github.com/metacpan/metacpan-api/blob/master/docs/API-docs.md

COPYRIGHT & LICENSE

Copyright(c) 2023 DEGUEST Pte. Ltd.

All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.