Class: TencentCloud::Dlc::V20210125::DescribeWorkGroupsResponse

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

Overview

DescribeWorkGroups返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, workgroupset = nil, requestid = nil) ⇒ DescribeWorkGroupsResponse

Returns a new instance of DescribeWorkGroupsResponse.



10595
10596
10597
10598
10599
# File 'lib/v20210125/models.rb', line 10595

def initialize(totalcount=nil, workgroupset=nil, requestid=nil)
  @TotalCount = totalcount
  @WorkGroupSet = workgroupset
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    工作组总数

  • WorkGroupSet:

    工作组信息集合

  • RequestId:

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



10593
10594
10595
# File 'lib/v20210125/models.rb', line 10593

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    工作组总数

  • WorkGroupSet:

    工作组信息集合

  • RequestId:

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



10593
10594
10595
# File 'lib/v20210125/models.rb', line 10593

def TotalCount
  @TotalCount
end

#WorkGroupSetObject

Parameters:

  • TotalCount:

    工作组总数

  • WorkGroupSet:

    工作组信息集合

  • RequestId:

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



10593
10594
10595
# File 'lib/v20210125/models.rb', line 10593

def WorkGroupSet
  @WorkGroupSet
end

Instance Method Details

#deserialize(params) ⇒ Object



10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
# File 'lib/v20210125/models.rb', line 10601

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['WorkGroupSet'].nil?
    @WorkGroupSet = []
    params['WorkGroupSet'].each do |i|
      workgroupinfo_tmp = WorkGroupInfo.new
      workgroupinfo_tmp.deserialize(i)
      @WorkGroupSet << workgroupinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end