Class: TencentCloud::Gaap::V20180529::GroupStatisticsInfo

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

Overview

可以显示统计数据的通道组和对应通道信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupid = nil, groupname = nil, proxyset = nil) ⇒ GroupStatisticsInfo

Returns a new instance of GroupStatisticsInfo.



5001
5002
5003
5004
5005
# File 'lib/v20180529/models.rb', line 5001

def initialize(groupid=nil, groupname=nil, proxyset=nil)
  @GroupId = groupid
  @GroupName = groupname
  @ProxySet = proxyset
end

Instance Attribute Details

#GroupIdObject

Parameters:

  • GroupId:

    通道组ID

  • GroupName:

    通道组名称

  • ProxySet:

    通道组下通道列表



4999
5000
5001
# File 'lib/v20180529/models.rb', line 4999

def GroupId
  @GroupId
end

#GroupNameObject

Parameters:

  • GroupId:

    通道组ID

  • GroupName:

    通道组名称

  • ProxySet:

    通道组下通道列表



4999
5000
5001
# File 'lib/v20180529/models.rb', line 4999

def GroupName
  @GroupName
end

#ProxySetObject

Parameters:

  • GroupId:

    通道组ID

  • GroupName:

    通道组名称

  • ProxySet:

    通道组下通道列表



4999
5000
5001
# File 'lib/v20180529/models.rb', line 4999

def ProxySet
  @ProxySet
end

Instance Method Details

#deserialize(params) ⇒ Object



5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
# File 'lib/v20180529/models.rb', line 5007

def deserialize(params)
  @GroupId = params['GroupId']
  @GroupName = params['GroupName']
  unless params['ProxySet'].nil?
    @ProxySet = []
    params['ProxySet'].each do |i|
      proxysimpleinfo_tmp = ProxySimpleInfo.new
      proxysimpleinfo_tmp.deserialize(i)
      @ProxySet << proxysimpleinfo_tmp
    end
  end
end