Package io.lakefs.clients.api.model
Class IngestRangeCreationResponse
- java.lang.Object
-
- io.lakefs.clients.api.model.IngestRangeCreationResponse
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class IngestRangeCreationResponse extends Object
IngestRangeCreationResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIngestRangeCreationResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PAGINATIONstatic StringSERIALIZED_NAME_RANGE
-
Constructor Summary
Constructors Constructor Description IngestRangeCreationResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static IngestRangeCreationResponsefromJson(String jsonString)Create an instance of IngestRangeCreationResponse given an JSON stringImportPaginationgetPagination()Get paginationRangeMetadatagetRange()Get rangeinthashCode()IngestRangeCreationResponsepagination(ImportPagination pagination)IngestRangeCreationResponserange(RangeMetadata range)voidsetPagination(ImportPagination pagination)voidsetRange(RangeMetadata range)StringtoJson()Convert an instance of IngestRangeCreationResponse 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_RANGE
public static final String SERIALIZED_NAME_RANGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAGINATION
public static final String SERIALIZED_NAME_PAGINATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
range
public IngestRangeCreationResponse range(RangeMetadata range)
-
getRange
@Nullable public RangeMetadata getRange()
Get range- Returns:
- range
-
setRange
public void setRange(RangeMetadata range)
-
pagination
public IngestRangeCreationResponse pagination(ImportPagination pagination)
-
getPagination
@Nullable public ImportPagination getPagination()
Get pagination- Returns:
- pagination
-
setPagination
public void setPagination(ImportPagination pagination)
-
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 IngestRangeCreationResponse
-
fromJson
public static IngestRangeCreationResponse fromJson(String jsonString) throws IOException
Create an instance of IngestRangeCreationResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IngestRangeCreationResponse
- Throws:
IOException- if the JSON string is invalid with respect to IngestRangeCreationResponse
-
toJson
public String toJson()
Convert an instance of IngestRangeCreationResponse to an JSON string- Returns:
- JSON string
-
-