com.baidubce.services.cdn.model.domain
Class CompressResponse

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

public class CompressResponse
extends JsonObject

create by changxing01 on 19/8/28


Constructor Summary
CompressResponse()
           
 
Method Summary
 String getAllow()
           
 String getType()
           
 void setAllow(String allow)
           
 void setType(String type)
           
 CompressResponse withAllow(String allow)
           
 CompressResponse withType(String type)
           
 
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
 

Constructor Detail

CompressResponse

public CompressResponse()
Method Detail

getAllow

public String getAllow()
Returns:
allow

setAllow

public void setAllow(String allow)
Parameters:
allow - Whether to enable page compression

withAllow

public CompressResponse withAllow(String allow)
Parameters:
allow - Whether to enable page compression
Returns:
this object

getType

public String getType()
Returns:
type

setType

public void setType(String type)
Parameters:
type - compress type

withType

public CompressResponse withType(String type)
Parameters:
type - compress type
Returns:
this object


Copyright © 2020. All rights reserved.