Class: TencentCloud::Iotvideoindustry::V20201201::DescribeXP2PDataRequest

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

Overview

DescribeXP2PData请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(p2pappid = nil, from = nil, to = nil, p2pchannelid = nil) ⇒ DescribeXP2PDataRequest

Returns a new instance of DescribeXP2PDataRequest.



4270
4271
4272
4273
4274
4275
# File 'lib/v20201201/models.rb', line 4270

def initialize(p2pappid=nil, from=nil, to=nil, p2pchannelid=nil)
  @P2PAppId = p2pappid
  @From = from
  @To = to
  @P2PChannelId = p2pchannelid
end

Instance Attribute Details

#FromObject

Parameters:

  • P2PAppId:

    P2P应用ID

  • From:

    查询开始时间,时间戳秒

  • To:

    查询结束时间,时间戳秒

  • P2PChannelId:

    P2P通路ID



4268
4269
4270
# File 'lib/v20201201/models.rb', line 4268

def From
  @From
end

#P2PAppIdObject

Parameters:

  • P2PAppId:

    P2P应用ID

  • From:

    查询开始时间,时间戳秒

  • To:

    查询结束时间,时间戳秒

  • P2PChannelId:

    P2P通路ID



4268
4269
4270
# File 'lib/v20201201/models.rb', line 4268

def P2PAppId
  @P2PAppId
end

#P2PChannelIdObject

Parameters:

  • P2PAppId:

    P2P应用ID

  • From:

    查询开始时间,时间戳秒

  • To:

    查询结束时间,时间戳秒

  • P2PChannelId:

    P2P通路ID



4268
4269
4270
# File 'lib/v20201201/models.rb', line 4268

def P2PChannelId
  @P2PChannelId
end

#ToObject

Parameters:

  • P2PAppId:

    P2P应用ID

  • From:

    查询开始时间,时间戳秒

  • To:

    查询结束时间,时间戳秒

  • P2PChannelId:

    P2P通路ID



4268
4269
4270
# File 'lib/v20201201/models.rb', line 4268

def To
  @To
end

Instance Method Details

#deserialize(params) ⇒ Object



4277
4278
4279
4280
4281
4282
# File 'lib/v20201201/models.rb', line 4277

def deserialize(params)
  @P2PAppId = params['P2PAppId']
  @From = params['From']
  @To = params['To']
  @P2PChannelId = params['P2PChannelId']
end