public class UpdateDependencyRequestBody extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateDependencyRequestBody.RuntimeEnum
FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本
|
| Constructor and Description |
|---|
UpdateDependencyRequestBody() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDependFile()
depend_type为zip类型时必填,为文件流格式,需要base64编码zip文件。
|
String |
getDependLink()
depend_type为obs类型时,依赖包在obs的存储地址。
|
String |
getDependType()
导入类型,目前支持obs和zip。
|
String |
getDescription()
依赖包描述,不超过512个字符。
|
String |
getName()
依赖包名称。必须以大、小写字母开头,以字母或数字结尾,只能由字母、数字、下划线、点和中划线组成,长度不超过96个字符。
|
UpdateDependencyRequestBody.RuntimeEnum |
getRuntime()
FunctionGraph函数的执行环境 Python2.7: Python语言2.7版本。 Python3.6: Pyton语言3.6版本。 Python3.9: Python语言3.9版本。 Go1.8: Go语言1.8版本。 Go1.x: Go语言1.x版本。 Java8: Java语言8版本。 Java11: Java语言11版本。 Node.js6.10: Nodejs语言6.10版本。 Node.js8.10: Nodejs语言8.10版本。 Node.js10.16: Nodejs语言10.16版本。 Node.js12.13: Nodejs语言12.13版本。 Node.js14.18: Nodejs语言14.18版本。 C#(.NET Core 2.0): C#语言2.0版本。 C#(.NET Core 2.1): C#语言2.1版本。 C#(.NET Core 3.1): C#语言3.1版本。 Custom: 自定义运行时。 PHP7.3: Php语言7.3版本
|
int |
hashCode() |
void |
setDependFile(String dependFile) |
void |
setDependLink(String dependLink) |
void |
setDependType(String dependType) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setRuntime(UpdateDependencyRequestBody.RuntimeEnum runtime) |
String |
toString() |
UpdateDependencyRequestBody |
withDependFile(String dependFile) |
UpdateDependencyRequestBody |
withDependLink(String dependLink) |
UpdateDependencyRequestBody |
withDependType(String dependType) |
UpdateDependencyRequestBody |
withDescription(String description) |
UpdateDependencyRequestBody |
withName(String name) |
UpdateDependencyRequestBody |
withRuntime(UpdateDependencyRequestBody.RuntimeEnum runtime) |
public UpdateDependencyRequestBody withDependFile(String dependFile)
public String getDependFile()
public void setDependFile(String dependFile)
public UpdateDependencyRequestBody withDependLink(String dependLink)
public String getDependLink()
public void setDependLink(String dependLink)
public UpdateDependencyRequestBody withDependType(String dependType)
public String getDependType()
public void setDependType(String dependType)
public UpdateDependencyRequestBody withRuntime(UpdateDependencyRequestBody.RuntimeEnum runtime)
public UpdateDependencyRequestBody.RuntimeEnum getRuntime()
public void setRuntime(UpdateDependencyRequestBody.RuntimeEnum runtime)
public UpdateDependencyRequestBody withName(String name)
public String getName()
public void setName(String name)
public UpdateDependencyRequestBody withDescription(String description)
public String getDescription()
public void setDescription(String description)
Copyright © 2022. All rights reserved.