Peace::Model::Release - The release object representation.
my $release = Peace::Model::Release->new(
application => $application,
tag => $tag,
name => $name,
);
Describes a release from an application from Peace.
Peace::Model::Release implements the following instance methods:
my $release = Peace::Model::Release->new(
uuid => $uuid, # optional
date_creation => $date_creation, # optional
application => $application, # required or application_uuid should be passed.
application_uuid => $application_uuid, # required or application should be passed
dbh => $dbh, # needed if application_uuid is passed
tag => $tag,
name => $name,
);
Peace::Model::Release implements the following methods:
my $uuid = $release->uuid;
$release->uuid($uuid);
Allows to retrieve and set the release uuid.
my $date_creation = $release->date_creation;
$release->date_creation($date_creation);
Allows to retrieve and set the release date creation as a DateTime.
my $application = $release->application;
$release->application($application);
Allows to retrieve and set the release application as a Peace::Model::Application.
my $tag = $release->tag;
$release->tag($tag);
Allows to retrieve and set the release tag.
my $name = $release->name
$release->name($name);
Allows to retrieve and set the release name.