blib/lib/Paws/MediaConvert/Preset.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaConvert::Preset;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5 has Category => (is => 'ro', isa => 'Str', request_name => 'category', traits => ['NameInRequest']);
6 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
7 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
8 has LastUpdated => (is => 'ro', isa => 'Str', request_name => 'lastUpdated', traits => ['NameInRequest']);
9 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
10 has Settings => (is => 'ro', isa => 'Paws::MediaConvert::PresetSettings', request_name => 'settings', traits => ['NameInRequest'], required => 1);
11 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::MediaConvert::Preset
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::MediaConvert::Preset object:
31  
32 $service_obj->Method(Att1 => { Arn => $value, ..., Type => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::Preset object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->Arn
40  
41 =head1 DESCRIPTION
42  
43 A preset is a collection of preconfigured media conversion settings
44 that you want MediaConvert to apply to the output during the conversion
45 process.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 Arn => Str
51  
52 An identifier for this resource that is unique within all of AWS.
53  
54  
55 =head2 Category => Str
56  
57 An optional category you create to organize your presets.
58  
59  
60 =head2 CreatedAt => Str
61  
62 The timestamp in epoch seconds for preset creation.
63  
64  
65 =head2 Description => Str
66  
67 An optional description you create for each preset.
68  
69  
70 =head2 LastUpdated => Str
71  
72 The timestamp in epoch seconds when the preset was last updated.
73  
74  
75 =head2 B<REQUIRED> Name => Str
76  
77 A name you create for each preset. Each name must be unique within your
78 account.
79  
80  
81 =head2 B<REQUIRED> Settings => L<Paws::MediaConvert::PresetSettings>
82  
83 Settings for preset
84  
85  
86 =head2 Type => Str
87  
88 A preset can be of two types: system or custom. System or built-in
89 preset can't be modified or deleted by the user.
90  
91  
92  
93 =head1 SEE ALSO
94  
95 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert>
96  
97 =head1 BUGS and CONTRIBUTIONS
98  
99 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
100  
101 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
102  
103 =cut
104