Class: TencentCloud::Cpdp::V20190820::CreateRedInvoiceResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::CreateRedInvoiceResponse
- Defined in:
- lib/v20190820/models.rb
Overview
CreateRedInvoice返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(result = nil, requestid = nil) ⇒ CreateRedInvoiceResponse
constructor
A new instance of CreateRedInvoiceResponse.
Constructor Details
#initialize(result = nil, requestid = nil) ⇒ CreateRedInvoiceResponse
Returns a new instance of CreateRedInvoiceResponse.
8789 8790 8791 8792 |
# File 'lib/v20190820/models.rb', line 8789 def initialize(result=nil, requestid=nil) @Result = result @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
8787 8788 8789 |
# File 'lib/v20190820/models.rb', line 8787 def RequestId @RequestId end |
#Result ⇒ Object
8787 8788 8789 |
# File 'lib/v20190820/models.rb', line 8787 def Result @Result end |
Instance Method Details
#deserialize(params) ⇒ Object
8794 8795 8796 8797 8798 8799 8800 |
# File 'lib/v20190820/models.rb', line 8794 def deserialize(params) unless params['Result'].nil? @Result = CreateRedInvoiceResult.new @Result.deserialize(params['Result']) end @RequestId = params['RequestId'] end |