NAME

WWW::VastAI::Object - Base entity wrapper for Vast.ai API resources

VERSION

version 0.001

DESCRIPTION

WWW::VastAI::Object stores the raw decoded API payload for a resource object and keeps a weak reference back to the owning WWW::VastAI client. Resource classes such as WWW::VastAI::Offer and WWW::VastAI::Instance inherit from this class.

METHODS

id

my $id = $object->id;

Returns the resource identifier from the underlying payload.

raw

my $payload = $object->raw;

Returns the raw decoded payload hashref for the resource.

SEE ALSO

WWW::VastAI, WWW::VastAI::Offer, WWW::VastAI::Instance

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-vastai/issues.

IRC

Join #kubernetes on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

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