Class: TencentCloud::Tms::V20200713::DescribeTextLibResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tms::V20200713::DescribeTextLibResponse
- Defined in:
- lib/v20200713/models.rb
Overview
DescribeTextLib返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(textlib = nil, requestid = nil) ⇒ DescribeTextLibResponse
constructor
A new instance of DescribeTextLibResponse.
Constructor Details
#initialize(textlib = nil, requestid = nil) ⇒ DescribeTextLibResponse
Returns a new instance of DescribeTextLibResponse.
109 110 111 112 |
# File 'lib/v20200713/models.rb', line 109 def initialize(textlib=nil, requestid=nil) @TextLib = textlib @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
107 108 109 |
# File 'lib/v20200713/models.rb', line 107 def RequestId @RequestId end |
#TextLib ⇒ Object
107 108 109 |
# File 'lib/v20200713/models.rb', line 107 def TextLib @TextLib end |
Instance Method Details
#deserialize(params) ⇒ Object
114 115 116 117 118 119 120 121 122 123 124 |
# File 'lib/v20200713/models.rb', line 114 def deserialize(params) unless params['TextLib'].nil? @TextLib = [] params['TextLib'].each do |i| textlib_tmp = TextLib.new textlib_tmp.deserialize(i) @TextLib << textlib_tmp end end @RequestId = params['RequestId'] end |