com.baidubce.services.cfc.model
Class Code

java.lang.Object
  extended by com.baidubce.services.cfc.model.Code

public class Code
extends Object

Represent the user function code


Constructor Summary
Code()
           
 
Method Summary
 boolean getDryRun()
           
 boolean getPublish()
          Get the publish
 String getZipFile()
          Get the Zip package of the function code file to be published.
 void setDryRun(boolean dryrun)
           
 void setPublish(boolean publish)
          Set the publish
 void setZipFile(String zipFile)
          Set the Zip package of the function code file to be published.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Code

public Code()
Method Detail

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.

Returns:
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.

Parameters:
zipFile - The Zip package of the function code file to be published.

getPublish

public boolean getPublish()
Get the publish

Returns:
Publish

setPublish

public void setPublish(boolean publish)
Set the publish

Parameters:
publish -

getDryRun

public boolean getDryRun()

setDryRun

public void setDryRun(boolean dryrun)


Copyright © 2020. All rights reserved.