Class: TencentCloud::Smop::V20201203::SubmitTaskEventRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Smop::V20201203::SubmitTaskEventRequest
- Defined in:
- lib/v20201203/models.rb
Overview
SubmitTaskEvent请求参数结构体
Instance Attribute Summary collapse
- #AccountId ⇒ Object
- #Async ⇒ Object
- #Code ⇒ Object
- #DeviceId ⇒ Object
- #NotifyURL ⇒ Object
- #OrderId ⇒ Object
- #ProductId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(accountid = nil, deviceid = nil, orderid = nil, code = nil, async = nil, productid = nil, notifyurl = nil) ⇒ SubmitTaskEventRequest
constructor
A new instance of SubmitTaskEventRequest.
Constructor Details
#initialize(accountid = nil, deviceid = nil, orderid = nil, code = nil, async = nil, productid = nil, notifyurl = nil) ⇒ SubmitTaskEventRequest
Returns a new instance of SubmitTaskEventRequest.
39 40 41 42 43 44 45 46 47 |
# File 'lib/v20201203/models.rb', line 39 def initialize(accountid=nil, deviceid=nil, orderid=nil, code=nil, async=nil, productid=nil, notifyurl=nil) @AccountId = accountid @DeviceId = deviceid @OrderId = orderid @Code = code @Async = async @ProductId = productid @NotifyURL = notifyurl end |
Instance Attribute Details
#AccountId ⇒ Object
37 38 39 |
# File 'lib/v20201203/models.rb', line 37 def AccountId @AccountId end |
#Async ⇒ Object
37 38 39 |
# File 'lib/v20201203/models.rb', line 37 def Async @Async end |
#Code ⇒ Object
37 38 39 |
# File 'lib/v20201203/models.rb', line 37 def Code @Code end |
#DeviceId ⇒ Object
37 38 39 |
# File 'lib/v20201203/models.rb', line 37 def DeviceId @DeviceId end |
#NotifyURL ⇒ Object
37 38 39 |
# File 'lib/v20201203/models.rb', line 37 def NotifyURL @NotifyURL end |
#OrderId ⇒ Object
37 38 39 |
# File 'lib/v20201203/models.rb', line 37 def OrderId @OrderId end |
#ProductId ⇒ Object
37 38 39 |
# File 'lib/v20201203/models.rb', line 37 def ProductId @ProductId end |
Instance Method Details
#deserialize(params) ⇒ Object
49 50 51 52 53 54 55 56 57 |
# File 'lib/v20201203/models.rb', line 49 def deserialize(params) @AccountId = params['AccountId'] @DeviceId = params['DeviceId'] @OrderId = params['OrderId'] @Code = params['Code'] @Async = params['Async'] @ProductId = params['ProductId'] @NotifyURL = params['NotifyURL'] end |