Class: TencentCloud::Cwp::V20180228::DescribeClientExceptionResponse

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

Overview

DescribeClientException返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, records = nil, requestid = nil) ⇒ DescribeClientExceptionResponse

Returns a new instance of DescribeClientExceptionResponse.



14091
14092
14093
14094
14095
# File 'lib/v20180228/models.rb', line 14091

def initialize(totalcount=nil, records=nil, requestid=nil)
  @TotalCount = totalcount
  @Records = records
  @RequestId = requestid
end

Instance Attribute Details

#RecordsObject

Parameters:

  • TotalCount:

    事件总数量

  • Records:

    事件详情

  • RequestId:

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



14089
14090
14091
# File 'lib/v20180228/models.rb', line 14089

def Records
  @Records
end

#RequestIdObject

Parameters:

  • TotalCount:

    事件总数量

  • Records:

    事件详情

  • RequestId:

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



14089
14090
14091
# File 'lib/v20180228/models.rb', line 14089

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    事件总数量

  • Records:

    事件详情

  • RequestId:

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



14089
14090
14091
# File 'lib/v20180228/models.rb', line 14089

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
# File 'lib/v20180228/models.rb', line 14097

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Records'].nil?
    @Records = []
    params['Records'].each do |i|
      recordinfo_tmp = RecordInfo.new
      recordinfo_tmp.deserialize(i)
      @Records << recordinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end