类 Code
- java.lang.Object
-
- com.baidubce.services.cfc.model.Code
-
public class Code extends Object
Represent the user function code
-
-
构造器概要
构造器 构造器 说明 Code()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleangetDryRun()booleangetPublish()Get the publishStringgetZipFile()Get the Zip package of the function code file to be published.voidsetDryRun(boolean dryrun)voidsetPublish(boolean publish)Set the publishvoidsetZipFile(String zipFile)Set the Zip package of the function code file to be published.
-
-
-
方法详细资料
-
getZipFile
public String getZipFile()
Get the Zip package of the function code file to be published. When using this interface, you should convert the contents of the zip file to base64-encoded.- 返回:
- ZipFile The Zip package of the function code file to be published.
-
setZipFile
public void setZipFile(String zipFile)
Set the Zip package of the function code file to be published. When using this interface, you should convert the contents of the zip file to base64-encoded.- 参数:
zipFile- The Zip package of the function code file to be published.
-
getPublish
public boolean getPublish()
Get the publish- 返回:
- Publish
-
setPublish
public void setPublish(boolean publish)
Set the publish- 参数:
publish-
-
getDryRun
public boolean getDryRun()
-
setDryRun
public void setDryRun(boolean dryrun)
-
-