class TencentCloud::Tsf::V20180326::CreateApplicationRequest
CreateApplication请求参数结构体
def deserialize(params)
def deserialize(params) @ApplicationName = params['ApplicationName'] @ApplicationType = params['ApplicationType'] @MicroserviceType = params['MicroserviceType'] @ApplicationDesc = params['ApplicationDesc'] @ApplicationLogConfig = params['ApplicationLogConfig'] @ApplicationResourceType = params['ApplicationResourceType'] @ApplicationRuntimeType = params['ApplicationRuntimeType'] @ProgramId = params['ProgramId'] unless params['ServiceConfigList'].nil? @ServiceConfigList = [] params['ServiceConfigList'].each do |i| serviceconfig_tmp = ServiceConfig.new serviceconfig_tmp.deserialize(i) @ServiceConfigList << serviceconfig_tmp end end @IgnoreCreateImageRepository = params['IgnoreCreateImageRepository'] @ProgramIdList = params['ProgramIdList'] end
def initialize(applicationname=nil, applicationtype=nil, microservicetype=nil, applicationdesc=nil, applicationlogconfig=nil, applicationresourcetype=nil, applicationruntimetype=nil, programid=nil, serviceconfiglist=nil, ignorecreateimagerepository=nil, programidlist=nil)
def initialize(applicationname=nil, applicationtype=nil, microservicetype=nil, applicationdesc=nil, applicationlogconfig=nil, applicationresourcetype=nil, applicationruntimetype=nil, programid=nil, serviceconfiglist=nil, ignorecreateimagerepository=nil, programidlist=nil) @ApplicationName = applicationname @ApplicationType = applicationtype @MicroserviceType = microservicetype @ApplicationDesc = applicationdesc @ApplicationLogConfig = applicationlogconfig @ApplicationResourceType = applicationresourcetype @ApplicationRuntimeType = applicationruntimetype @ProgramId = programid @ServiceConfigList = serviceconfiglist @IgnoreCreateImageRepository = ignorecreateimagerepository @ProgramIdList = programidlist end