« blib/lib/Paws/CodeCommit/PullRequestCreatedEventMetadata.pm
↑ Summary
blib/lib/Paws/CodeCommit/PullRequestMergedStateChangedEventMetadata.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CodeCommit::PullRequestEvent; | ||
| 3 | use Moose; | ||
| 4 | has ActorArn => (is => 'ro', isa => 'Str', request_name => 'actorArn', traits => ['NameInRequest']); | ||
| 5 | has ApprovalRuleEventMetadata => (is => 'ro', isa => 'Paws::CodeCommit::ApprovalRuleEventMetadata', request_name => 'approvalRuleEventMetadata', traits => ['NameInRequest']); | ||
| 6 | has ApprovalRuleOverriddenEventMetadata => (is => 'ro', isa => 'Paws::CodeCommit::ApprovalRuleOverriddenEventMetadata', request_name => 'approvalRuleOverriddenEventMetadata', traits => ['NameInRequest']); | ||
| 7 | has ApprovalStateChangedEventMetadata => (is => 'ro', isa => 'Paws::CodeCommit::ApprovalStateChangedEventMetadata', request_name => 'approvalStateChangedEventMetadata', traits => ['NameInRequest']); | ||
| 8 | has EventDate => (is => 'ro', isa => 'Str', request_name => 'eventDate', traits => ['NameInRequest']); | ||
| 9 | has PullRequestCreatedEventMetadata => (is => 'ro', isa => 'Paws::CodeCommit::PullRequestCreatedEventMetadata', request_name => 'pullRequestCreatedEventMetadata', traits => ['NameInRequest']); | ||
| 10 | has PullRequestEventType => (is => 'ro', isa => 'Str', request_name => 'pullRequestEventType', traits => ['NameInRequest']); | ||
| 11 | has PullRequestId => (is => 'ro', isa => 'Str', request_name => 'pullRequestId', traits => ['NameInRequest']); | ||
| 12 | has PullRequestMergedStateChangedEventMetadata => (is => 'ro', isa => 'Paws::CodeCommit::PullRequestMergedStateChangedEventMetadata', request_name => 'pullRequestMergedStateChangedEventMetadata', traits => ['NameInRequest']); | ||
| 13 | has PullRequestSourceReferenceUpdatedEventMetadata => (is => 'ro', isa => 'Paws::CodeCommit::PullRequestSourceReferenceUpdatedEventMetadata', request_name => 'pullRequestSourceReferenceUpdatedEventMetadata', traits => ['NameInRequest']); | ||
| 14 | has PullRequestStatusChangedEventMetadata => (is => 'ro', isa => 'Paws::CodeCommit::PullRequestStatusChangedEventMetadata', request_name => 'pullRequestStatusChangedEventMetadata', traits => ['NameInRequest']); | ||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::CodeCommit::PullRequestEvent | ||
| 23 | |||
| 24 | =head1 USAGE | ||
| 25 | |||
| 26 | This class represents one of two things: | ||
| 27 | |||
| 28 | =head3 Arguments in a call to a service | ||
| 29 | |||
| 30 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 31 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 32 | |||
| 33 | As an example, if Att1 is expected to be a Paws::CodeCommit::PullRequestEvent object: | ||
| 34 | |||
| 35 | $service_obj->Method(Att1 => { ActorArn => $value, ..., PullRequestStatusChangedEventMetadata => $value }); | ||
| 36 | |||
| 37 | =head3 Results returned from an API call | ||
| 38 | |||
| 39 | Use accessors for each attribute. If Att1 is expected to be an Paws::CodeCommit::PullRequestEvent object: | ||
| 40 | |||
| 41 | $result = $service_obj->Method(...); | ||
| 42 | $result->Att1->ActorArn | ||
| 43 | |||
| 44 | =head1 DESCRIPTION | ||
| 45 | |||
| 46 | Returns information about a pull request event. | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 ActorArn => Str | ||
| 52 | |||
| 53 | The Amazon Resource Name (ARN) of the user whose actions resulted in | ||
| 54 | the event. Examples include updating the pull request with more commits | ||
| 55 | or changing the status of a pull request. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 ApprovalRuleEventMetadata => L<Paws::CodeCommit::ApprovalRuleEventMetadata> | ||
| 59 | |||
| 60 | Information about a pull request event. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 ApprovalRuleOverriddenEventMetadata => L<Paws::CodeCommit::ApprovalRuleOverriddenEventMetadata> | ||
| 64 | |||
| 65 | Information about an approval rule override event for a pull request. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 ApprovalStateChangedEventMetadata => L<Paws::CodeCommit::ApprovalStateChangedEventMetadata> | ||
| 69 | |||
| 70 | Information about an approval state change for a pull request. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 EventDate => Str | ||
| 74 | |||
| 75 | The day and time of the pull request event, in timestamp format. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 PullRequestCreatedEventMetadata => L<Paws::CodeCommit::PullRequestCreatedEventMetadata> | ||
| 79 | |||
| 80 | Information about the source and destination branches for the pull | ||
| 81 | request. | ||
| 82 | |||
| 83 | |||
| 84 | =head2 PullRequestEventType => Str | ||
| 85 | |||
| 86 | The type of the pull request event (for example, a status change event | ||
| 87 | (PULL_REQUEST_STATUS_CHANGED) or update event | ||
| 88 | (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)). | ||
| 89 | |||
| 90 | |||
| 91 | =head2 PullRequestId => Str | ||
| 92 | |||
| 93 | The system-generated ID of the pull request. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 PullRequestMergedStateChangedEventMetadata => L<Paws::CodeCommit::PullRequestMergedStateChangedEventMetadata> | ||
| 97 | |||
| 98 | Information about the change in mergability state for the pull request | ||
| 99 | event. | ||
| 100 | |||
| 101 | |||
| 102 | =head2 PullRequestSourceReferenceUpdatedEventMetadata => L<Paws::CodeCommit::PullRequestSourceReferenceUpdatedEventMetadata> | ||
| 103 | |||
| 104 | Information about the updated source branch for the pull request event. | ||
| 105 | |||
| 106 | |||
| 107 | =head2 PullRequestStatusChangedEventMetadata => L<Paws::CodeCommit::PullRequestStatusChangedEventMetadata> | ||
| 108 | |||
| 109 | Information about the change in status for the pull request event. | ||
| 110 | |||
| 111 | |||
| 112 | |||
| 113 | =head1 SEE ALSO | ||
| 114 | |||
| 115 | This class forms part of L<Paws>, describing an object used in L<Paws::CodeCommit> | ||
| 116 | |||
| 117 | =head1 BUGS and CONTRIBUTIONS | ||
| 118 | |||
| 119 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 120 | |||
| 121 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 122 | |||
| 123 | =cut | ||
| 124 |