Class: TencentCloud::Mna::V20210119::GetGroupListResponse

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

Overview

GetGroupList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupinfos = nil, length = nil, totalpage = nil, requestid = nil) ⇒ GetGroupListResponse

Returns a new instance of GetGroupListResponse.



1568
1569
1570
1571
1572
1573
# File 'lib/v20210119/models.rb', line 1568

def initialize(groupinfos=nil, length=nil, totalpage=nil, requestid=nil)
  @GroupInfos = groupinfos
  @Length = length
  @TotalPage = totalpage
  @RequestId = requestid
end

Instance Attribute Details

#GroupInfosObject

Parameters:

  • GroupInfos:

    设备信息列表

  • Length:

    设备总记录条数

  • TotalPage:

    总页数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1566
1567
1568
# File 'lib/v20210119/models.rb', line 1566

def GroupInfos
  @GroupInfos
end

#LengthObject

Parameters:

  • GroupInfos:

    设备信息列表

  • Length:

    设备总记录条数

  • TotalPage:

    总页数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1566
1567
1568
# File 'lib/v20210119/models.rb', line 1566

def Length
  @Length
end

#RequestIdObject

Parameters:

  • GroupInfos:

    设备信息列表

  • Length:

    设备总记录条数

  • TotalPage:

    总页数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1566
1567
1568
# File 'lib/v20210119/models.rb', line 1566

def RequestId
  @RequestId
end

#TotalPageObject

Parameters:

  • GroupInfos:

    设备信息列表

  • Length:

    设备总记录条数

  • TotalPage:

    总页数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1566
1567
1568
# File 'lib/v20210119/models.rb', line 1566

def TotalPage
  @TotalPage
end

Instance Method Details

#deserialize(params) ⇒ Object



1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
# File 'lib/v20210119/models.rb', line 1575

def deserialize(params)
  unless params['GroupInfos'].nil?
    @GroupInfos = []
    params['GroupInfos'].each do |i|
      groupinfo_tmp = GroupInfo.new
      groupinfo_tmp.deserialize(i)
      @GroupInfos << groupinfo_tmp
    end
  end
  @Length = params['Length']
  @TotalPage = params['TotalPage']
  @RequestId = params['RequestId']
end