Class: TencentCloud::Ckafka::V20190819::CreatePartitionResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::CreatePartitionResponse
- Defined in:
- lib/v20190819/models.rb
Overview
CreatePartition返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(result = nil, requestid = nil) ⇒ CreatePartitionResponse
constructor
A new instance of CreatePartitionResponse.
Constructor Details
#initialize(result = nil, requestid = nil) ⇒ CreatePartitionResponse
Returns a new instance of CreatePartitionResponse.
2222 2223 2224 2225 |
# File 'lib/v20190819/models.rb', line 2222 def initialize(result=nil, requestid=nil) @Result = result @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2220 2221 2222 |
# File 'lib/v20190819/models.rb', line 2220 def RequestId @RequestId end |
#Result ⇒ Object
2220 2221 2222 |
# File 'lib/v20190819/models.rb', line 2220 def Result @Result end |
Instance Method Details
#deserialize(params) ⇒ Object
2227 2228 2229 2230 2231 2232 2233 |
# File 'lib/v20190819/models.rb', line 2227 def deserialize(params) unless params['Result'].nil? @Result = JgwOperateResponse.new @Result.deserialize(params['Result']) end @RequestId = params['RequestId'] end |