Class PublishLayerVersionRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.scf.v20180416.models.PublishLayerVersionRequest
-
public class PublishLayerVersionRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description PublishLayerVersionRequest()PublishLayerVersionRequest(PublishLayerVersionRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getCompatibleRuntimes()Get 层适用的运行时,可多选,可选的值对应函数的 Runtime 可选值。CodegetContent()Get 层的文件来源或文件内容StringgetDescription()Get 层的版本的描述StringgetLayerName()Get 层名称,支持26个英文字母大小写、数字、连接符和下划线,第一个字符只能以字母开头,最后一个字符不能为连接符或者下划线,名称长度1-64StringgetLicenseInfo()Get 层的软件许可证voidsetCompatibleRuntimes(String[] CompatibleRuntimes)Set 层适用的运行时,可多选,可选的值对应函数的 Runtime 可选值。voidsetContent(Code Content)Set 层的文件来源或文件内容voidsetDescription(String Description)Set 层的版本的描述voidsetLayerName(String LayerName)Set 层名称,支持26个英文字母大小写、数字、连接符和下划线,第一个字符只能以字母开头,最后一个字符不能为连接符或者下划线,名称长度1-64voidsetLicenseInfo(String LicenseInfo)Set 层的软件许可证voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
PublishLayerVersionRequest
public PublishLayerVersionRequest()
-
PublishLayerVersionRequest
public PublishLayerVersionRequest(PublishLayerVersionRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getLayerName
public String getLayerName()
Get 层名称,支持26个英文字母大小写、数字、连接符和下划线,第一个字符只能以字母开头,最后一个字符不能为连接符或者下划线,名称长度1-64- Returns:
- LayerName 层名称,支持26个英文字母大小写、数字、连接符和下划线,第一个字符只能以字母开头,最后一个字符不能为连接符或者下划线,名称长度1-64
-
setLayerName
public void setLayerName(String LayerName)
Set 层名称,支持26个英文字母大小写、数字、连接符和下划线,第一个字符只能以字母开头,最后一个字符不能为连接符或者下划线,名称长度1-64- Parameters:
LayerName- 层名称,支持26个英文字母大小写、数字、连接符和下划线,第一个字符只能以字母开头,最后一个字符不能为连接符或者下划线,名称长度1-64
-
getCompatibleRuntimes
public String[] getCompatibleRuntimes()
Get 层适用的运行时,可多选,可选的值对应函数的 Runtime 可选值。- Returns:
- CompatibleRuntimes 层适用的运行时,可多选,可选的值对应函数的 Runtime 可选值。
-
setCompatibleRuntimes
public void setCompatibleRuntimes(String[] CompatibleRuntimes)
Set 层适用的运行时,可多选,可选的值对应函数的 Runtime 可选值。- Parameters:
CompatibleRuntimes- 层适用的运行时,可多选,可选的值对应函数的 Runtime 可选值。
-
getContent
public Code getContent()
Get 层的文件来源或文件内容- Returns:
- Content 层的文件来源或文件内容
-
setContent
public void setContent(Code Content)
Set 层的文件来源或文件内容- Parameters:
Content- 层的文件来源或文件内容
-
getDescription
public String getDescription()
Get 层的版本的描述- Returns:
- Description 层的版本的描述
-
setDescription
public void setDescription(String Description)
Set 层的版本的描述- Parameters:
Description- 层的版本的描述
-
getLicenseInfo
public String getLicenseInfo()
Get 层的软件许可证- Returns:
- LicenseInfo 层的软件许可证
-
setLicenseInfo
public void setLicenseInfo(String LicenseInfo)
Set 层的软件许可证- Parameters:
LicenseInfo- 层的软件许可证
-
-