Class: TencentCloud::Tbm::V20180129::DescribeIndustryNewsRequest

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

Overview

DescribeIndustryNews请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(industryid = nil, startdate = nil, enddate = nil, showlist = nil, offset = nil, limit = nil) ⇒ DescribeIndustryNewsRequest

Returns a new instance of DescribeIndustryNewsRequest.



609
610
611
612
613
614
615
616
# File 'lib/v20180129/models.rb', line 609

def initialize(industryid=nil, startdate=nil, enddate=nil, showlist=nil, offset=nil, limit=nil)
  @IndustryId = industryid
  @StartDate = startdate
  @EndDate = enddate
  @ShowList = showlist
  @Offset = offset
  @Limit = limit
end

Instance Attribute Details

#EndDateObject

Parameters:

  • IndustryId:

    行业ID

  • StartDate:

    查询开始时间

  • EndDate:

    查询结束时间

  • ShowList:

    是否显示列表,若为 true,则返回文章列表

  • Offset:

    查询偏移,默认从0开始

  • Limit:

    查询条数上限,默认20



607
608
609
# File 'lib/v20180129/models.rb', line 607

def EndDate
  @EndDate
end

#IndustryIdObject

Parameters:

  • IndustryId:

    行业ID

  • StartDate:

    查询开始时间

  • EndDate:

    查询结束时间

  • ShowList:

    是否显示列表,若为 true,则返回文章列表

  • Offset:

    查询偏移,默认从0开始

  • Limit:

    查询条数上限,默认20



607
608
609
# File 'lib/v20180129/models.rb', line 607

def IndustryId
  @IndustryId
end

#LimitObject

Parameters:

  • IndustryId:

    行业ID

  • StartDate:

    查询开始时间

  • EndDate:

    查询结束时间

  • ShowList:

    是否显示列表,若为 true,则返回文章列表

  • Offset:

    查询偏移,默认从0开始

  • Limit:

    查询条数上限,默认20



607
608
609
# File 'lib/v20180129/models.rb', line 607

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • IndustryId:

    行业ID

  • StartDate:

    查询开始时间

  • EndDate:

    查询结束时间

  • ShowList:

    是否显示列表,若为 true,则返回文章列表

  • Offset:

    查询偏移,默认从0开始

  • Limit:

    查询条数上限,默认20



607
608
609
# File 'lib/v20180129/models.rb', line 607

def Offset
  @Offset
end

#ShowListObject

Parameters:

  • IndustryId:

    行业ID

  • StartDate:

    查询开始时间

  • EndDate:

    查询结束时间

  • ShowList:

    是否显示列表,若为 true,则返回文章列表

  • Offset:

    查询偏移,默认从0开始

  • Limit:

    查询条数上限,默认20



607
608
609
# File 'lib/v20180129/models.rb', line 607

def ShowList
  @ShowList
end

#StartDateObject

Parameters:

  • IndustryId:

    行业ID

  • StartDate:

    查询开始时间

  • EndDate:

    查询结束时间

  • ShowList:

    是否显示列表,若为 true,则返回文章列表

  • Offset:

    查询偏移,默认从0开始

  • Limit:

    查询条数上限,默认20



607
608
609
# File 'lib/v20180129/models.rb', line 607

def StartDate
  @StartDate
end

Instance Method Details

#deserialize(params) ⇒ Object



618
619
620
621
622
623
624
625
# File 'lib/v20180129/models.rb', line 618

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