Class: TencentCloud::Tbm::V20180129::DescribeBrandNegCommentsRequest

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

Overview

DescribeBrandNegComments请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(brandid = nil, startdate = nil, enddate = nil, limit = nil, offset = nil) ⇒ DescribeBrandNegCommentsRequest

Returns a new instance of DescribeBrandNegCommentsRequest.



351
352
353
354
355
356
357
# File 'lib/v20180129/models.rb', line 351

def initialize(brandid=nil, startdate=nil, enddate=nil, limit=nil, offset=nil)
  @BrandId = brandid
  @StartDate = startdate
  @EndDate = enddate
  @Limit = limit
  @Offset = offset
end

Instance Attribute Details

#BrandIdObject

Parameters:

  • BrandId:

    品牌ID

  • StartDate:

    查询开始时间

  • EndDate:

    查询结束时间

  • Limit:

    查询条数上限,默认20

  • Offset:

    查询偏移,默认从0开始



349
350
351
# File 'lib/v20180129/models.rb', line 349

def BrandId
  @BrandId
end

#EndDateObject

Parameters:

  • BrandId:

    品牌ID

  • StartDate:

    查询开始时间

  • EndDate:

    查询结束时间

  • Limit:

    查询条数上限,默认20

  • Offset:

    查询偏移,默认从0开始



349
350
351
# File 'lib/v20180129/models.rb', line 349

def EndDate
  @EndDate
end

#LimitObject

Parameters:

  • BrandId:

    品牌ID

  • StartDate:

    查询开始时间

  • EndDate:

    查询结束时间

  • Limit:

    查询条数上限,默认20

  • Offset:

    查询偏移,默认从0开始



349
350
351
# File 'lib/v20180129/models.rb', line 349

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • BrandId:

    品牌ID

  • StartDate:

    查询开始时间

  • EndDate:

    查询结束时间

  • Limit:

    查询条数上限,默认20

  • Offset:

    查询偏移,默认从0开始



349
350
351
# File 'lib/v20180129/models.rb', line 349

def Offset
  @Offset
end

#StartDateObject

Parameters:

  • BrandId:

    品牌ID

  • StartDate:

    查询开始时间

  • EndDate:

    查询结束时间

  • Limit:

    查询条数上限,默认20

  • Offset:

    查询偏移,默认从0开始



349
350
351
# File 'lib/v20180129/models.rb', line 349

def StartDate
  @StartDate
end

Instance Method Details

#deserialize(params) ⇒ Object



359
360
361
362
363
364
365
# File 'lib/v20180129/models.rb', line 359

def deserialize(params)
  @BrandId = params['BrandId']
  @StartDate = params['StartDate']
  @EndDate = params['EndDate']
  @Limit = params['Limit']
  @Offset = params['Offset']
end