class TencentCloud::Tsf::V20180326::ServiceConfig
服务配置
def deserialize(params)
def deserialize(params) @Name = params['Name'] unless params['Ports'].nil? @Ports = [] params['Ports'].each do |i| ports_tmp = Ports.new ports_tmp.deserialize(i) @Ports << ports_tmp end end unless params['HealthCheck'].nil? @HealthCheck = HealthCheckConfig.new @HealthCheck.deserialize(params['HealthCheck']) end end
def initialize(name=nil, ports=nil, healthcheck=nil)
def initialize(name=nil, ports=nil, healthcheck=nil) @Name = name @Ports = ports @HealthCheck = healthcheck end