目录

Class info
public final class PermissionList extends GenericJson
File permission list class.

Public Constructor Summary

Constructor name
PermissionList ()  Constructor for the PermissionList class.

Public Method Summary

Return typeMethod name
PermissionList

clone()

Clones a PermissionList object.

String

getCategory()

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

String

getNextCursor()

Obtains the cursor for the next page of permissions. If no such cursor is obtained, the last page of permissions has been returned.

List<Permission>

getPermissions()

Obtains the list of permissions for the shared drive.

PermissionList

set(String fieldName, Object value)

Sets the given field value for the given field name.

PermissionList

setCategory(String category)

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

PermissionList

setNextCursor(String nextCursor)

Sets the cursor for the next page of permissions. If no such cursor is set, the last page of permissions has been returned.

PermissionList

setPermissions(List<Permission> permissions)

Sets the list of permissions for the shared drive.

Public Constructors

constructor
PermissionList ()
Constructs a PermissionList object.

Public Methods

Method
public PermissionList clone()
Clones a PermissionList object.

Return

typedesc
PermissionListA PermissionList object.


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

Return

typedesc
StringResource type, which is always drive#permissionList.


Method
public String getNextCursor()
Obtains the cursor for the next page of permissions. If no such cursor  is obtained, the last page of permissions has been returned.

Return

typedesc
StringCursor for the next page of permissions. If no such cursor is obtained, the last page of permissions has been returned.


Method
public List<Permission> getPermissions()
Obtains the list of permissions for the shared drive.

Return

typedesc
List<Permission>List of permissions for the shared drive.


Method
public PermissionList 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
PermissionListA PermissionList object.


Method
public PermissionList setCategory(String category)
Sets the resource type, which is always drive#permissionList.

Parameters

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

Return

typedesc
PermissionListA PermissionList object.


Method
public PermissionList setNextCursor(String nextCursor)
Sets the cursor for the next page of permissions. If no such cursor is set, the last page of permissions has been returned.

Parameters

Parameter nameParameter desc
nextCursorCursor for the next page of permissions. If no such cursor is set, the last page of permissions has been returned.

Return

typedesc
PermissionListA PermissionList object.


Method
public PermissionList setPermissions(List<Permission> permissions)
Sets the list of permissions for the shared drive.

Parameters

Parameter nameParameter desc
permissionsList of permissions for the shared drive.

Return

typedesc
PermissionListA PermissionList object.