Class: TencentCloud::Tia::V20180226::DescribeModelResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tia::V20180226::DescribeModelResponse
- Defined in:
- lib/v20180226/models.rb
Overview
DescribeModel返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(model = nil, requestid = nil) ⇒ DescribeModelResponse
constructor
A new instance of DescribeModelResponse.
Constructor Details
#initialize(model = nil, requestid = nil) ⇒ DescribeModelResponse
Returns a new instance of DescribeModelResponse.
334 335 336 337 |
# File 'lib/v20180226/models.rb', line 334 def initialize(model=nil, requestid=nil) @Model = model @RequestId = requestid end |
Instance Attribute Details
#Model ⇒ Object
332 333 334 |
# File 'lib/v20180226/models.rb', line 332 def Model @Model end |
#RequestId ⇒ Object
332 333 334 |
# File 'lib/v20180226/models.rb', line 332 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
339 340 341 342 343 344 345 |
# File 'lib/v20180226/models.rb', line 339 def deserialize(params) unless params['Model'].nil? @Model = Model.new @Model.deserialize(params['Model']) end @RequestId = params['RequestId'] end |