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.
4164 4165 4166 4167 4168 4169 |
# File 'lib/v20201201/models.rb', line 4164 def initialize(p2pappid=nil, from=nil, to=nil, p2pchannelid=nil) @P2PAppId = p2pappid @From = from @To = to @P2PChannelId = p2pchannelid end |
Instance Attribute Details
#From ⇒ Object
4162 4163 4164 |
# File 'lib/v20201201/models.rb', line 4162 def From @From end |
#P2PAppId ⇒ Object
4162 4163 4164 |
# File 'lib/v20201201/models.rb', line 4162 def P2PAppId @P2PAppId end |
#P2PChannelId ⇒ Object
4162 4163 4164 |
# File 'lib/v20201201/models.rb', line 4162 def P2PChannelId @P2PChannelId end |
#To ⇒ Object
4162 4163 4164 |
# File 'lib/v20201201/models.rb', line 4162 def To @To end |
Instance Method Details
#deserialize(params) ⇒ Object
4171 4172 4173 4174 4175 4176 |
# File 'lib/v20201201/models.rb', line 4171 def deserialize(params) @P2PAppId = params['P2PAppId'] @From = params['From'] @To = params['To'] @P2PChannelId = params['P2PChannelId'] end |