public class

RenameRequestImpl

extends BoxRequestImpl
implements RenameRequest
java.lang.Object
   ↳ cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions.BoxRequestImpl
     ↳ cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions.RenameRequestImpl

Summary

Fields
private String authToken auth token.
private String newName new file or folder name.
private String target target, could be 'file' or 'folder'.
private String targetId target id, file id or folder id.
[Expand]
Inherited Fields
From class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions.BoxRequestImpl
Public Constructors
RenameRequestImpl()
Public Methods
String getActionName()
get action name.
String getAuthToken()
String getNewName()
String getTarget()
String getTargetId()
void setAuthToken(String authToken)
void setNewName(String newName)
void setTarget(String target)
void setTargetId(String targetId)
[Expand]
Inherited Methods
From class cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.functions.BoxRequestImpl
From class java.lang.Object
From interface cn.com.believer.songyuanframework.openapi.storage.box.functions.BoxRequest
From interface cn.com.believer.songyuanframework.openapi.storage.box.functions.RenameRequest

Fields

private String authToken

auth token.

private String newName

new file or folder name.

private String target

target, could be 'file' or 'folder'.

private String targetId

target id, file id or folder id.

Public Constructors

public RenameRequestImpl ()

Public Methods

public String getActionName ()

get action name.

Returns
  • action name

public String getAuthToken ()

Returns
  • the authToken

public String getNewName ()

Returns
  • the newName

public String getTarget ()

Returns
  • the target

public String getTargetId ()

Returns
  • the targetId

public void setAuthToken (String authToken)

Parameters
authToken The authToken to set

public void setNewName (String newName)

Parameters
newName The newName to set

public void setTarget (String target)

Parameters
target The target to set

public void setTargetId (String targetId)

Parameters
targetId The targetId to set