Package io.lakefs.clients.api.model
Class MergeResultSummary
- java.lang.Object
-
- io.lakefs.clients.api.model.MergeResultSummary
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class MergeResultSummary extends Object
MergeResultSummary
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMergeResultSummary.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDEDstatic StringSERIALIZED_NAME_CHANGEDstatic StringSERIALIZED_NAME_CONFLICTstatic StringSERIALIZED_NAME_REMOVED
-
Constructor Summary
Constructors Constructor Description MergeResultSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MergeResultSummaryadded(Integer added)MergeResultSummarychanged(Integer changed)MergeResultSummaryconflict(Integer conflict)booleanequals(Object o)static MergeResultSummaryfromJson(String jsonString)Create an instance of MergeResultSummary given an JSON stringIntegergetAdded()Deprecated.IntegergetChanged()Deprecated.IntegergetConflict()Deprecated.IntegergetRemoved()Deprecated.inthashCode()MergeResultSummaryremoved(Integer removed)voidsetAdded(Integer added)voidsetChanged(Integer changed)voidsetConflict(Integer conflict)voidsetRemoved(Integer removed)StringtoJson()Convert an instance of MergeResultSummary to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ADDED
public static final String SERIALIZED_NAME_ADDED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REMOVED
public static final String SERIALIZED_NAME_REMOVED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHANGED
public static final String SERIALIZED_NAME_CHANGED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONFLICT
public static final String SERIALIZED_NAME_CONFLICT
- See Also:
- Constant Field Values
-
-
Method Detail
-
added
public MergeResultSummary added(Integer added)
-
getAdded
@Deprecated @Nullable public Integer getAdded()
Deprecated.Deprecated: inaccurate and will be removed.- Returns:
- added
-
setAdded
public void setAdded(Integer added)
-
removed
public MergeResultSummary removed(Integer removed)
-
getRemoved
@Deprecated @Nullable public Integer getRemoved()
Deprecated.Deprecated: inaccurate and will be removed.- Returns:
- removed
-
setRemoved
public void setRemoved(Integer removed)
-
changed
public MergeResultSummary changed(Integer changed)
-
getChanged
@Deprecated @Nullable public Integer getChanged()
Deprecated.Deprecated: inaccurate and will be removed.- Returns:
- changed
-
setChanged
public void setChanged(Integer changed)
-
conflict
public MergeResultSummary conflict(Integer conflict)
-
getConflict
@Deprecated @Nullable public Integer getConflict()
Deprecated.Deprecated: inaccurate and will be removed.- Returns:
- conflict
-
setConflict
public void setConflict(Integer conflict)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to MergeResultSummary
-
fromJson
public static MergeResultSummary fromJson(String jsonString) throws IOException
Create an instance of MergeResultSummary given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MergeResultSummary
- Throws:
IOException- if the JSON string is invalid with respect to MergeResultSummary
-
toJson
public String toJson()
Convert an instance of MergeResultSummary to an JSON string- Returns:
- JSON string
-
-