Package io.lakefs.clients.api.model
Class OtfDiffEntry
- java.lang.Object
-
- io.lakefs.clients.api.model.OtfDiffEntry
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class OtfDiffEntry extends Object
OtfDiffEntry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOtfDiffEntry.CustomTypeAdapterFactorystatic classOtfDiffEntry.OperationTypeEnumthe operation category (CUD)
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_OPERATIONstatic StringSERIALIZED_NAME_OPERATION_CONTENTstatic StringSERIALIZED_NAME_OPERATION_TYPEstatic StringSERIALIZED_NAME_TIMESTAMP
-
Constructor Summary
Constructors Constructor Description OtfDiffEntry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static OtfDiffEntryfromJson(String jsonString)Create an instance of OtfDiffEntry given an JSON stringStringgetId()Get idStringgetOperation()Get operationObjectgetOperationContent()free form content describing the returned operation diffOtfDiffEntry.OperationTypeEnumgetOperationType()the operation category (CUD)IntegergetTimestamp()Get timestampinthashCode()OtfDiffEntryid(String id)OtfDiffEntryoperation(String operation)OtfDiffEntryoperationContent(Object operationContent)OtfDiffEntryoperationType(OtfDiffEntry.OperationTypeEnum operationType)voidsetId(String id)voidsetOperation(String operation)voidsetOperationContent(Object operationContent)voidsetOperationType(OtfDiffEntry.OperationTypeEnum operationType)voidsetTimestamp(Integer timestamp)OtfDiffEntrytimestamp(Integer timestamp)StringtoJson()Convert an instance of OtfDiffEntry 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_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIMESTAMP
public static final String SERIALIZED_NAME_TIMESTAMP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OPERATION
public static final String SERIALIZED_NAME_OPERATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OPERATION_CONTENT
public static final String SERIALIZED_NAME_OPERATION_CONTENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OPERATION_TYPE
public static final String SERIALIZED_NAME_OPERATION_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public OtfDiffEntry id(String id)
-
setId
public void setId(String id)
-
timestamp
public OtfDiffEntry timestamp(Integer timestamp)
-
setTimestamp
public void setTimestamp(Integer timestamp)
-
operation
public OtfDiffEntry operation(String operation)
-
setOperation
public void setOperation(String operation)
-
operationContent
public OtfDiffEntry operationContent(Object operationContent)
-
getOperationContent
@Nonnull public Object getOperationContent()
free form content describing the returned operation diff- Returns:
- operationContent
-
setOperationContent
public void setOperationContent(Object operationContent)
-
operationType
public OtfDiffEntry operationType(OtfDiffEntry.OperationTypeEnum operationType)
-
getOperationType
@Nonnull public OtfDiffEntry.OperationTypeEnum getOperationType()
the operation category (CUD)- Returns:
- operationType
-
setOperationType
public void setOperationType(OtfDiffEntry.OperationTypeEnum operationType)
-
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 OtfDiffEntry
-
fromJson
public static OtfDiffEntry fromJson(String jsonString) throws IOException
Create an instance of OtfDiffEntry given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OtfDiffEntry
- Throws:
IOException- if the JSON string is invalid with respect to OtfDiffEntry
-
toJson
public String toJson()
Convert an instance of OtfDiffEntry to an JSON string- Returns:
- JSON string
-
-