Package io.lakefs.clients.api.model
Class Repository
- java.lang.Object
-
- io.lakefs.clients.api.model.Repository
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Repository extends Object
Repository
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRepository.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CREATION_DATEstatic StringSERIALIZED_NAME_DEFAULT_BRANCHstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_STORAGE_NAMESPACE
-
Constructor Summary
Constructors Constructor Description Repository()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositorycreationDate(Long creationDate)RepositorydefaultBranch(String defaultBranch)booleanequals(Object o)static RepositoryfromJson(String jsonString)Create an instance of Repository given an JSON stringLonggetCreationDate()Unix Epoch in secondsStringgetDefaultBranch()Get defaultBranchStringgetId()Get idStringgetStorageNamespace()Filesystem URI to store the underlying data in (e.g.inthashCode()Repositoryid(String id)voidsetCreationDate(Long creationDate)voidsetDefaultBranch(String defaultBranch)voidsetId(String id)voidsetStorageNamespace(String storageNamespace)RepositorystorageNamespace(String storageNamespace)StringtoJson()Convert an instance of Repository 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_CREATION_DATE
public static final String SERIALIZED_NAME_CREATION_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEFAULT_BRANCH
public static final String SERIALIZED_NAME_DEFAULT_BRANCH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STORAGE_NAMESPACE
public static final String SERIALIZED_NAME_STORAGE_NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public Repository id(String id)
-
setId
public void setId(String id)
-
creationDate
public Repository creationDate(Long creationDate)
-
setCreationDate
public void setCreationDate(Long creationDate)
-
defaultBranch
public Repository defaultBranch(String defaultBranch)
-
setDefaultBranch
public void setDefaultBranch(String defaultBranch)
-
storageNamespace
public Repository storageNamespace(String storageNamespace)
-
getStorageNamespace
@Nonnull public String getStorageNamespace()
Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\")- Returns:
- storageNamespace
-
setStorageNamespace
public void setStorageNamespace(String storageNamespace)
-
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 Repository
-
fromJson
public static Repository fromJson(String jsonString) throws IOException
Create an instance of Repository given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Repository
- Throws:
IOException- if the JSON string is invalid with respect to Repository
-
toJson
public String toJson()
Convert an instance of Repository to an JSON string- Returns:
- JSON string
-
-