blib/lib/Paws/MediaConnect/Entitlement.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaConnect::Entitlement;
3 use Moose;
4 has DataTransferSubscriberFeePercent => (is => 'ro', isa => 'Int', request_name => 'dataTransferSubscriberFeePercent', traits => ['NameInRequest']);
5 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
6 has Encryption => (is => 'ro', isa => 'Paws::MediaConnect::Encryption', request_name => 'encryption', traits => ['NameInRequest']);
7 has EntitlementArn => (is => 'ro', isa => 'Str', request_name => 'entitlementArn', traits => ['NameInRequest'], required => 1);
8 has EntitlementStatus => (is => 'ro', isa => 'Str', request_name => 'entitlementStatus', traits => ['NameInRequest']);
9 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
10 has Subscribers => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'subscribers', traits => ['NameInRequest'], required => 1);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::MediaConnect::Entitlement
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::MediaConnect::Entitlement object:
30  
31 $service_obj->Method(Att1 => { DataTransferSubscriberFeePercent => $value, ..., Subscribers => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConnect::Entitlement object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->DataTransferSubscriberFeePercent
39  
40 =head1 DESCRIPTION
41  
42 The settings for a flow entitlement.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 DataTransferSubscriberFeePercent => Int
48  
49 Percentage from 0-100 of the data transfer cost to be billed to the
50 subscriber.
51  
52  
53 =head2 Description => Str
54  
55 A description of the entitlement.
56  
57  
58 =head2 Encryption => L<Paws::MediaConnect::Encryption>
59  
60 The type of encryption that will be used on the output that is
61 associated with this entitlement.
62  
63  
64 =head2 B<REQUIRED> EntitlementArn => Str
65  
66 The ARN of the entitlement.
67  
68  
69 =head2 EntitlementStatus => Str
70  
71 An indication of whether the entitlement is enabled.
72  
73  
74 =head2 B<REQUIRED> Name => Str
75  
76 The name of the entitlement.
77  
78  
79 =head2 B<REQUIRED> Subscribers => ArrayRef[Str|Undef]
80  
81 The AWS account IDs that you want to share your content with. The
82 receiving accounts (subscribers) will be allowed to create their own
83 flow using your content as the source.
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConnect>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98