Class: TencentCloud::Bmlb::V20180625::DescribeTrafficMirrorReceiverHealthStatusRequest

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

Overview

DescribeTrafficMirrorReceiverHealthStatus请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ReceiverSetObject

Parameters:

  • TrafficMirrorId:

    查询所在的流量镜像ID。

  • ReceiverSet:

    流量镜像接收机实例ID和端口数组。



1908
1909
1910
# File 'lib/v20180625/models.rb', line 1908

def ReceiverSet
  @ReceiverSet
end

#TrafficMirrorIdObject

Parameters:

  • TrafficMirrorId:

    查询所在的流量镜像ID。

  • ReceiverSet:

    流量镜像接收机实例ID和端口数组。



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