Package io.lakefs.clients.api.model
Class GarbageCollectionPrepareResponse
- java.lang.Object
-
- io.lakefs.clients.api.model.GarbageCollectionPrepareResponse
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class GarbageCollectionPrepareResponse extends Object
GarbageCollectionPrepareResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGarbageCollectionPrepareResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_GC_ADDRESSES_LOCATIONstatic StringSERIALIZED_NAME_GC_COMMITS_LOCATIONstatic StringSERIALIZED_NAME_RUN_ID
-
Constructor Summary
Constructors Constructor Description GarbageCollectionPrepareResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static GarbageCollectionPrepareResponsefromJson(String jsonString)Create an instance of GarbageCollectionPrepareResponse given an JSON stringGarbageCollectionPrepareResponsegcAddressesLocation(String gcAddressesLocation)GarbageCollectionPrepareResponsegcCommitsLocation(String gcCommitsLocation)StringgetGcAddressesLocation()location to use for expired addresses parquet table (partitioned by run_id)StringgetGcCommitsLocation()location of the resulting commits csv table (partitioned by run_id)StringgetRunId()a unique identifier generated for this GC jobinthashCode()GarbageCollectionPrepareResponserunId(String runId)voidsetGcAddressesLocation(String gcAddressesLocation)voidsetGcCommitsLocation(String gcCommitsLocation)voidsetRunId(String runId)StringtoJson()Convert an instance of GarbageCollectionPrepareResponse 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_RUN_ID
public static final String SERIALIZED_NAME_RUN_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GC_COMMITS_LOCATION
public static final String SERIALIZED_NAME_GC_COMMITS_LOCATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GC_ADDRESSES_LOCATION
public static final String SERIALIZED_NAME_GC_ADDRESSES_LOCATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
runId
public GarbageCollectionPrepareResponse runId(String runId)
-
getRunId
@Nonnull public String getRunId()
a unique identifier generated for this GC job- Returns:
- runId
-
setRunId
public void setRunId(String runId)
-
gcCommitsLocation
public GarbageCollectionPrepareResponse gcCommitsLocation(String gcCommitsLocation)
-
getGcCommitsLocation
@Nonnull public String getGcCommitsLocation()
location of the resulting commits csv table (partitioned by run_id)- Returns:
- gcCommitsLocation
-
setGcCommitsLocation
public void setGcCommitsLocation(String gcCommitsLocation)
-
gcAddressesLocation
public GarbageCollectionPrepareResponse gcAddressesLocation(String gcAddressesLocation)
-
getGcAddressesLocation
@Nonnull public String getGcAddressesLocation()
location to use for expired addresses parquet table (partitioned by run_id)- Returns:
- gcAddressesLocation
-
setGcAddressesLocation
public void setGcAddressesLocation(String gcAddressesLocation)
-
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 GarbageCollectionPrepareResponse
-
fromJson
public static GarbageCollectionPrepareResponse fromJson(String jsonString) throws IOException
Create an instance of GarbageCollectionPrepareResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GarbageCollectionPrepareResponse
- Throws:
IOException- if the JSON string is invalid with respect to GarbageCollectionPrepareResponse
-
toJson
public String toJson()
Convert an instance of GarbageCollectionPrepareResponse to an JSON string- Returns:
- JSON string
-
-