« blib/lib/Paws/CodeCommit/PostCommentReplyOutput.pm
↑ Summary
blib/lib/Paws/CodeCommit/PullRequestCreatedEventMetadata.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CodeCommit::PullRequest; | ||
| 3 | use Moose; | ||
| 4 | has ApprovalRules => (is => 'ro', isa => 'ArrayRef[Paws::CodeCommit::ApprovalRule]', request_name => 'approvalRules', traits => ['NameInRequest']); | ||
| 5 | has AuthorArn => (is => 'ro', isa => 'Str', request_name => 'authorArn', traits => ['NameInRequest']); | ||
| 6 | has ClientRequestToken => (is => 'ro', isa => 'Str', request_name => 'clientRequestToken', traits => ['NameInRequest']); | ||
| 7 | has CreationDate => (is => 'ro', isa => 'Str', request_name => 'creationDate', traits => ['NameInRequest']); | ||
| 8 | has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']); | ||
| 9 | has LastActivityDate => (is => 'ro', isa => 'Str', request_name => 'lastActivityDate', traits => ['NameInRequest']); | ||
| 10 | has PullRequestId => (is => 'ro', isa => 'Str', request_name => 'pullRequestId', traits => ['NameInRequest']); | ||
| 11 | has PullRequestStatus => (is => 'ro', isa => 'Str', request_name => 'pullRequestStatus', traits => ['NameInRequest']); | ||
| 12 | has PullRequestTargets => (is => 'ro', isa => 'ArrayRef[Paws::CodeCommit::PullRequestTarget]', request_name => 'pullRequestTargets', traits => ['NameInRequest']); | ||
| 13 | has RevisionId => (is => 'ro', isa => 'Str', request_name => 'revisionId', traits => ['NameInRequest']); | ||
| 14 | has Title => (is => 'ro', isa => 'Str', request_name => 'title', traits => ['NameInRequest']); | ||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::CodeCommit::PullRequest | ||
| 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::PullRequest object: | ||
| 34 | |||
| 35 | $service_obj->Method(Att1 => { ApprovalRules => $value, ..., Title => $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::PullRequest object: | ||
| 40 | |||
| 41 | $result = $service_obj->Method(...); | ||
| 42 | $result->Att1->ApprovalRules | ||
| 43 | |||
| 44 | =head1 DESCRIPTION | ||
| 45 | |||
| 46 | Returns information about a pull request. | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 ApprovalRules => ArrayRef[L<Paws::CodeCommit::ApprovalRule>] | ||
| 52 | |||
| 53 | The approval rules applied to the pull request. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 AuthorArn => Str | ||
| 57 | |||
| 58 | The Amazon Resource Name (ARN) of the user who created the pull | ||
| 59 | request. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 ClientRequestToken => Str | ||
| 63 | |||
| 64 | A unique, client-generated idempotency token that, when provided in a | ||
| 65 | request, ensures the request cannot be repeated with a changed | ||
| 66 | parameter. If a request is received with the same parameters and a | ||
| 67 | token is included, the request returns information about the initial | ||
| 68 | request that used that token. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 CreationDate => Str | ||
| 72 | |||
| 73 | The date and time the pull request was originally created, in timestamp | ||
| 74 | format. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 Description => Str | ||
| 78 | |||
| 79 | The user-defined description of the pull request. This description can | ||
| 80 | be used to clarify what should be reviewed and other details of the | ||
| 81 | request. | ||
| 82 | |||
| 83 | |||
| 84 | =head2 LastActivityDate => Str | ||
| 85 | |||
| 86 | The day and time of the last user or system activity on the pull | ||
| 87 | request, in timestamp format. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 PullRequestId => Str | ||
| 91 | |||
| 92 | The system-generated ID of the pull request. | ||
| 93 | |||
| 94 | |||
| 95 | =head2 PullRequestStatus => Str | ||
| 96 | |||
| 97 | The status of the pull request. Pull request status can only change | ||
| 98 | from C<OPEN> to C<CLOSED>. | ||
| 99 | |||
| 100 | |||
| 101 | =head2 PullRequestTargets => ArrayRef[L<Paws::CodeCommit::PullRequestTarget>] | ||
| 102 | |||
| 103 | The targets of the pull request, including the source branch and | ||
| 104 | destination branch for the pull request. | ||
| 105 | |||
| 106 | |||
| 107 | =head2 RevisionId => Str | ||
| 108 | |||
| 109 | The system-generated revision ID for the pull request. | ||
| 110 | |||
| 111 | |||
| 112 | =head2 Title => Str | ||
| 113 | |||
| 114 | The user-defined title of the pull request. This title is displayed in | ||
| 115 | the list of pull requests to other repository users. | ||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | =head1 SEE ALSO | ||
| 120 | |||
| 121 | This class forms part of L<Paws>, describing an object used in L<Paws::CodeCommit> | ||
| 122 | |||
| 123 | =head1 BUGS and CONTRIBUTIONS | ||
| 124 | |||
| 125 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 126 | |||
| 127 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 128 | |||
| 129 | =cut | ||
| 130 |