Package io.lakefs.clients.api.model
Class Diff
- java.lang.Object
-
- io.lakefs.clients.api.model.Diff
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Diff extends ObjectDiff
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiff.PathTypeEnumGets or Sets pathTypestatic classDiff.TypeEnumGets or Sets type
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_PATHstatic StringSERIALIZED_NAME_PATH_TYPEstatic StringSERIALIZED_NAME_SIZE_BYTESstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description Diff()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetPath()Get pathDiff.PathTypeEnumgetPathType()Get pathTypeLonggetSizeBytes()represents the size of the added/changed/deleted entryDiff.TypeEnumgetType()Get typeinthashCode()Diffpath(String path)DiffpathType(Diff.PathTypeEnum pathType)voidsetPath(String path)voidsetPathType(Diff.PathTypeEnum pathType)voidsetSizeBytes(Long sizeBytes)voidsetType(Diff.TypeEnum type)DiffsizeBytes(Long sizeBytes)StringtoString()Difftype(Diff.TypeEnum type)
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PATH
public static final String SERIALIZED_NAME_PATH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PATH_TYPE
public static final String SERIALIZED_NAME_PATH_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SIZE_BYTES
public static final String SERIALIZED_NAME_SIZE_BYTES
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public Diff type(Diff.TypeEnum type)
-
getType
@Nonnull public Diff.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(Diff.TypeEnum type)
-
getPath
@Nonnull public String getPath()
Get path- Returns:
- path
-
setPath
public void setPath(String path)
-
pathType
public Diff pathType(Diff.PathTypeEnum pathType)
-
getPathType
@Nonnull public Diff.PathTypeEnum getPathType()
Get pathType- Returns:
- pathType
-
setPathType
public void setPathType(Diff.PathTypeEnum pathType)
-
getSizeBytes
@Nullable public Long getSizeBytes()
represents the size of the added/changed/deleted entry- Returns:
- sizeBytes
-
setSizeBytes
public void setSizeBytes(Long sizeBytes)
-
-