Class: TencentCloud::Tmt::V20180321::GetFileTranslateResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tmt::V20180321::GetFileTranslateResponse
- Defined in:
- lib/v20180321/models.rb
Overview
GetFileTranslate返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ GetFileTranslateResponse
constructor
A new instance of GetFileTranslateResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ GetFileTranslateResponse
Returns a new instance of GetFileTranslateResponse.
179 180 181 182 |
# File 'lib/v20180321/models.rb', line 179 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
177 178 179 |
# File 'lib/v20180321/models.rb', line 177 def Data @Data end |
#RequestId ⇒ Object
177 178 179 |
# File 'lib/v20180321/models.rb', line 177 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
184 185 186 187 188 189 190 |
# File 'lib/v20180321/models.rb', line 184 def deserialize(params) unless params['Data'].nil? @Data = GetFileTranslateData.new @Data.deserialize(params['Data']) end @RequestId = params['RequestId'] end |