blib/lib/Paws/AlexaForBusiness/CreateRoom.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AlexaForBusiness::CreateRoom;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str');
5 has Description => (is => 'ro', isa => 'Str');
6 has ProfileArn => (is => 'ro', isa => 'Str');
7 has ProviderCalendarId => (is => 'ro', isa => 'Str');
8 has RoomName => (is => 'ro', isa => 'Str', required => 1);
9 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::AlexaForBusiness::Tag]');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateRoom');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AlexaForBusiness::CreateRoomResponse');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::AlexaForBusiness::CreateRoom - Arguments for method CreateRoom on L<Paws::AlexaForBusiness>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateRoom on the
27 L<Alexa For Business|Paws::AlexaForBusiness> service. Use the attributes of this class
28 as arguments to method CreateRoom.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateRoom.
31  
32 =head1 SYNOPSIS
33  
34 my $a4b = Paws->service('AlexaForBusiness');
35 my $CreateRoomResponse = $a4b->CreateRoom(
36 RoomName => 'MyRoomName',
37 ClientRequestToken => 'MyClientRequestToken', # OPTIONAL
38 Description => 'MyRoomDescription', # OPTIONAL
39 ProfileArn => 'MyArn', # OPTIONAL
40 ProviderCalendarId => 'MyProviderCalendarId', # OPTIONAL
41 Tags => [
42 {
43 Key => 'MyTagKey', # min: 1, max: 128
44 Value => 'MyTagValue', # max: 256
45  
46 },
47 ...
48 ], # OPTIONAL
49 );
50  
51 # Results:
52 my $RoomArn = $CreateRoomResponse->RoomArn;
53  
54 # Returns a L<Paws::AlexaForBusiness::CreateRoomResponse> object.
55  
56 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
57 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/a4b/CreateRoom>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 ClientRequestToken => Str
63  
64 A unique, user-specified identifier for this request that ensures
65 idempotency.
66  
67  
68  
69 =head2 Description => Str
70  
71 The description for the room.
72  
73  
74  
75 =head2 ProfileArn => Str
76  
77 The profile ARN for the room. This is required.
78  
79  
80  
81 =head2 ProviderCalendarId => Str
82  
83 The calendar ARN for the room.
84  
85  
86  
87 =head2 B<REQUIRED> RoomName => Str
88  
89 The name for the room.
90  
91  
92  
93 =head2 Tags => ArrayRef[L<Paws::AlexaForBusiness::Tag>]
94  
95 The tags for the room.
96  
97  
98  
99  
100 =head1 SEE ALSO
101  
102 This class forms part of L<Paws>, documenting arguments for method CreateRoom in L<Paws::AlexaForBusiness>
103  
104 =head1 BUGS and CONTRIBUTIONS
105  
106 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
107  
108 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
109  
110 =cut
111