com.baidubce.services.doc.model
Class RegisterDocumentRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.doc.model.RegisterDocumentRequest

public class RegisterDocumentRequest
extends AbstractBceRequest

RegisterDocumentRequest class used to register document request send to API server.


Constructor Summary
RegisterDocumentRequest()
           
 
Method Summary
 String getAccess()
          get document access
 String getFormat()
          get document format
 String getNotification()
          get document notification
 String getTargetType()
          get document target type
 String getTitle()
          get document title
 void setAccess(String access)
          get document access
 void setFormat(String format)
          get document format
 void setNotification(String notification)
          get document notification
 void setTargetType(String targetType)
          get document target type
 void setTitle(String title)
          get document title
 RegisterDocumentRequest withRequestCredentials(BceCredentials credentials)
          set request credentials
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterDocumentRequest

public RegisterDocumentRequest()
Method Detail

withRequestCredentials

public RegisterDocumentRequest withRequestCredentials(BceCredentials credentials)
set request credentials

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - request credential.

getFormat

public String getFormat()
get document format

Returns:
the document format

setFormat

public void setFormat(String format)
get document format

Parameters:
format - the document format

getNotification

public String getNotification()
get document notification

Returns:
the document notification

setNotification

public void setNotification(String notification)
get document notification

Parameters:
notification - the document notification

getTitle

public String getTitle()
get document title

Returns:
the document title

setTitle

public void setTitle(String title)
get document title

Parameters:
title - the document title

getAccess

public String getAccess()
get document access

Returns:
the document access

setAccess

public void setAccess(String access)
get document access

Parameters:
access - the document access

getTargetType

public String getTargetType()
get document target type

Returns:
the document target type

setTargetType

public void setTargetType(String targetType)
get document target type

Parameters:
targetType - the document target type


Copyright © 2018. All rights reserved.