AI-Ollama-Client

 view release on metacpan or  search on metacpan

lib/AI/Ollama/PushModelResponse.pm  view on Meta::CPAN

package AI::Ollama::PushModelResponse 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::PushModelResponse -

=head1 SYNOPSIS

  my $obj = AI::Ollama::PushModelResponse->new();
  ...

=cut

sub as_hash( $self ) {
    return { $self->%* }
}

=head1 PROPERTIES

=head2 C<< digest >>

the model's digest

=cut

has 'digest' => (
    is       => 'ro',
    isa      => Str,
);

=head2 C<< status >>

Status pushing the model.

=cut

has 'status' => (
    is       => 'ro',
    isa      => Enum[
        "retrieving manifest",
        "starting upload",
        "pushing manifest",
        "success",
    ],
);

=head2 C<< total >>

total size of the model

=cut

has 'total' => (
    is       => 'ro',
    isa      => Int,
);


1;



( run in 0.838 second using v1.01-cache-2.11-cpan-39bf76dae61 )