Class: TencentCloud::Bmlb::V20180625::L7ListenerInfoBackend

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

Overview

查询绑定了某主机七层监听器时返回的与转发路径所绑定的主机信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bindtype = nil, port = nil, weight = nil, status = nil, instanceid = nil, _alias = nil, lanip = nil) ⇒ L7ListenerInfoBackend



2865
2866
2867
2868
2869
2870
2871
2872
2873
# File 'lib/v20180625/models.rb', line 2865

def initialize(bindtype=nil, port=nil, weight=nil, status=nil, instanceid=nil, _alias=nil, lanip=nil)
  @BindType = bindtype
  @Port = port
  @Weight = weight
  @Status = status
  @InstanceId = instanceid
  @Alias = _alias
  @LanIp = lanip
end

Instance Attribute Details

#AliasObject



2863
2864
2865
# File 'lib/v20180625/models.rb', line 2863

def Alias
  @Alias
end

#BindTypeObject



2863
2864
2865
# File 'lib/v20180625/models.rb', line 2863

def BindType
  @BindType
end

#InstanceIdObject



2863
2864
2865
# File 'lib/v20180625/models.rb', line 2863

def InstanceId
  @InstanceId
end

#LanIpObject



2863
2864
2865
# File 'lib/v20180625/models.rb', line 2863

def LanIp
  @LanIp
end

#PortObject



2863
2864
2865
# File 'lib/v20180625/models.rb', line 2863

def Port
  @Port
end

#StatusObject



2863
2864
2865
# File 'lib/v20180625/models.rb', line 2863

def Status
  @Status
end

#WeightObject



2863
2864
2865
# File 'lib/v20180625/models.rb', line 2863

def Weight
  @Weight
end

Instance Method Details

#deserialize(params) ⇒ Object



2875
2876
2877
2878
2879
2880
2881
2882
2883
# File 'lib/v20180625/models.rb', line 2875

def deserialize(params)
  @BindType = params['BindType']
  @Port = params['Port']
  @Weight = params['Weight']
  @Status = params['Status']
  @InstanceId = params['InstanceId']
  @Alias = params['Alias']
  @LanIp = params['LanIp']
end