Class: TencentCloud::Cam::V20190116::ListAttachedUserAllPoliciesResponse

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

Overview

ListAttachedUserAllPolicies返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policylist = nil, totalnum = nil, requestid = nil) ⇒ ListAttachedUserAllPoliciesResponse

Returns a new instance of ListAttachedUserAllPoliciesResponse.



3208
3209
3210
3211
3212
# File 'lib/v20190116/models.rb', line 3208

def initialize(policylist=nil, totalnum=nil, requestid=nil)
  @PolicyList = policylist
  @TotalNum = totalnum
  @RequestId = requestid
end

Instance Attribute Details

#PolicyListObject

Parameters:

  • PolicyList:

    策略列表数据。

  • TotalNum:

    策略总数。

  • RequestId:

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



3206
3207
3208
# File 'lib/v20190116/models.rb', line 3206

def PolicyList
  @PolicyList
end

#RequestIdObject

Parameters:

  • PolicyList:

    策略列表数据。

  • TotalNum:

    策略总数。

  • RequestId:

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



3206
3207
3208
# File 'lib/v20190116/models.rb', line 3206

def RequestId
  @RequestId
end

#TotalNumObject

Parameters:

  • PolicyList:

    策略列表数据。

  • TotalNum:

    策略总数。

  • RequestId:

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



3206
3207
3208
# File 'lib/v20190116/models.rb', line 3206

def TotalNum
  @TotalNum
end

Instance Method Details

#deserialize(params) ⇒ Object



3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
# File 'lib/v20190116/models.rb', line 3214

def deserialize(params)
  unless params['PolicyList'].nil?
    @PolicyList = []
    params['PolicyList'].each do |i|
      attacheduserpolicy_tmp = AttachedUserPolicy.new
      attacheduserpolicy_tmp.deserialize(i)
      @PolicyList << attacheduserpolicy_tmp
    end
  end
  @TotalNum = params['TotalNum']
  @RequestId = params['RequestId']
end