Package io.lakefs.clients.api.model
Class ImportPagination
- java.lang.Object
-
- io.lakefs.clients.api.model.ImportPagination
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ImportPagination extends Object
ImportPagination
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImportPagination.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CONTINUATION_TOKENstatic StringSERIALIZED_NAME_HAS_MOREstatic StringSERIALIZED_NAME_LAST_KEY
-
Constructor Summary
Constructors Constructor Description ImportPagination()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportPaginationcontinuationToken(String continuationToken)booleanequals(Object o)static ImportPaginationfromJson(String jsonString)Create an instance of ImportPagination given an JSON stringStringgetContinuationToken()Opaque.BooleangetHasMore()More keys to be ingested.StringgetLastKey()Last object store key that was ingested.inthashCode()ImportPaginationhasMore(Boolean hasMore)ImportPaginationlastKey(String lastKey)voidsetContinuationToken(String continuationToken)voidsetHasMore(Boolean hasMore)voidsetLastKey(String lastKey)StringtoJson()Convert an instance of ImportPagination 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_HAS_MORE
public static final String SERIALIZED_NAME_HAS_MORE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTINUATION_TOKEN
public static final String SERIALIZED_NAME_CONTINUATION_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_KEY
public static final String SERIALIZED_NAME_LAST_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasMore
public ImportPagination hasMore(Boolean hasMore)
-
setHasMore
public void setHasMore(Boolean hasMore)
-
continuationToken
public ImportPagination continuationToken(String continuationToken)
-
getContinuationToken
@Nullable public String getContinuationToken()
Opaque. Token used to import the next range.- Returns:
- continuationToken
-
setContinuationToken
public void setContinuationToken(String continuationToken)
-
lastKey
public ImportPagination lastKey(String lastKey)
-
getLastKey
@Nonnull public String getLastKey()
Last object store key that was ingested.- Returns:
- lastKey
-
setLastKey
public void setLastKey(String lastKey)
-
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 ImportPagination
-
fromJson
public static ImportPagination fromJson(String jsonString) throws IOException
Create an instance of ImportPagination given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ImportPagination
- Throws:
IOException- if the JSON string is invalid with respect to ImportPagination
-
toJson
public String toJson()
Convert an instance of ImportPagination to an JSON string- Returns:
- JSON string
-
-