Class: TencentCloud::Irp::V20220805::ReportFeedItemRequest

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

Overview

ReportFeedItem请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, feeditemlist = nil) ⇒ ReportFeedItemRequest

Returns a new instance of ReportFeedItemRequest.



870
871
872
873
# File 'lib/v20220805/models.rb', line 870

def initialize(instanceid=nil, feeditemlist=nil)
  @InstanceId = instanceid
  @FeedItemList = feeditemlist
end

Instance Attribute Details

#FeedItemListObject

Parameters:

  • InstanceId:

    实例ID,在控制台获取

  • FeedItemList:

    上报的信息流内容数组,一次数量不超过50



868
869
870
# File 'lib/v20220805/models.rb', line 868

def FeedItemList
  @FeedItemList
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例ID,在控制台获取

  • FeedItemList:

    上报的信息流内容数组,一次数量不超过50



868
869
870
# File 'lib/v20220805/models.rb', line 868

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



875
876
877
878
879
880
881
882
883
884
885
# File 'lib/v20220805/models.rb', line 875

def deserialize(params)
  @InstanceId = params['InstanceId']
  unless params['FeedItemList'].nil?
    @FeedItemList = []
    params['FeedItemList'].each do |i|
      docitem_tmp = DocItem.new
      docitem_tmp.deserialize(i)
      @FeedItemList << docitem_tmp
    end
  end
end