blib/lib/Paws/Support/AddCommunicationToCase.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Support::AddCommunicationToCase;
3 use Moose;
4 has AttachmentSetId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'attachmentSetId' );
5 has CaseId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'caseId' );
6 has CcEmailAddresses => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ccEmailAddresses' );
7 has CommunicationBody => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'communicationBody' , required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddCommunicationToCase');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Support::AddCommunicationToCaseResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Support::AddCommunicationToCase - Arguments for method AddCommunicationToCase on L<Paws::Support>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method AddCommunicationToCase on the
25 L<AWS Support|Paws::Support> service. Use the attributes of this class
26 as arguments to method AddCommunicationToCase.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddCommunicationToCase.
29  
30 =head1 SYNOPSIS
31  
32 my $support = Paws->service('Support');
33 my $AddCommunicationToCaseResponse = $support->AddCommunicationToCase(
34 CommunicationBody => 'MyCommunicationBody',
35 AttachmentSetId => 'MyAttachmentSetId', # OPTIONAL
36 CaseId => 'MyCaseId', # OPTIONAL
37 CcEmailAddresses => [ 'MyCcEmailAddress', ... ], # OPTIONAL
38 );
39  
40 # Results:
41 my $Result = $AddCommunicationToCaseResponse->Result;
42  
43 # Returns a L<Paws::Support::AddCommunicationToCaseResponse> object.
44  
45 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.
46 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/support/AddCommunicationToCase>
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 AttachmentSetId => Str
52  
53 The ID of a set of one or more attachments for the communication to add
54 to the case. Create the set by calling AddAttachmentsToSet
55  
56  
57  
58 =head2 CaseId => Str
59  
60 The support case ID requested or returned in the call. The case ID is
61 an alphanumeric string formatted as shown in this example:
62 case-I<12345678910-2013-c4c1d2bf33c5cf47>
63  
64  
65  
66 =head2 CcEmailAddresses => ArrayRef[Str|Undef]
67  
68 The email addresses in the CC line of an email to be added to the
69 support case.
70  
71  
72  
73 =head2 B<REQUIRED> CommunicationBody => Str
74  
75 The body of an email communication to add to the support case.
76  
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, documenting arguments for method AddCommunicationToCase in L<Paws::Support>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91