Files Interface
public interface Files
Resource collection API of Files.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Blank |
define(String name)
Begins definition for a new Project |
| abstract void |
delete(String groupName, String serviceName, String projectName, String fileName)
Delete file This method deletes a file. |
| abstract void |
deleteById(String id)
Delete file This method deletes a file. |
| abstract Response<Void> |
deleteByIdWithResponse(String id, Context context)
Delete file This method deletes a file. |
| abstract Response<Void> |
deleteWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Delete file This method deletes a file. |
|
abstract
Project |
get(String groupName, String serviceName, String projectName, String fileName)
Get file information The files resource is a nested, proxy-only resource representing a file stored under the project resource. |
|
abstract
Project |
getById(String id)
Get file information The files resource is a nested, proxy-only resource representing a file stored under the project resource. |
|
abstract
Response<Project |
getByIdWithResponse(String id, Context context)
Get file information The files resource is a nested, proxy-only resource representing a file stored under the project resource. |
|
abstract
Response<Project |
getWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Get file information The files resource is a nested, proxy-only resource representing a file stored under the project resource. |
|
abstract
Paged |
list(String groupName, String serviceName, String projectName)
Get files in a project The project resource is a nested resource representing a stored migration project. |
|
abstract
Paged |
list(String groupName, String serviceName, String projectName, Context context)
Get files in a project The project resource is a nested resource representing a stored migration project. |
|
abstract
File |
read(String groupName, String serviceName, String projectName, String fileName)
Request storage information for downloading the file content This method is used for requesting storage information using which contents of the file can be downloaded. |
|
abstract
Response<File |
readWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Request storage information for downloading the file content This method is used for requesting storage information using which contents of the file can be downloaded. |
|
abstract
File |
readWrite(String groupName, String serviceName, String projectName, String fileName)
Request information for reading and writing file content. |
|
abstract
Response<File |
readWriteWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Request information for reading and writing file content. |
Method Details
define
public abstract ProjectFile.DefinitionStages.Blank define(String name)
Begins definition for a new ProjectFile resource.
Parameters:
Returns:
delete
public abstract void delete(String groupName, String serviceName, String projectName, String fileName)
Delete file This method deletes a file.
Parameters:
deleteById
public abstract void deleteById(String id)
Delete file This method deletes a file.
Parameters:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, Context context)
Delete file This method deletes a file.
Parameters:
Returns:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Delete file This method deletes a file.
Parameters:
Returns:
get
public abstract ProjectFile get(String groupName, String serviceName, String projectName, String fileName)
Get file information The files resource is a nested, proxy-only resource representing a file stored under the project resource. This method retrieves information about a file.
Parameters:
Returns:
getById
public abstract ProjectFile getById(String id)
Get file information The files resource is a nested, proxy-only resource representing a file stored under the project resource. This method retrieves information about a file.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<ProjectFile> getByIdWithResponse(String id, Context context)
Get file information The files resource is a nested, proxy-only resource representing a file stored under the project resource. This method retrieves information about a file.
Parameters:
Returns:
getWithResponse
public abstract Response<ProjectFile> getWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Get file information The files resource is a nested, proxy-only resource representing a file stored under the project resource. This method retrieves information about a file.
Parameters:
Returns:
list
public abstract PagedIterable<ProjectFile> list(String groupName, String serviceName, String projectName)
Get files in a project The project resource is a nested resource representing a stored migration project. This method returns a list of files owned by a project resource.
Parameters:
Returns:
list
public abstract PagedIterable<ProjectFile> list(String groupName, String serviceName, String projectName, Context context)
Get files in a project The project resource is a nested resource representing a stored migration project. This method returns a list of files owned by a project resource.
Parameters:
Returns:
read
public abstract FileStorageInfo read(String groupName, String serviceName, String projectName, String fileName)
Request storage information for downloading the file content This method is used for requesting storage information using which contents of the file can be downloaded.
Parameters:
Returns:
readWithResponse
public abstract Response<FileStorageInfo> readWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Request storage information for downloading the file content This method is used for requesting storage information using which contents of the file can be downloaded.
Parameters:
Returns:
readWrite
public abstract FileStorageInfo readWrite(String groupName, String serviceName, String projectName, String fileName)
Request information for reading and writing file content. This method is used for requesting information for reading and writing the file content.
Parameters:
Returns:
readWriteWithResponse
public abstract Response<FileStorageInfo> readWriteWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Request information for reading and writing file content. This method is used for requesting information for reading and writing the file content.
Parameters:
Returns: