Class: TencentCloud::Iotvideoindustry::V20201201::DescribeXP2PDataRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribeXP2PDataRequest
- Defined in:
- lib/v20201201/models.rb
Overview
DescribeXP2PData请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(p2pappid = nil, from = nil, to = nil, p2pchannelid = nil) ⇒ DescribeXP2PDataRequest
constructor
A new instance of DescribeXP2PDataRequest.
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
#From ⇒ Object
4268 4269 4270 |
# File 'lib/v20201201/models.rb', line 4268 def From @From end |
#P2PAppId ⇒ Object
4268 4269 4270 |
# File 'lib/v20201201/models.rb', line 4268 def P2PAppId @P2PAppId end |
#P2PChannelId ⇒ Object
4268 4269 4270 |
# File 'lib/v20201201/models.rb', line 4268 def P2PChannelId @P2PChannelId end |
#To ⇒ Object
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 |