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

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MarketplaceEntitlement::Entitlement;
3 use Moose;
4 has CustomerIdentifier => (is => 'ro', isa => 'Str');
5 has Dimension => (is => 'ro', isa => 'Str');
6 has ExpirationDate => (is => 'ro', isa => 'Str');
7 has ProductCode => (is => 'ro', isa => 'Str');
8 has Value => (is => 'ro', isa => 'Paws::MarketplaceEntitlement::EntitlementValue');
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::MarketplaceEntitlement::Entitlement
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::MarketplaceEntitlement::Entitlement object:
28  
29 $service_obj->Method(Att1 => { CustomerIdentifier => $value, ..., Value => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::MarketplaceEntitlement::Entitlement object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->CustomerIdentifier
37  
38 =head1 DESCRIPTION
39  
40 An entitlement represents capacity in a product owned by the customer.
41 For example, a customer might own some number of users or seats in an
42 SaaS application or some amount of data capacity in a multi-tenant
43 database.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 CustomerIdentifier => Str
49  
50 The customer identifier is a handle to each unique customer in an
51 application. Customer identifiers are obtained through the
52 ResolveCustomer operation in AWS Marketplace Metering Service.
53  
54  
55 =head2 Dimension => Str
56  
57 The dimension for which the given entitlement applies. Dimensions
58 represent categories of capacity in a product and are specified when
59 the product is listed in AWS Marketplace.
60  
61  
62 =head2 ExpirationDate => Str
63  
64 The expiration date represents the minimum date through which this
65 entitlement is expected to remain valid. For contractual products
66 listed on AWS Marketplace, the expiration date is the date at which the
67 customer will renew or cancel their contract. Customers who are opting
68 to renew their contract will still have entitlements with an expiration
69 date.
70  
71  
72 =head2 ProductCode => Str
73  
74 The product code for which the given entitlement applies. Product codes
75 are provided by AWS Marketplace when the product listing is created.
76  
77  
78 =head2 Value => L<Paws::MarketplaceEntitlement::EntitlementValue>
79  
80 The EntitlementValue represents the amount of capacity that the
81 customer is entitled to for the product.
82  
83  
84  
85 =head1 SEE ALSO
86  
87 This class forms part of L<Paws>, describing an object used in L<Paws::MarketplaceEntitlement>
88  
89 =head1 BUGS and CONTRIBUTIONS
90  
91 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
92  
93 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
94  
95 =cut
96