Class: TencentCloud::Cms::V20190321::DescribeLibSamplesRequest

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

Overview

DescribeLibSamples请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(limit = nil, offset = nil, libid = nil, content = nil, eviltypelist = nil, sampleids = nil) ⇒ DescribeLibSamplesRequest

Returns a new instance of DescribeLibSamplesRequest.



442
443
444
445
446
447
448
449
# File 'lib/v20190321/models.rb', line 442

def initialize(limit=nil, offset=nil, libid=nil, content=nil, eviltypelist=nil, sampleids=nil)
  @Limit = limit
  @Offset = offset
  @LibID = libid
  @Content = content
  @EvilTypeList = eviltypelist
  @SampleIDs = sampleids
end

Instance Attribute Details

#ContentObject

Parameters:

  • Limit:

    单页条数,最大为100条

  • Offset:

    条数偏移量

  • LibID:

    词库ID

  • Content:

    词内容过滤

  • EvilTypeList:

    违规类型列表过滤

  • SampleIDs:

    样本词ID列表过滤



440
441
442
# File 'lib/v20190321/models.rb', line 440

def Content
  @Content
end

#EvilTypeListObject

Parameters:

  • Limit:

    单页条数,最大为100条

  • Offset:

    条数偏移量

  • LibID:

    词库ID

  • Content:

    词内容过滤

  • EvilTypeList:

    违规类型列表过滤

  • SampleIDs:

    样本词ID列表过滤



440
441
442
# File 'lib/v20190321/models.rb', line 440

def EvilTypeList
  @EvilTypeList
end

#LibIDObject

Parameters:

  • Limit:

    单页条数,最大为100条

  • Offset:

    条数偏移量

  • LibID:

    词库ID

  • Content:

    词内容过滤

  • EvilTypeList:

    违规类型列表过滤

  • SampleIDs:

    样本词ID列表过滤



440
441
442
# File 'lib/v20190321/models.rb', line 440

def LibID
  @LibID
end

#LimitObject

Parameters:

  • Limit:

    单页条数,最大为100条

  • Offset:

    条数偏移量

  • LibID:

    词库ID

  • Content:

    词内容过滤

  • EvilTypeList:

    违规类型列表过滤

  • SampleIDs:

    样本词ID列表过滤



440
441
442
# File 'lib/v20190321/models.rb', line 440

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Limit:

    单页条数,最大为100条

  • Offset:

    条数偏移量

  • LibID:

    词库ID

  • Content:

    词内容过滤

  • EvilTypeList:

    违规类型列表过滤

  • SampleIDs:

    样本词ID列表过滤



440
441
442
# File 'lib/v20190321/models.rb', line 440

def Offset
  @Offset
end

#SampleIDsObject

Parameters:

  • Limit:

    单页条数,最大为100条

  • Offset:

    条数偏移量

  • LibID:

    词库ID

  • Content:

    词内容过滤

  • EvilTypeList:

    违规类型列表过滤

  • SampleIDs:

    样本词ID列表过滤



440
441
442
# File 'lib/v20190321/models.rb', line 440

def SampleIDs
  @SampleIDs
end

Instance Method Details

#deserialize(params) ⇒ Object



451
452
453
454
455
456
457
458
# File 'lib/v20190321/models.rb', line 451

def deserialize(params)
  @Limit = params['Limit']
  @Offset = params['Offset']
  @LibID = params['LibID']
  @Content = params['Content']
  @EvilTypeList = params['EvilTypeList']
  @SampleIDs = params['SampleIDs']
end