Class: TencentCloud::Cam::V20190116::ListAttachedGroupPoliciesResponse

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

Overview

ListAttachedGroupPolicies返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalnum = nil, list = nil, requestid = nil) ⇒ ListAttachedGroupPoliciesResponse

Returns a new instance of ListAttachedGroupPoliciesResponse.



3074
3075
3076
3077
3078
# File 'lib/v20190116/models.rb', line 3074

def initialize(totalnum=nil, list=nil, requestid=nil)
  @TotalNum = totalnum
  @List = list
  @RequestId = requestid
end

Instance Attribute Details

#ListObject

Parameters:

  • TotalNum:

    策略总数。取值范围大于等于0。

  • List:

    策略列表

  • RequestId:

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



3072
3073
3074
# File 'lib/v20190116/models.rb', line 3072

def List
  @List
end

#RequestIdObject

Parameters:

  • TotalNum:

    策略总数。取值范围大于等于0。

  • List:

    策略列表

  • RequestId:

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



3072
3073
3074
# File 'lib/v20190116/models.rb', line 3072

def RequestId
  @RequestId
end

#TotalNumObject

Parameters:

  • TotalNum:

    策略总数。取值范围大于等于0。

  • List:

    策略列表

  • RequestId:

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



3072
3073
3074
# File 'lib/v20190116/models.rb', line 3072

def TotalNum
  @TotalNum
end

Instance Method Details

#deserialize(params) ⇒ Object



3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
# File 'lib/v20190116/models.rb', line 3080

def deserialize(params)
  @TotalNum = params['TotalNum']
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      attachpolicyinfo_tmp = AttachPolicyInfo.new
      attachpolicyinfo_tmp.deserialize(i)
      @List << attachpolicyinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end