com.baidubce.services.cdn.model
Class PurgeTask

java.lang.Object
  extended by com.baidubce.services.cdn.model.JsonObject
      extended by com.baidubce.services.cdn.model.PurgeTask

public class PurgeTask
extends JsonObject

Author:
yixing

Field Summary
static String TYPE_DIRECTORY
           
static String TYPE_FILE
           
 
Constructor Summary
PurgeTask()
           
 
Method Summary
 String getType()
           
 String getUrl()
           
 void setType(String type)
           
 void setUrl(String url)
           
 PurgeTask withDirectory(String url)
           
 PurgeTask withUrl(String url)
           
 
Methods inherited from class com.baidubce.services.cdn.model.JsonObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_FILE

public static final String TYPE_FILE
See Also:
Constant Field Values

TYPE_DIRECTORY

public static final String TYPE_DIRECTORY
See Also:
Constant Field Values
Constructor Detail

PurgeTask

public PurgeTask()
Method Detail

setUrl

public void setUrl(String url)
Parameters:
url -

getUrl

public String getUrl()
Returns:
url

setType

public void setType(String type)
Parameters:
type -

getType

public String getType()
Returns:
type

withUrl

public PurgeTask withUrl(String url)
Parameters:
url -
Returns:
returns this object

withDirectory

public PurgeTask withDirectory(String url)
Parameters:
url -
Returns:
returns this object


Copyright © 2018. All rights reserved.