Class: TencentCloud::Gaap::V20180529::DeleteListenersRequest

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

Overview

DeleteListeners请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(listenerids = nil, force = nil, groupid = nil, proxyid = nil) ⇒ DeleteListenersRequest

Returns a new instance of DeleteListenersRequest.



1975
1976
1977
1978
1979
1980
# File 'lib/v20180529/models.rb', line 1975

def initialize(listenerids=nil, force=nil, groupid=nil, proxyid=nil)
  @ListenerIds = listenerids
  @Force = force
  @GroupId = groupid
  @ProxyId = proxyid
end

Instance Attribute Details

#ForceObject

Parameters:

  • ListenerIds:

    待删除的监听器ID列表

  • Force:

    已绑定源站的监听器是否允许强制删除,1:允许, 0:不允许

  • GroupId:

    通道组ID,该参数和ProxyId必须设置一个,但不能同时设置。

  • ProxyId:

    通道ID,该参数和GroupId必须设置一个,但不能同时设置。



1973
1974
1975
# File 'lib/v20180529/models.rb', line 1973

def Force
  @Force
end

#GroupIdObject

Parameters:

  • ListenerIds:

    待删除的监听器ID列表

  • Force:

    已绑定源站的监听器是否允许强制删除,1:允许, 0:不允许

  • GroupId:

    通道组ID,该参数和ProxyId必须设置一个,但不能同时设置。

  • ProxyId:

    通道ID,该参数和GroupId必须设置一个,但不能同时设置。



1973
1974
1975
# File 'lib/v20180529/models.rb', line 1973

def GroupId
  @GroupId
end

#ListenerIdsObject

Parameters:

  • ListenerIds:

    待删除的监听器ID列表

  • Force:

    已绑定源站的监听器是否允许强制删除,1:允许, 0:不允许

  • GroupId:

    通道组ID,该参数和ProxyId必须设置一个,但不能同时设置。

  • ProxyId:

    通道ID,该参数和GroupId必须设置一个,但不能同时设置。



1973
1974
1975
# File 'lib/v20180529/models.rb', line 1973

def ListenerIds
  @ListenerIds
end

#ProxyIdObject

Parameters:

  • ListenerIds:

    待删除的监听器ID列表

  • Force:

    已绑定源站的监听器是否允许强制删除,1:允许, 0:不允许

  • GroupId:

    通道组ID,该参数和ProxyId必须设置一个,但不能同时设置。

  • ProxyId:

    通道ID,该参数和GroupId必须设置一个,但不能同时设置。



1973
1974
1975
# File 'lib/v20180529/models.rb', line 1973

def ProxyId
  @ProxyId
end

Instance Method Details

#deserialize(params) ⇒ Object



1982
1983
1984
1985
1986
1987
# File 'lib/v20180529/models.rb', line 1982

def deserialize(params)
  @ListenerIds = params['ListenerIds']
  @Force = params['Force']
  @GroupId = params['GroupId']
  @ProxyId = params['ProxyId']
end