Class: TencentCloud::Tms::V20200713::DescribeTextLibResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200713/models.rb

Overview

DescribeTextLib返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • TextLib:

    文本库id和name列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



107
108
109
# File 'lib/v20200713/models.rb', line 107

def RequestId
  @RequestId
end

#TextLibObject

Parameters:

  • TextLib:

    文本库id和name列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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