目录

StartCursor

Class Info

public final class StartCursor extends GenericJson

StartCursor object class, that is, cursor for the start page of file changes.

Public Constructor Summary

Constructor Name

StartCursor()

Constructs a StartCursor object.

Public Method Summary

Qualifier and Type

Method Name and Description

String

getCategory()

Obtains the resource type. The value is always drive#startCursor.

StartCursor

setCategory(String category)

Sets the resource type. The value is always drive#startCursor.

String

getStartCursor()

Obtains the cursor for the start page of file changes.

StartCursor

setStartCursor(String startCursor)

Sets the cursor for the start page of file changes.

StartCursor

set(String fieldName, Object value)

Sets a custom attribute and its value.

StartCursor

clone()

Clones a StartCursor object.

Public Constructors

[h2]StartCursor

Constructor

StartCursor()

Constructs a StartCursor object.

Public Methods

[h2]getCategory

Method

public String getCategory()

Obtains the resource type. The value is always drive#startCursor.

Returns

Type

Description

String

Resource type. The value is always drive#startCursor.

[h2]setCategory

Method

public StartCursor setCategory(String category)

Sets the resource type. The value is always drive#startCursor.

Parameters

Name

Description

category

Resource type. The value is always drive#startCursor.

Returns

Type

Description

StartCursor

A StartCursor object.

[h2]getStartCursor

Method

public String getStartCursor()

Obtains the cursor for the start page of file changes.

Returns

Type

Description

String

Cursor for the start page of file changes.

[h2]setStartCursor

Method

public StartCursor setStartCursor(String startCursor)

Sets the cursor for the start page of file changes.

Parameters

Name

Description

startCursor

Cursor for the start page of file changes. The value of this parameter can be used as an input parameter of Changes.list to query details about the list of file changes.

Returns

Type

Description

StartCursor

A StartCursor object.

[h2]clone

Method

public StartCursor clone()

Clones a StartCursor object.

Returns

Type

Description

StartCursor

A StartCursor object.

[h2]set

Method

public StartCursor set(String fieldName,Object value)

Sets a custom attribute and its value.

Parameters

Name

Description

fieldName

Attribute name.

value

Attribute value.

Returns

Type

Description

StartCursor

A StartCursor object.