Class: TencentCloud::Bmlb::V20180625::L4Listener

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

Overview

查询四层监听器时返回的四层监听器信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(listenerid = nil, listenername = nil, protocol = nil, loadbalancerport = nil, bandwidth = nil, listenertype = nil, sessionexpire = nil, healthswitch = nil, timeout = nil, intervaltime = nil, healthnum = nil, unhealthnum = nil, customhealthswitch = nil, inputtype = nil, lineseparatortype = nil, healthrequest = nil, healthresponse = nil, toaflag = nil, status = nil, addtimestamp = nil, balancemode = nil) ⇒ L4Listener



2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
# File 'lib/v20180625/models.rb', line 2434

def initialize(listenerid=nil, listenername=nil, protocol=nil, loadbalancerport=nil, bandwidth=nil, listenertype=nil, sessionexpire=nil, healthswitch=nil, timeout=nil, intervaltime=nil, healthnum=nil, unhealthnum=nil, customhealthswitch=nil, inputtype=nil, lineseparatortype=nil, healthrequest=nil, healthresponse=nil, toaflag=nil, status=nil, addtimestamp=nil, balancemode=nil)
  @ListenerId = listenerid
  @ListenerName = listenername
  @Protocol = protocol
  @LoadBalancerPort = loadbalancerport
  @Bandwidth = bandwidth
  @ListenerType = listenertype
  @SessionExpire = sessionexpire
  @HealthSwitch = healthswitch
  @TimeOut = timeout
  @IntervalTime = intervaltime
  @HealthNum = healthnum
  @UnhealthNum = unhealthnum
  @CustomHealthSwitch = customhealthswitch
  @InputType = inputtype
  @LineSeparatorType = lineseparatortype
  @HealthRequest = healthrequest
  @HealthResponse = healthresponse
  @ToaFlag = toaflag
  @Status = status
  @AddTimestamp = addtimestamp
  @BalanceMode = balancemode
end

Instance Attribute Details

#AddTimestampObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def AddTimestamp
  @AddTimestamp
end

#BalanceModeObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def BalanceMode
  @BalanceMode
end

#BandwidthObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def Bandwidth
  @Bandwidth
end

#CustomHealthSwitchObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def CustomHealthSwitch
  @CustomHealthSwitch
end

#HealthNumObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def HealthNum
  @HealthNum
end

#HealthRequestObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def HealthRequest
  @HealthRequest
end

#HealthResponseObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def HealthResponse
  @HealthResponse
end

#HealthSwitchObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def HealthSwitch
  @HealthSwitch
end

#InputTypeObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def InputType
  @InputType
end

#IntervalTimeObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def IntervalTime
  @IntervalTime
end

#LineSeparatorTypeObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def LineSeparatorType
  @LineSeparatorType
end

#ListenerIdObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def ListenerId
  @ListenerId
end

#ListenerNameObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def ListenerName
  @ListenerName
end

#ListenerTypeObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def ListenerType
  @ListenerType
end

#LoadBalancerPortObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def LoadBalancerPort
  @LoadBalancerPort
end

#ProtocolObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def Protocol
  @Protocol
end

#SessionExpireObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def SessionExpire
  @SessionExpire
end

#StatusObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def Status
  @Status
end

#TimeOutObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def TimeOut
  @TimeOut
end

#ToaFlagObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def ToaFlag
  @ToaFlag
end

#UnhealthNumObject



2432
2433
2434
# File 'lib/v20180625/models.rb', line 2432

def UnhealthNum
  @UnhealthNum
end

Instance Method Details

#deserialize(params) ⇒ Object



2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
# File 'lib/v20180625/models.rb', line 2458

def deserialize(params)
  @ListenerId = params['ListenerId']
  @ListenerName = params['ListenerName']
  @Protocol = params['Protocol']
  @LoadBalancerPort = params['LoadBalancerPort']
  @Bandwidth = params['Bandwidth']
  @ListenerType = params['ListenerType']
  @SessionExpire = params['SessionExpire']
  @HealthSwitch = params['HealthSwitch']
  @TimeOut = params['TimeOut']
  @IntervalTime = params['IntervalTime']
  @HealthNum = params['HealthNum']
  @UnhealthNum = params['UnhealthNum']
  @CustomHealthSwitch = params['CustomHealthSwitch']
  @InputType = params['InputType']
  @LineSeparatorType = params['LineSeparatorType']
  @HealthRequest = params['HealthRequest']
  @HealthResponse = params['HealthResponse']
  @ToaFlag = params['ToaFlag']
  @Status = params['Status']
  @AddTimestamp = params['AddTimestamp']
  @BalanceMode = params['BalanceMode']
end