class TencentCloud::Tcbr::V20220217::DeployParam
部署参数
def deserialize(params)
def deserialize(params) @DeployType = params['DeployType'] @ImageUrl = params['ImageUrl'] @PackageName = params['PackageName'] @PackageVersion = params['PackageVersion'] @DeployRemark = params['DeployRemark'] unless params['RepoInfo'].nil? @RepoInfo = RepositoryInfo.new @RepoInfo.deserialize(params['RepoInfo']) end unless params['BuildPacks'].nil? @BuildPacks = BuildPacksInfo.new @BuildPacks.deserialize(params['BuildPacks']) end @ReleaseType = params['ReleaseType'] end
def initialize(deploytype=nil, imageurl=nil, packagename=nil, packageversion=nil, deployremark=nil, repoinfo=nil, buildpacks=nil, releasetype=nil)
def initialize(deploytype=nil, imageurl=nil, packagename=nil, packageversion=nil, deployremark=nil, repoinfo=nil, buildpacks=nil, releasetype=nil) @DeployType = deploytype @ImageUrl = imageurl @PackageName = packagename @PackageVersion = packageversion @DeployRemark = deployremark @RepoInfo = repoinfo @BuildPacks = buildpacks @ReleaseType = releasetype end