Class: TencentCloud::Cam::V20190116::ListUsersResponse

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

Overview

ListUsers返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ ListUsersResponse

Returns a new instance of ListUsersResponse.



3958
3959
3960
3961
# File 'lib/v20190116/models.rb', line 3958

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

Parameters:

  • Data:

    子用户信息

  • RequestId:

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



3956
3957
3958
# File 'lib/v20190116/models.rb', line 3956

def Data
  @Data
end

#RequestIdObject

Parameters:

  • Data:

    子用户信息

  • RequestId:

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



3956
3957
3958
# File 'lib/v20190116/models.rb', line 3956

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
# File 'lib/v20190116/models.rb', line 3963

def deserialize(params)
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      subaccountinfo_tmp = SubAccountInfo.new
      subaccountinfo_tmp.deserialize(i)
      @Data << subaccountinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end