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 ObjectRepository
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CREATION_DATEstatic StringSERIALIZED_NAME_DEFAULT_BRANCHstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_READ_ONLYstatic StringSERIALIZED_NAME_STORAGE_NAMESPACE
-
Constructor Summary
Constructors Constructor Description Repository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositorycreationDate(Long creationDate)RepositorydefaultBranch(String defaultBranch)booleanequals(Object o)LonggetCreationDate()Unix Epoch in secondsStringgetDefaultBranch()Get defaultBranchStringgetId()Get idBooleangetReadOnly()Whether the repository is a read-only repository- not relevant for bare repositoriesStringgetStorageNamespace()Filesystem URI to store the underlying data in (e.g.inthashCode()Repositoryid(String id)RepositoryreadOnly(Boolean readOnly)voidsetCreationDate(Long creationDate)voidsetDefaultBranch(String defaultBranch)voidsetId(String id)voidsetReadOnly(Boolean readOnly)voidsetStorageNamespace(String storageNamespace)RepositorystorageNamespace(String storageNamespace)StringtoString()
-
-
-
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
-
SERIALIZED_NAME_READ_ONLY
public static final String SERIALIZED_NAME_READ_ONLY
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public Repository id(String id)
-
getId
@Nonnull public String getId()
Get id- Returns:
- id
-
setId
public void setId(String id)
-
creationDate
public Repository creationDate(Long creationDate)
-
getCreationDate
@Nonnull public Long getCreationDate()
Unix Epoch in seconds- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(Long creationDate)
-
defaultBranch
public Repository defaultBranch(String defaultBranch)
-
getDefaultBranch
@Nonnull public String getDefaultBranch()
Get defaultBranch- Returns:
- 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)
-
readOnly
public Repository readOnly(Boolean readOnly)
-
getReadOnly
@Nullable public Boolean getReadOnly()
Whether the repository is a read-only repository- not relevant for bare repositories- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(Boolean readOnly)
-
-