Class: TencentCloud::Hunyuan::V20230901::Image
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hunyuan::V20230901::Image
- Defined in:
- lib/v20230901/models.rb
Overview
图片信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imageurl = nil, imagebase64 = nil) ⇒ Image
constructor
A new instance of Image.
Constructor Details
#initialize(imageurl = nil, imagebase64 = nil) ⇒ Image
Returns a new instance of Image.
1527 1528 1529 1530 |
# File 'lib/v20230901/models.rb', line 1527 def initialize(imageurl=nil, imagebase64=nil) @ImageUrl = imageurl @ImageBase64 = imagebase64 end |
Instance Attribute Details
#ImageBase64 ⇒ Object
1525 1526 1527 |
# File 'lib/v20230901/models.rb', line 1525 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
1525 1526 1527 |
# File 'lib/v20230901/models.rb', line 1525 def ImageUrl @ImageUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
1532 1533 1534 1535 |
# File 'lib/v20230901/models.rb', line 1532 def deserialize(params) @ImageUrl = params['ImageUrl'] @ImageBase64 = params['ImageBase64'] end |