Peace::Model::Application - The application object representation.
my $application = Peace::Model::Application->new(
name => $name,
description => $description,
url => $url,
developer => $developer,
price => $price,
git_repo => $git_repo,
flatpak_builder_file => $flatpak_builder_file,
verified => $verified,
);
Describes a application from Peace for sale.
Peace::Model::Application implements the following instance methods:
my $application = Peace::Model::Application->new(
uuid => $uuid, # optional
date_creation => $date_creation, # optional
name => $name,
description => $description,
url => $url,
developer => $developer, # required or developer_uuid should be passed.
developer_uuid => $developer_uuid, # required or developer should be passed.
dbh => $dbh, # needed if developer_uuid is passed.
price => $price,
git_repo => $git_repo,
flatpak_builder_file => $flatpak_builder_file,
verified => $verified,
);
Peace::Model::Application implements the following methods:
my $uuid = $application->uuid;
$application->uuid($uuid);
Allows to retrieve and set the application's uuid.
my $date_creation = $application->date_creation;
$application->date_creation($date_creation);
Allows to retrieve and set the application's date_creation.
my $name = $application->name;
$application->name($name);
Allows to retrieve and set the application's name.
my $description = $application->description;
$application->description($description);
Allows to retrieve and set the application's description.
my $url = $application->url;
$application->url($url);
Allows to retrieve and set the application's url.
my $developer = $application->developer;
$application->developer($developer);
Allows to retrieve and set the application's developer which is a Peace::Model::Developer.
my $price = $application->price;
$application->price($price);
Allows to retrieve and set the application's price.
my $git_repo = $application->git_repo;
$application->git_repo($git_repo);
Allows to retrieve and set the application's git_repo.
my $flatpak_builder_file = $application->flatpak_builder_file;
$application->flatpak_builder_file($flatpak_builder_file);
Allows to retrieve and set the application's flatpak_builder_file.
my $verified = $application->verified;
$application->verified($verified);
Allows to retrieve and set the application's verified status.