Class: TencentCloud::Bmlb::V20180625::DescribeTrafficMirrorReceiverHealthStatusRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::DescribeTrafficMirrorReceiverHealthStatusRequest
- Defined in:
- lib/v20180625/models.rb
Overview
DescribeTrafficMirrorReceiverHealthStatus请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(trafficmirrorid = nil, receiverset = nil) ⇒ DescribeTrafficMirrorReceiverHealthStatusRequest
constructor
A new instance of DescribeTrafficMirrorReceiverHealthStatusRequest.
Constructor Details
#initialize(trafficmirrorid = nil, receiverset = nil) ⇒ DescribeTrafficMirrorReceiverHealthStatusRequest
Returns a new instance of DescribeTrafficMirrorReceiverHealthStatusRequest.
1910 1911 1912 1913 |
# File 'lib/v20180625/models.rb', line 1910 def initialize(trafficmirrorid=nil, receiverset=nil) @TrafficMirrorId = trafficmirrorid @ReceiverSet = receiverset end |
Instance Attribute Details
#ReceiverSet ⇒ Object
1908 1909 1910 |
# File 'lib/v20180625/models.rb', line 1908 def ReceiverSet @ReceiverSet end |
#TrafficMirrorId ⇒ Object
1908 1909 1910 |
# File 'lib/v20180625/models.rb', line 1908 def TrafficMirrorId @TrafficMirrorId end |
Instance Method Details
#deserialize(params) ⇒ Object
1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 |
# File 'lib/v20180625/models.rb', line 1915 def deserialize(params) @TrafficMirrorId = params['TrafficMirrorId'] unless params['ReceiverSet'].nil? @ReceiverSet = [] params['ReceiverSet'].each do |i| describetrafficmirrorreceiver_tmp = DescribeTrafficMirrorReceiver.new describetrafficmirrorreceiver_tmp.deserialize(i) @ReceiverSet << describetrafficmirrorreceiver_tmp end end end |