目录

Class info
public final class FileList extends GenericJson
File list class.

Public Constructor Summary

Constructor name

FileList()

Constructor for the FileList class.

Public Method Summary

Return typeMethod name
String

getCategory()

Obtains the resource type, which is always drive#fileList.

FileList

setCategory (String category)

Sets the resource type, which is always drive#fileList.

List

getFiles ()

Obtains the list of files.

FileList

setFiles(Listfiles)

Sets the list of files.

String

getNextCursor() 

Obtains the cursor for the next page of files.

FileList

setNextCursor (String nextCursor)  

Sets the cursor for the next page of files.

Boolean

getSearchCompleted()

Checks whether the query is complete.

FileList

setSearchCompleted(Boolean searchCompleted)

Sets whether the query is complete.

FileList

set(String fieldName, Object value)

Sets the given field value for the given field name.

FileList

clone()

Clones a FileList object.

Public Constructors

constructor
FileList ()
Constructs a FileList object.

Public Methods

Method
public String getCategory()
Obtains the resource type, which is always drive#fileList.

Return

typedesc
StringResource type, which is always drive#fileList.
Method


public FileList setCategory(String category)

Sets the resource type, which is always drive#fileList.

Parameters

Parameter nameParameter desc
categoryResource type, which is always drive#fileList.

Return

typedesc
FileListA FileList object.
Method


public List getFiles()

Obtains the list of files.

Return

typedesc
ListList of files.
Method


public FileList setFiles(List<File> files)

Sets the list of files.

Parameters

Parameter nameParameter desc
filesList of files.

Return

typedesc
FileListA FileList object.
Method


public String getNextCursor()

Obtains the cursor for the next page of files.

Return

typedesc
StringCursor for the next page of files.
Method


public FileList setNextCursor (String nextCursor)

Sets the cursor for the next page of files.

Parameters

Parameter nameParameter desc
nextCursorCursor for the next page of files.

Return

typedesc
FileListA FileList object.
Method


public Boolean getSearchCompleted()

Checks whether the query is complete.

Return

typedesc
BooleanIndicates whether the query is complete.
Method


public FileList setSearchCompleted(Boolean searchCompleted)

Sets whether the query is complete.

Parameters

Parameter nameParameter desc
searchCompletedIndicates whether the query is complete.

Return

typedesc
FileListA FileList object.
Method


public FileList clone ()

Clones a FileList object.

Return

typedesc
FileListA FileList object.
Method


public FileList set(String fieldName,Object value)

Sets the given field value for the given field name.

Parameters

Parameter nameParameter desc
fieldNameField name.
valueField value.

Return

typedesc
FileListA FileList object.