Class: Aws::CodeCommit::Types::ReplaceContentEntry

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codecommit/types.rb

Overview

Note:

When making an API call, you may pass ReplaceContentEntry data as a hash:

{
  file_path: "Path", # required
  replacement_type: "KEEP_BASE", # required, accepts KEEP_BASE, KEEP_SOURCE, KEEP_DESTINATION, USE_NEW_CONTENT
  content: "data",
  file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
}

Information about a replacement content entry in the conflict of a merge or pull request operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.

Returns:

  • (String)

6848
6849
6850
6851
6852
6853
6854
6855
# File 'lib/aws-sdk-codecommit/types.rb', line 6848

class ReplaceContentEntry < Struct.new(
  :file_path,
  :replacement_type,
  :content,
  :file_mode)
  SENSITIVE = []
  include Aws::Structure
end

#file_modeString

The file mode to apply during conflict resoltion.

Returns:

  • (String)

6848
6849
6850
6851
6852
6853
6854
6855
# File 'lib/aws-sdk-codecommit/types.rb', line 6848

class ReplaceContentEntry < Struct.new(
  :file_path,
  :replacement_type,
  :content,
  :file_mode)
  SENSITIVE = []
  include Aws::Structure
end

#file_pathString

The path of the conflicting file.

Returns:

  • (String)

6848
6849
6850
6851
6852
6853
6854
6855
# File 'lib/aws-sdk-codecommit/types.rb', line 6848

class ReplaceContentEntry < Struct.new(
  :file_path,
  :replacement_type,
  :content,
  :file_mode)
  SENSITIVE = []
  include Aws::Structure
end

#replacement_typeString

The replacement type to use when determining how to resolve the conflict.

Returns:

  • (String)

6848
6849
6850
6851
6852
6853
6854
6855
# File 'lib/aws-sdk-codecommit/types.rb', line 6848

class ReplaceContentEntry < Struct.new(
  :file_path,
  :replacement_type,
  :content,
  :file_mode)
  SENSITIVE = []
  include Aws::Structure
end