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.
861 862 863 864 865 |
# File 'lib/v20190423/models.rb', line 861 def initialize(productid=nil, devicename=nil, routeid=nil) @ProductId = productid @DeviceName = devicename @RouteId = routeid end |
Instance Attribute Details
#DeviceName ⇒ Object
859 860 861 |
# File 'lib/v20190423/models.rb', line 859 def DeviceName @DeviceName end |
#ProductId ⇒ Object
859 860 861 |
# File 'lib/v20190423/models.rb', line 859 def ProductId @ProductId end |
#RouteId ⇒ Object
859 860 861 |
# File 'lib/v20190423/models.rb', line 859 def RouteId @RouteId end |
Instance Method Details
#deserialize(params) ⇒ Object
867 868 869 870 871 |
# File 'lib/v20190423/models.rb', line 867 def deserialize(params) @ProductId = params['ProductId'] @DeviceName = params['DeviceName'] @RouteId = params['RouteId'] end |