Bug 23019: (follow-up) Fix test permissions and API definition bugs
[koha.git] / Koha / ImportBatchProfile.pm
blob1b349fc6b9d0d3cbe73993165c33c70dccc7f157
1 package Koha::ImportBatchProfile;
3 # This file is part of Koha.
5 # Copyright 2020 Koha Development Team
7 # Koha is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as
9 # published by the Free Software Foundation; either version 3
10 # of the License, or (at your option) any later version.
12 # Koha is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General
18 # Public License along with Koha; if not, see
19 # <http://www.gnu.org/licenses>
21 use Modern::Perl;
23 use base qw(Koha::Object);
25 =head1 NAME
27 Koha::ImportBatchProfile - Koha ImportBatchProfile Object class
29 =head1 API
31 =head2 Class Methods
33 =head3 to_api_mapping
35 This method returns the mapping for representing a Koha::ImportBatchProfile object
36 on the API.
38 =cut
40 sub to_api_mapping {
41 return {
42 id => 'profile_id'
46 =head3 _type
48 =cut
50 sub _type {
51 return 'ImportBatchProfile';