AI-Ollama-Client
view release on metacpan or search on metacpan
lib/AI/Ollama/PullModelResponse.pm view on Meta::CPAN
package AI::Ollama::PullModelResponse 0.05;
# DO NOT EDIT! This is an autogenerated file.
use 5.020;
use Moo 2;
use experimental 'signatures';
use stable 'postderef';
use Types::Standard qw(Enum Str Bool Num Int HashRef ArrayRef);
use MooX::TypeTiny;
use namespace::clean;
=encoding utf8
=head1 NAME
AI::Ollama::PullModelResponse -
=head1 SYNOPSIS
my $obj = AI::Ollama::PullModelResponse->new();
...
=cut
sub as_hash( $self ) {
return { $self->%* }
}
=head1 PROPERTIES
=head2 C<< completed >>
Total bytes transferred.
=cut
has 'completed' => (
is => 'ro',
isa => Int,
);
=head2 C<< digest >>
The model's digest.
=cut
has 'digest' => (
is => 'ro',
isa => Str,
);
=head2 C<< status >>
Status pulling the model.
=cut
has 'status' => (
is => 'ro',
isa => Enum[
"pulling manifest",
"downloading digestname",
"verifying sha256 digest",
"writing manifest",
"removing any unused layers",
"success",
],
);
=head2 C<< total >>
Total size of the model.
=cut
has 'total' => (
is => 'ro',
isa => Int,
);
1;
( run in 0.582 second using v1.01-cache-2.11-cpan-39bf76dae61 )