« blib/lib/Paws/ConnectParticipant/GetTranscriptResponse.pm
↑ Summary
blib/lib/Paws/ConnectParticipant/SendEvent.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ConnectParticipant::Item; | ||
| 3 | use Moose; | ||
| 4 | has AbsoluteTime => (is => 'ro', isa => 'Str'); | ||
| 5 | has Attachments => (is => 'ro', isa => 'ArrayRef[Paws::ConnectParticipant::AttachmentItem]'); | ||
| 6 | has Content => (is => 'ro', isa => 'Str'); | ||
| 7 | has ContentType => (is => 'ro', isa => 'Str'); | ||
| 8 | has DisplayName => (is => 'ro', isa => 'Str'); | ||
| 9 | has Id => (is => 'ro', isa => 'Str'); | ||
| 10 | has ParticipantId => (is => 'ro', isa => 'Str'); | ||
| 11 | has ParticipantRole => (is => 'ro', isa => 'Str'); | ||
| 12 | has Type => (is => 'ro', isa => 'Str'); | ||
| 13 | |||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::ConnectParticipant::Item | ||
| 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::ConnectParticipant::Item object: | ||
| 32 | |||
| 33 | $service_obj->Method(Att1 => { AbsoluteTime => $value, ..., Type => $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::ConnectParticipant::Item object: | ||
| 38 | |||
| 39 | $result = $service_obj->Method(...); | ||
| 40 | $result->Att1->AbsoluteTime | ||
| 41 | |||
| 42 | =head1 DESCRIPTION | ||
| 43 | |||
| 44 | An item - message or event - that has been sent. | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 AbsoluteTime => Str | ||
| 50 | |||
| 51 | The time when the message or event was sent. | ||
| 52 | |||
| 53 | It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For | ||
| 54 | example, 2019-11-08T02:41:28.172Z. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 Attachments => ArrayRef[L<Paws::ConnectParticipant::AttachmentItem>] | ||
| 58 | |||
| 59 | Provides information about the attachments. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 Content => Str | ||
| 63 | |||
| 64 | The content of the message or event. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 ContentType => Str | ||
| 68 | |||
| 69 | The type of content of the item. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 DisplayName => Str | ||
| 73 | |||
| 74 | The chat display name of the sender. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 Id => Str | ||
| 78 | |||
| 79 | The ID of the item. | ||
| 80 | |||
| 81 | |||
| 82 | =head2 ParticipantId => Str | ||
| 83 | |||
| 84 | The ID of the sender in the session. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 ParticipantRole => Str | ||
| 88 | |||
| 89 | The role of the sender. For example, is it a customer, agent, or | ||
| 90 | system. | ||
| 91 | |||
| 92 | |||
| 93 | =head2 Type => Str | ||
| 94 | |||
| 95 | Type of the item: message or event. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head1 SEE ALSO | ||
| 100 | |||
| 101 | This class forms part of L<Paws>, describing an object used in L<Paws::ConnectParticipant> | ||
| 102 | |||
| 103 | =head1 BUGS and CONTRIBUTIONS | ||
| 104 | |||
| 105 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 106 | |||
| 107 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 108 | |||
| 109 | =cut | ||
| 110 |