Class: TencentCloud::Cwp::V20180228::DescribeRansomDefenseBackupListResponse

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

Overview

DescribeRansomDefenseBackupList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeRansomDefenseBackupListResponse.



19565
19566
19567
19568
19569
# File 'lib/v20180228/models.rb', line 19565

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。



19563
19564
19565
# File 'lib/v20180228/models.rb', line 19563

def List
  @List
end

#RequestIdObject

Parameters:

  • List:

    备份列表

  • TotalCount:

    分页查询记录总数

  • RequestId:

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



19563
19564
19565
# File 'lib/v20180228/models.rb', line 19563

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • List:

    备份列表

  • TotalCount:

    分页查询记录总数

  • RequestId:

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



19563
19564
19565
# File 'lib/v20180228/models.rb', line 19563

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
# File 'lib/v20180228/models.rb', line 19571

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