Class: TencentCloud::Iotexplorer::V20190423::ChangeP2PRouteRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::ChangeP2PRouteRequest
- Defined in:
- lib/v20190423/models.rb
Overview
ChangeP2PRoute请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productid = nil, devicename = nil, routeid = nil) ⇒ ChangeP2PRouteRequest
constructor
A new instance of ChangeP2PRouteRequest.
Constructor Details
#initialize(productid = nil, devicename = nil, routeid = nil) ⇒ ChangeP2PRouteRequest
Returns a new instance of ChangeP2PRouteRequest.
893 894 895 896 897 |
# File 'lib/v20190423/models.rb', line 893 def initialize(productid=nil, devicename=nil, routeid=nil) @ProductId = productid @DeviceName = devicename @RouteId = routeid end |
Instance Attribute Details
#DeviceName ⇒ Object
891 892 893 |
# File 'lib/v20190423/models.rb', line 891 def DeviceName @DeviceName end |
#ProductId ⇒ Object
891 892 893 |
# File 'lib/v20190423/models.rb', line 891 def ProductId @ProductId end |
#RouteId ⇒ Object
891 892 893 |
# File 'lib/v20190423/models.rb', line 891 def RouteId @RouteId end |
Instance Method Details
#deserialize(params) ⇒ Object
899 900 901 902 903 |
# File 'lib/v20190423/models.rb', line 899 def deserialize(params) @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] @RouteId = params['RouteId'] end |