Class: TencentCloud::Hunyuan::V20230901::Replace
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hunyuan::V20230901::Replace
- Defined in:
- lib/v20230901/models.rb
Overview
多媒体占位符替换信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, multimedia = nil) ⇒ Replace
constructor
A new instance of Replace.
Constructor Details
#initialize(id = nil, multimedia = nil) ⇒ Replace
Returns a new instance of Replace.
2196 2197 2198 2199 |
# File 'lib/v20230901/models.rb', line 2196 def initialize(id=nil, multimedia=nil) @Id = id @Multimedia = multimedia end |
Instance Attribute Details
#Id ⇒ Object
2194 2195 2196 |
# File 'lib/v20230901/models.rb', line 2194 def Id @Id end |
#Multimedia ⇒ Object
2194 2195 2196 |
# File 'lib/v20230901/models.rb', line 2194 def Multimedia @Multimedia end |
Instance Method Details
#deserialize(params) ⇒ Object
2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 |
# File 'lib/v20230901/models.rb', line 2201 def deserialize(params) @Id = params['Id'] unless params['Multimedia'].nil? @Multimedia = [] params['Multimedia'].each do |i| multimedia_tmp = Multimedia.new multimedia_tmp.deserialize(i) @Multimedia << multimedia_tmp end end end |