Class: TencentCloud::Ssa::V20180608::DescribeMappingResultsRequest

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

Overview

DescribeMappingResults请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filter = nil, sorter = nil, pageindex = nil, pagesize = nil) ⇒ DescribeMappingResultsRequest

Returns a new instance of DescribeMappingResultsRequest.



2257
2258
2259
2260
2261
2262
# File 'lib/v20180608/models.rb', line 2257

def initialize(filter=nil, sorter=nil, pageindex=nil, pagesize=nil)
  @Filter = filter
  @Sorter = sorter
  @PageIndex = pageindex
  @PageSize = pagesize
end

Instance Attribute Details

#FilterObject

Parameters:

  • Filter:

    过滤条件,FilterKey 取值范围:AssetId,AssetIp,PrivateIp,Protocol,Service,OS,Process,Component,AssetType,Domain,Port,LastMappingTime,MappingType,Disposal,Vpc

  • Sorter:

    排序条件,SortKey取值范围:CreateTime,LastMappingTime

  • PageIndex:

    页码

  • PageSize:

    页大小,默认大小20



2255
2256
2257
# File 'lib/v20180608/models.rb', line 2255

def Filter
  @Filter
end

#PageIndexObject

Parameters:

  • Filter:

    过滤条件,FilterKey 取值范围:AssetId,AssetIp,PrivateIp,Protocol,Service,OS,Process,Component,AssetType,Domain,Port,LastMappingTime,MappingType,Disposal,Vpc

  • Sorter:

    排序条件,SortKey取值范围:CreateTime,LastMappingTime

  • PageIndex:

    页码

  • PageSize:

    页大小,默认大小20



2255
2256
2257
# File 'lib/v20180608/models.rb', line 2255

def PageIndex
  @PageIndex
end

#PageSizeObject

Parameters:

  • Filter:

    过滤条件,FilterKey 取值范围:AssetId,AssetIp,PrivateIp,Protocol,Service,OS,Process,Component,AssetType,Domain,Port,LastMappingTime,MappingType,Disposal,Vpc

  • Sorter:

    排序条件,SortKey取值范围:CreateTime,LastMappingTime

  • PageIndex:

    页码

  • PageSize:

    页大小,默认大小20



2255
2256
2257
# File 'lib/v20180608/models.rb', line 2255

def PageSize
  @PageSize
end

#SorterObject

Parameters:

  • Filter:

    过滤条件,FilterKey 取值范围:AssetId,AssetIp,PrivateIp,Protocol,Service,OS,Process,Component,AssetType,Domain,Port,LastMappingTime,MappingType,Disposal,Vpc

  • Sorter:

    排序条件,SortKey取值范围:CreateTime,LastMappingTime

  • PageIndex:

    页码

  • PageSize:

    页大小,默认大小20



2255
2256
2257
# File 'lib/v20180608/models.rb', line 2255

def Sorter
  @Sorter
end

Instance Method Details

#deserialize(params) ⇒ Object



2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
# File 'lib/v20180608/models.rb', line 2264

def deserialize(params)
  unless params['Filter'].nil?
    @Filter = []
    params['Filter'].each do |i|
      assetqueryfilter_tmp = AssetQueryFilter.new
      assetqueryfilter_tmp.deserialize(i)
      @Filter << assetqueryfilter_tmp
    end
  end
  unless params['Sorter'].nil?
    @Sorter = []
    params['Sorter'].each do |i|
      querysort_tmp = QuerySort.new
      querysort_tmp.deserialize(i)
      @Sorter << querysort_tmp
    end
  end
  @PageIndex = params['PageIndex']
  @PageSize = params['PageSize']
end