AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetMergeConflictsInput

import "github.com/aws/aws-sdk-go/service/codecommit"

type GetMergeConflictsInput struct { DestinationCommitSpecifier *string `locationName:"destinationCommitSpecifier" type:"string" required:"true"` MergeOption *string `locationName:"mergeOption" type:"string" required:"true" enum:"MergeOptionTypeEnum"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` SourceCommitSpecifier *string `locationName:"sourceCommitSpecifier" type:"string" required:"true"` }

DestinationCommitSpecifier

Type: *string

The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.

DestinationCommitSpecifier is a required field

MergeOption

Type: *string

The merge option or strategy you want to use to merge the code. The only valid value is FAST_FORWARD_MERGE.

MergeOption is a required field

RepositoryName

Type: *string

The name of the repository where the pull request was created.

RepositoryName is a required field

SourceCommitSpecifier

Type: *string

The branch, tag, HEAD, or other fully qualified reference used to identify a commit. For example, a branch name or a full commit ID.

SourceCommitSpecifier is a required field

Method

GoString

func (s GetMergeConflictsInput) GoString() string

GoString returns the string representation

SetDestinationCommitSpecifier

func (s *GetMergeConflictsInput) SetDestinationCommitSpecifier(v string) *GetMergeConflictsInput

SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value.

SetMergeOption

func (s *GetMergeConflictsInput) SetMergeOption(v string) *GetMergeConflictsInput

SetMergeOption sets the MergeOption field's value.

SetRepositoryName

func (s *GetMergeConflictsInput) SetRepositoryName(v string) *GetMergeConflictsInput

SetRepositoryName sets the RepositoryName field's value.

SetSourceCommitSpecifier

func (s *GetMergeConflictsInput) SetSourceCommitSpecifier(v string) *GetMergeConflictsInput

SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value.

String

func (s GetMergeConflictsInput) String() string

String returns the string representation

Validate

func (s *GetMergeConflictsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: