Class: TencentCloud::Cwp::V20180228::DescribeBashPoliciesResponse

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

Overview

DescribeBashPolicies返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeBashPoliciesResponse

Returns a new instance of DescribeBashPoliciesResponse.



13799
13800
13801
13802
13803
# File 'lib/v20180228/models.rb', line 13799

def initialize(list=nil, totalcount=nil, requestid=nil)
  @List = list
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ListObject

Parameters:

  • List:

    列表内容

  • TotalCount:

    总条数

  • RequestId:

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



13797
13798
13799
# File 'lib/v20180228/models.rb', line 13797

def List
  @List
end

#RequestIdObject

Parameters:

  • List:

    列表内容

  • TotalCount:

    总条数

  • RequestId:

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



13797
13798
13799
# File 'lib/v20180228/models.rb', line 13797

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • List:

    列表内容

  • TotalCount:

    总条数

  • RequestId:

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



13797
13798
13799
# File 'lib/v20180228/models.rb', line 13797

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
# File 'lib/v20180228/models.rb', line 13805

def deserialize(params)
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      bashpolicy_tmp = BashPolicy.new
      bashpolicy_tmp.deserialize(i)
      @List << bashpolicy_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end