Class: TencentCloud::Bh::V20230418::DescribeAccountGroupsResponse

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

Overview

DescribeAccountGroups返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, accountgroupset = nil, requestid = nil) ⇒ DescribeAccountGroupsResponse

Returns a new instance of DescribeAccountGroupsResponse.



2673
2674
2675
2676
2677
# File 'lib/v20230418/models.rb', line 2673

def initialize(totalcount=nil, accountgroupset=nil, requestid=nil)
  @TotalCount = totalcount
  @AccountGroupSet = accountgroupset
  @RequestId = requestid
end

Instance Attribute Details

#AccountGroupSetObject

Parameters:

  • TotalCount:

    账号组总数

  • AccountGroupSet:

    账号组信息

  • RequestId:

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



2671
2672
2673
# File 'lib/v20230418/models.rb', line 2671

def AccountGroupSet
  @AccountGroupSet
end

#RequestIdObject

Parameters:

  • TotalCount:

    账号组总数

  • AccountGroupSet:

    账号组信息

  • RequestId:

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



2671
2672
2673
# File 'lib/v20230418/models.rb', line 2671

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    账号组总数

  • AccountGroupSet:

    账号组信息

  • RequestId:

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



2671
2672
2673
# File 'lib/v20230418/models.rb', line 2671

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
# File 'lib/v20230418/models.rb', line 2679

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['AccountGroupSet'].nil?
    @AccountGroupSet = []
    params['AccountGroupSet'].each do |i|
      accountgroup_tmp = AccountGroup.new
      accountgroup_tmp.deserialize(i)
      @AccountGroupSet << accountgroup_tmp
    end
  end
  @RequestId = params['RequestId']
end