Class: TencentCloud::Bmlb::V20180625::SetTrafficMirrorHealthSwitchRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::SetTrafficMirrorHealthSwitchRequest
- Defined in:
- lib/v20180625/models.rb
Overview
SetTrafficMirrorHealthSwitch请求参数结构体
Instance Attribute Summary collapse
- #HealthNum ⇒ Object
- #HealthSwitch ⇒ Object
- #HttpCheckDomain ⇒ Object
- #HttpCheckPath ⇒ Object
- #HttpCodes ⇒ Object
- #IntervalTime ⇒ Object
- #TrafficMirrorId ⇒ Object
- #UnhealthNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(trafficmirrorid = nil, healthswitch = nil, healthnum = nil, unhealthnum = nil, intervaltime = nil, httpcheckdomain = nil, httpcheckpath = nil, httpcodes = nil) ⇒ SetTrafficMirrorHealthSwitchRequest
constructor
A new instance of SetTrafficMirrorHealthSwitchRequest.
Constructor Details
#initialize(trafficmirrorid = nil, healthswitch = nil, healthnum = nil, unhealthnum = nil, intervaltime = nil, httpcheckdomain = nil, httpcheckpath = nil, httpcodes = nil) ⇒ SetTrafficMirrorHealthSwitchRequest
Returns a new instance of SetTrafficMirrorHealthSwitchRequest.
4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 |
# File 'lib/v20180625/models.rb', line 4091 def initialize(trafficmirrorid=nil, healthswitch=nil, healthnum=nil, unhealthnum=nil, intervaltime=nil, httpcheckdomain=nil, httpcheckpath=nil, httpcodes=nil) @TrafficMirrorId = trafficmirrorid @HealthSwitch = healthswitch @HealthNum = healthnum @UnhealthNum = unhealthnum @IntervalTime = intervaltime @HttpCheckDomain = httpcheckdomain @HttpCheckPath = httpcheckpath @HttpCodes = httpcodes end |
Instance Attribute Details
#HealthNum ⇒ Object
4089 4090 4091 |
# File 'lib/v20180625/models.rb', line 4089 def HealthNum @HealthNum end |
#HealthSwitch ⇒ Object
4089 4090 4091 |
# File 'lib/v20180625/models.rb', line 4089 def HealthSwitch @HealthSwitch end |
#HttpCheckDomain ⇒ Object
4089 4090 4091 |
# File 'lib/v20180625/models.rb', line 4089 def HttpCheckDomain @HttpCheckDomain end |
#HttpCheckPath ⇒ Object
4089 4090 4091 |
# File 'lib/v20180625/models.rb', line 4089 def HttpCheckPath @HttpCheckPath end |
#HttpCodes ⇒ Object
4089 4090 4091 |
# File 'lib/v20180625/models.rb', line 4089 def HttpCodes @HttpCodes end |
#IntervalTime ⇒ Object
4089 4090 4091 |
# File 'lib/v20180625/models.rb', line 4089 def IntervalTime @IntervalTime end |
#TrafficMirrorId ⇒ Object
4089 4090 4091 |
# File 'lib/v20180625/models.rb', line 4089 def TrafficMirrorId @TrafficMirrorId end |
#UnhealthNum ⇒ Object
4089 4090 4091 |
# File 'lib/v20180625/models.rb', line 4089 def UnhealthNum @UnhealthNum end |
Instance Method Details
#deserialize(params) ⇒ Object
4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 |
# File 'lib/v20180625/models.rb', line 4102 def deserialize(params) @TrafficMirrorId = params['TrafficMirrorId'] @HealthSwitch = params['HealthSwitch'] @HealthNum = params['HealthNum'] @UnhealthNum = params['UnhealthNum'] @IntervalTime = params['IntervalTime'] @HttpCheckDomain = params['HttpCheckDomain'] @HttpCheckPath = params['HttpCheckPath'] @HttpCodes = params['HttpCodes'] end |