Class: TencentCloud::Dlc::V20210125::CreateExportTaskRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::CreateExportTaskRequest
- Defined in:
- lib/v20210125/models.rb
Overview
CreateExportTask请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(inputtype = nil, inputconf = nil, outputconf = nil, outputtype = nil) ⇒ CreateExportTaskRequest
constructor
A new instance of CreateExportTaskRequest.
Constructor Details
#initialize(inputtype = nil, inputconf = nil, outputconf = nil, outputtype = nil) ⇒ CreateExportTaskRequest
Returns a new instance of CreateExportTaskRequest.
2114 2115 2116 2117 2118 2119 |
# File 'lib/v20210125/models.rb', line 2114 def initialize(inputtype=nil, inputconf=nil, outputconf=nil, outputtype=nil) @InputType = inputtype @InputConf = inputconf @OutputConf = outputconf @OutputType = outputtype end |
Instance Attribute Details
#InputConf ⇒ Object
2112 2113 2114 |
# File 'lib/v20210125/models.rb', line 2112 def InputConf @InputConf end |
#InputType ⇒ Object
2112 2113 2114 |
# File 'lib/v20210125/models.rb', line 2112 def InputType @InputType end |
#OutputConf ⇒ Object
2112 2113 2114 |
# File 'lib/v20210125/models.rb', line 2112 def OutputConf @OutputConf end |
#OutputType ⇒ Object
2112 2113 2114 |
# File 'lib/v20210125/models.rb', line 2112 def OutputType @OutputType end |
Instance Method Details
#deserialize(params) ⇒ Object
2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 |
# File 'lib/v20210125/models.rb', line 2121 def deserialize(params) @InputType = params['InputType'] unless params['InputConf'].nil? @InputConf = [] params['InputConf'].each do |i| kvpair_tmp = KVPair.new kvpair_tmp.deserialize(i) @InputConf << kvpair_tmp end end unless params['OutputConf'].nil? @OutputConf = [] params['OutputConf'].each do |i| kvpair_tmp = KVPair.new kvpair_tmp.deserialize(i) @OutputConf << kvpair_tmp end end @OutputType = params['OutputType'] end |