The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::CodeGuruReviewer::CommitDiffSourceCodeType

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CodeGuruReviewer::CommitDiffSourceCodeType object:

  $service_obj->Method(Att1 => { DestinationCommit => $value, ..., SourceCommit => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CodeGuruReviewer::CommitDiffSourceCodeType object:

  $result = $service_obj->Method(...);
  $result->Att1->DestinationCommit

DESCRIPTION

A type of SourceCodeType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType) that specifies the commit diff for a pull request on an associated repository. The SourceCommit and DestinationCommit fields are required to do a pull request code review.

ATTRIBUTES

DestinationCommit => Str

The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.

MergeBaseCommit => Str

The SHA of the merge base of a commit.

SourceCommit => Str

The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CodeGuruReviewer

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues