Class FilesystemChange
java.lang.Object
io.github.alersrt.pod4j.openapi.model.FilesystemChange
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class FilesystemChange
extends Object
implements Serializable
FilesystemChange
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FilesystemChangeCreate an instance of FilesystemChange given an JSON string@NotNull IntegergetKind()Can be one of: `0`: Modified (\"C\") `1`: Added (\"A\") `2`: Deleted (\"D\")@NotNull StringgetPath()Path to file or directory that has changed.inthashCode()voidvoidtoJson()Convert an instance of FilesystemChange to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FilesystemChange
public FilesystemChange()
-
-
Method Details
-
kind
-
getKind
Can be one of: `0`: Modified (\"C\") `1`: Added (\"A\") `2`: Deleted (\"D\")- Returns:
- kind
-
setKind
-
path
-
getPath
Path to file or directory that has changed.- Returns:
- path
-
setPath
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates 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 FilesystemChange
-
fromJson
Create an instance of FilesystemChange given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FilesystemChange
- Throws:
IOException- if the JSON string is invalid with respect to FilesystemChange
-
toJson
Convert an instance of FilesystemChange to an JSON string- Returns:
- JSON string
-