Class: TencentCloud::Tem::V20210701::CreateApplicationRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210701/models.rb

Overview

CreateApplication请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(applicationname = nil, description = nil, usedefaultimageservice = nil, repotype = nil, instanceid = nil, reposerver = nil, reponame = nil, sourcechannel = nil, subnetlist = nil, codinglanguage = nil, deploymode = nil, enabletracing = nil, usedefaultimageserviceparameters = nil, tags = nil) ⇒ CreateApplicationRequest



279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
# File 'lib/v20210701/models.rb', line 279

def initialize(applicationname=nil, description=nil, usedefaultimageservice=nil, repotype=nil, instanceid=nil, reposerver=nil, reponame=nil, sourcechannel=nil, subnetlist=nil, codinglanguage=nil, deploymode=nil, enabletracing=nil, usedefaultimageserviceparameters=nil, tags=nil)
  @ApplicationName = applicationname
  @Description = description
  @UseDefaultImageService = usedefaultimageservice
  @RepoType = repotype
  @InstanceId = instanceid
  @RepoServer = reposerver
  @RepoName = reponame
  @SourceChannel = sourcechannel
  @SubnetList = subnetlist
  @CodingLanguage = codinglanguage
  @DeployMode = deploymode
  @EnableTracing = enabletracing
  @UseDefaultImageServiceParameters = usedefaultimageserviceparameters
  @Tags = tags
end

Instance Attribute Details

#ApplicationNameObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def ApplicationName
  @ApplicationName
end

#CodingLanguageObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def CodingLanguage
  @CodingLanguage
end

#DeployModeObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def DeployMode
  @DeployMode
end

#DescriptionObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def Description
  @Description
end

#EnableTracingObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def EnableTracing
  @EnableTracing
end

#InstanceIdObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def InstanceId
  @InstanceId
end

#RepoNameObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def RepoName
  @RepoName
end

#RepoServerObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def RepoServer
  @RepoServer
end

#RepoTypeObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def RepoType
  @RepoType
end

#SourceChannelObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def SourceChannel
  @SourceChannel
end

#SubnetListObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def SubnetList
  @SubnetList
end

#TagsObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def Tags
  @Tags
end

#UseDefaultImageServiceObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def UseDefaultImageService
  @UseDefaultImageService
end

#UseDefaultImageServiceParametersObject

  • JAVA

  • OTHER

  • IMAGE

  • JAR

  • WAR



277
278
279
# File 'lib/v20210701/models.rb', line 277

def UseDefaultImageServiceParameters
  @UseDefaultImageServiceParameters
end

Instance Method Details

#deserialize(params) ⇒ Object



296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
# File 'lib/v20210701/models.rb', line 296

def deserialize(params)
  @ApplicationName = params['ApplicationName']
  @Description = params['Description']
  @UseDefaultImageService = params['UseDefaultImageService']
  @RepoType = params['RepoType']
  @InstanceId = params['InstanceId']
  @RepoServer = params['RepoServer']
  @RepoName = params['RepoName']
  @SourceChannel = params['SourceChannel']
  @SubnetList = params['SubnetList']
  @CodingLanguage = params['CodingLanguage']
  @DeployMode = params['DeployMode']
  @EnableTracing = params['EnableTracing']
  unless params['UseDefaultImageServiceParameters'].nil?
    @UseDefaultImageServiceParameters = UseDefaultRepoParameters.new
    @UseDefaultImageServiceParameters.deserialize(params['UseDefaultImageServiceParameters'])
  end
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
end