MightyNetwork :: DB :: ActivityPub :: Collection (source, CPAN)

CONTENTS

NAME

MightyNetwork::DB::ActivityPub::Collection

DESCRIPTION

Model for ActivityPub collections.

Disclaimer: the objects that are mentionned here are objects as in Object-oriented programming, not as ActivityPub objects.

ATTRIBUTES

MightyNetwork::DB::ActivityPub::Collection inherits attributes from MightyNetwork::DB and adds the following attributes.

id

my $id = $object->id;
$object->id(3);

context

my $context = $object->context;
$object->context(3);

xtype

my $xtype = $object->xtype;
$object->xtype(3);

total_items

my $total_items = $object->total_items;
$object->total_items(3);

ordered_items

my $ordered_items = $object->ordered_items;
$object->ordered_items(3);

SEE ALSO

MightyNetwork::DB, Mojo::Base