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

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ElasticTranscoder::Preset;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str');
5 has Audio => (is => 'ro', isa => 'Paws::ElasticTranscoder::AudioParameters');
6 has Container => (is => 'ro', isa => 'Str');
7 has Description => (is => 'ro', isa => 'Str');
8 has Id => (is => 'ro', isa => 'Str');
9 has Name => (is => 'ro', isa => 'Str');
10 has Thumbnails => (is => 'ro', isa => 'Paws::ElasticTranscoder::Thumbnails');
11 has Type => (is => 'ro', isa => 'Str');
12 has Video => (is => 'ro', isa => 'Paws::ElasticTranscoder::VideoParameters');
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::ElasticTranscoder::Preset
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::ElasticTranscoder::Preset object:
32  
33 $service_obj->Method(Att1 => { Arn => $value, ..., Video => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::Preset object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->Arn
41  
42 =head1 DESCRIPTION
43  
44 Presets are templates that contain most of the settings for transcoding
45 media files from one format to another. Elastic Transcoder includes
46 some default presets for common formats, for example, several iPod and
47 iPhone versions. You can also create your own presets for formats that
48 aren't included among the default presets. You specify which preset you
49 want to use when you create a job.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 Arn => Str
55  
56 The Amazon Resource Name (ARN) for the preset.
57  
58  
59 =head2 Audio => L<Paws::ElasticTranscoder::AudioParameters>
60  
61 A section of the response body that provides information about the
62 audio preset values.
63  
64  
65 =head2 Container => Str
66  
67 The container type for the output file. Valid values include C<flac>,
68 C<flv>, C<fmp4>, C<gif>, C<mp3>, C<mp4>, C<mpg>, C<mxf>, C<oga>,
69 C<ogg>, C<ts>, and C<webm>.
70  
71  
72 =head2 Description => Str
73  
74 A description of the preset.
75  
76  
77 =head2 Id => Str
78  
79 Identifier for the new preset. You use this value to get settings for
80 the preset or to delete it.
81  
82  
83 =head2 Name => Str
84  
85 The name of the preset.
86  
87  
88 =head2 Thumbnails => L<Paws::ElasticTranscoder::Thumbnails>
89  
90 A section of the response body that provides information about the
91 thumbnail preset values, if any.
92  
93  
94 =head2 Type => Str
95  
96 Whether the preset is a default preset provided by Elastic Transcoder
97 (C<System>) or a preset that you have defined (C<Custom>).
98  
99  
100 =head2 Video => L<Paws::ElasticTranscoder::VideoParameters>
101  
102 A section of the response body that provides information about the
103 video preset values.
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, describing an object used in L<Paws::ElasticTranscoder>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118