« blib/lib/Paws/CodeCommit/ReactionValueFormats.pm
↑ Summary
blib/lib/Paws/CodeCommit/RepositoryMetadata.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CodeCommit::ReplaceContentEntry; | ||
| 3 | use Moose; | ||
| 4 | has Content => (is => 'ro', isa => 'Str', request_name => 'content', traits => ['NameInRequest']); | ||
| 5 | has FileMode => (is => 'ro', isa => 'Str', request_name => 'fileMode', traits => ['NameInRequest']); | ||
| 6 | has FilePath => (is => 'ro', isa => 'Str', request_name => 'filePath', traits => ['NameInRequest'], required => 1); | ||
| 7 | has ReplacementType => (is => 'ro', isa => 'Str', request_name => 'replacementType', traits => ['NameInRequest'], required => 1); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::CodeCommit::ReplaceContentEntry | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::CodeCommit::ReplaceContentEntry object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { Content => $value, ..., ReplacementType => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::CodeCommit::ReplaceContentEntry object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->Content | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Information about a replacement content entry in the conflict of a | ||
| 40 | merge or pull request operation. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 Content => Str | ||
| 46 | |||
| 47 | The base-64 encoded content to use when the replacement type is | ||
| 48 | USE_NEW_CONTENT. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 FileMode => Str | ||
| 52 | |||
| 53 | The file mode to apply during conflict resoltion. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> FilePath => Str | ||
| 57 | |||
| 58 | The path of the conflicting file. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> ReplacementType => Str | ||
| 62 | |||
| 63 | The replacement type to use when determining how to resolve the | ||
| 64 | conflict. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head1 SEE ALSO | ||
| 69 | |||
| 70 | This class forms part of L<Paws>, describing an object used in L<Paws::CodeCommit> | ||
| 71 | |||
| 72 | =head1 BUGS and CONTRIBUTIONS | ||
| 73 | |||
| 74 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 75 | |||
| 76 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 77 | |||
| 78 | =cut | ||
| 79 |