Class: TencentCloud::Gaap::V20180529::CreateUDPListenersRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gaap::V20180529::CreateUDPListenersRequest
- Defined in:
- lib/v20180529/models.rb
Overview
CreateUDPListeners请求参数结构体
Instance Attribute Summary collapse
- #CheckPort ⇒ Object
- #CheckType ⇒ Object
- #ConnectTimeout ⇒ Object
- #ContextType ⇒ Object
- #DelayLoop ⇒ Object
- #FailoverSwitch ⇒ Object
- #GroupId ⇒ Object
- #HealthCheck ⇒ Object
- #HealthyThreshold ⇒ Object
- #ListenerName ⇒ Object
- #Ports ⇒ Object
- #ProxyId ⇒ Object
- #RealServerPorts ⇒ Object
- #RealServerType ⇒ Object
- #RecvContext ⇒ Object
- #Scheduler ⇒ Object
- #SendContext ⇒ Object
- #UnhealthyThreshold ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listenername = nil, ports = nil, scheduler = nil, realservertype = nil, proxyid = nil, groupid = nil, realserverports = nil, delayloop = nil, connecttimeout = nil, healthythreshold = nil, unhealthythreshold = nil, failoverswitch = nil, healthcheck = nil, checktype = nil, checkport = nil, contexttype = nil, sendcontext = nil, recvcontext = nil) ⇒ CreateUDPListenersRequest
constructor
A new instance of CreateUDPListenersRequest.
Constructor Details
#initialize(listenername = nil, ports = nil, scheduler = nil, realservertype = nil, proxyid = nil, groupid = nil, realserverports = nil, delayloop = nil, connecttimeout = nil, healthythreshold = nil, unhealthythreshold = nil, failoverswitch = nil, healthcheck = nil, checktype = nil, checkport = nil, contexttype = nil, sendcontext = nil, recvcontext = nil) ⇒ CreateUDPListenersRequest
Returns a new instance of CreateUDPListenersRequest.
1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 |
# File 'lib/v20180529/models.rb', line 1730 def initialize(listenername=nil, ports=nil, scheduler=nil, realservertype=nil, proxyid=nil, groupid=nil, realserverports=nil, delayloop=nil, connecttimeout=nil, healthythreshold=nil, unhealthythreshold=nil, failoverswitch=nil, healthcheck=nil, checktype=nil, checkport=nil, contexttype=nil, sendcontext=nil, recvcontext=nil) @ListenerName = listenername @Ports = ports @Scheduler = scheduler @RealServerType = realservertype @ProxyId = proxyid @GroupId = groupid @RealServerPorts = realserverports @DelayLoop = delayloop @ConnectTimeout = connecttimeout @HealthyThreshold = healthythreshold @UnhealthyThreshold = unhealthythreshold @FailoverSwitch = failoverswitch @HealthCheck = healthcheck @CheckType = checktype @CheckPort = checkport @ContextType = contexttype @SendContext = sendcontext @RecvContext = recvcontext end |
Instance Attribute Details
#CheckPort ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def CheckPort @CheckPort end |
#CheckType ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def CheckType @CheckType end |
#ConnectTimeout ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def ConnectTimeout @ConnectTimeout end |
#ContextType ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def ContextType @ContextType end |
#DelayLoop ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def DelayLoop @DelayLoop end |
#FailoverSwitch ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def FailoverSwitch @FailoverSwitch end |
#GroupId ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def GroupId @GroupId end |
#HealthCheck ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def HealthCheck @HealthCheck end |
#HealthyThreshold ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def HealthyThreshold @HealthyThreshold end |
#ListenerName ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def ListenerName @ListenerName end |
#Ports ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def Ports @Ports end |
#ProxyId ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def ProxyId @ProxyId end |
#RealServerPorts ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def RealServerPorts @RealServerPorts end |
#RealServerType ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def RealServerType @RealServerType end |
#RecvContext ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def RecvContext @RecvContext end |
#Scheduler ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def Scheduler @Scheduler end |
#SendContext ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def SendContext @SendContext end |
#UnhealthyThreshold ⇒ Object
1728 1729 1730 |
# File 'lib/v20180529/models.rb', line 1728 def UnhealthyThreshold @UnhealthyThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 |
# File 'lib/v20180529/models.rb', line 1751 def deserialize(params) @ListenerName = params['ListenerName'] @Ports = params['Ports'] @Scheduler = params['Scheduler'] @RealServerType = params['RealServerType'] @ProxyId = params['ProxyId'] @GroupId = params['GroupId'] @RealServerPorts = params['RealServerPorts'] @DelayLoop = params['DelayLoop'] @ConnectTimeout = params['ConnectTimeout'] @HealthyThreshold = params['HealthyThreshold'] @UnhealthyThreshold = params['UnhealthyThreshold'] @FailoverSwitch = params['FailoverSwitch'] @HealthCheck = params['HealthCheck'] @CheckType = params['CheckType'] @CheckPort = params['CheckPort'] @ContextType = params['ContextType'] @SendContext = params['SendContext'] @RecvContext = params['RecvContext'] end |