« blib/lib/Paws/CodeCommit/CommentsForPullRequest.pm
↑ Summary
blib/lib/Paws/CodeCommit/Conflict.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CodeCommit::Commit; | ||
| 3 | use Moose; | ||
| 4 | has AdditionalData => (is => 'ro', isa => 'Str', request_name => 'additionalData', traits => ['NameInRequest']); | ||
| 5 | has Author => (is => 'ro', isa => 'Paws::CodeCommit::UserInfo', request_name => 'author', traits => ['NameInRequest']); | ||
| 6 | has CommitId => (is => 'ro', isa => 'Str', request_name => 'commitId', traits => ['NameInRequest']); | ||
| 7 | has Committer => (is => 'ro', isa => 'Paws::CodeCommit::UserInfo', request_name => 'committer', traits => ['NameInRequest']); | ||
| 8 | has Message => (is => 'ro', isa => 'Str', request_name => 'message', traits => ['NameInRequest']); | ||
| 9 | has Parents => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'parents', traits => ['NameInRequest']); | ||
| 10 | has TreeId => (is => 'ro', isa => 'Str', request_name => 'treeId', traits => ['NameInRequest']); | ||
| 11 | |||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::CodeCommit::Commit | ||
| 19 | |||
| 20 | =head1 USAGE | ||
| 21 | |||
| 22 | This class represents one of two things: | ||
| 23 | |||
| 24 | =head3 Arguments in a call to a service | ||
| 25 | |||
| 26 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 27 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 28 | |||
| 29 | As an example, if Att1 is expected to be a Paws::CodeCommit::Commit object: | ||
| 30 | |||
| 31 | $service_obj->Method(Att1 => { AdditionalData => $value, ..., TreeId => $value }); | ||
| 32 | |||
| 33 | =head3 Results returned from an API call | ||
| 34 | |||
| 35 | Use accessors for each attribute. If Att1 is expected to be an Paws::CodeCommit::Commit object: | ||
| 36 | |||
| 37 | $result = $service_obj->Method(...); | ||
| 38 | $result->Att1->AdditionalData | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | Returns information about a specific commit. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 AdditionalData => Str | ||
| 48 | |||
| 49 | Any other data associated with the specified commit. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Author => L<Paws::CodeCommit::UserInfo> | ||
| 53 | |||
| 54 | Information about the author of the specified commit. Information | ||
| 55 | includes the date in timestamp format with GMT offset, the name of the | ||
| 56 | author, and the email address for the author, as configured in Git. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 CommitId => Str | ||
| 60 | |||
| 61 | The full SHA ID of the specified commit. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 Committer => L<Paws::CodeCommit::UserInfo> | ||
| 65 | |||
| 66 | Information about the person who committed the specified commit, also | ||
| 67 | known as the committer. Information includes the date in timestamp | ||
| 68 | format with GMT offset, the name of the committer, and the email | ||
| 69 | address for the committer, as configured in Git. | ||
| 70 | |||
| 71 | For more information about the difference between an author and a | ||
| 72 | committer in Git, see Viewing the Commit History | ||
| 73 | (http://git-scm.com/book/ch2-3.html) in Pro Git by Scott Chacon and Ben | ||
| 74 | Straub. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 Message => Str | ||
| 78 | |||
| 79 | The commit message associated with the specified commit. | ||
| 80 | |||
| 81 | |||
| 82 | =head2 Parents => ArrayRef[Str|Undef] | ||
| 83 | |||
| 84 | A list of parent commits for the specified commit. Each parent commit | ||
| 85 | ID is the full commit ID. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 TreeId => Str | ||
| 89 | |||
| 90 | Tree information for the specified commit. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head1 SEE ALSO | ||
| 95 | |||
| 96 | This class forms part of L<Paws>, describing an object used in L<Paws::CodeCommit> | ||
| 97 | |||
| 98 | =head1 BUGS and CONTRIBUTIONS | ||
| 99 | |||
| 100 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 101 | |||
| 102 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 103 | |||
| 104 | =cut | ||
| 105 |