Package io.lakefs.clients.api.model
Class Merge
- java.lang.Object
-
- io.lakefs.clients.api.model.Merge
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Merge extends ObjectMerge
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_METADATAstatic StringSERIALIZED_NAME_STRATEGY
-
Constructor Summary
Constructors Constructor Description Merge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetMessage()Get messageMap<String,String>getMetadata()Get metadataStringgetStrategy()In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins').inthashCode()Mergemessage(String message)Mergemetadata(Map<String,String> metadata)MergeputMetadataItem(String key, String metadataItem)voidsetMessage(String message)voidsetMetadata(Map<String,String> metadata)voidsetStrategy(String strategy)Mergestrategy(String strategy)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_METADATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STRATEGY
public static final String SERIALIZED_NAME_STRATEGY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMessage
@Nullable public String getMessage()
Get message- Returns:
- message
-
setMessage
public void setMessage(String message)
-
getStrategy
@Nullable public String getStrategy()
In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict- Returns:
- strategy
-
setStrategy
public void setStrategy(String strategy)
-
-