Class: TencentCloud::Vod::V20180717::AigcImageTaskInputFileInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::AigcImageTaskInputFileInfo
- Defined in:
- lib/v20180717/models.rb
Overview
AIGC生图任务输入文件信息
Instance Attribute Summary collapse
-
#FileId ⇒ Object
说明: 1.
-
#Text ⇒ Object
说明: 1.
-
#Type ⇒ Object
说明: 1.
-
#Url ⇒ Object
说明: 1.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, fileid = nil, url = nil, text = nil) ⇒ AigcImageTaskInputFileInfo
constructor
A new instance of AigcImageTaskInputFileInfo.
Constructor Details
#initialize(type = nil, fileid = nil, url = nil, text = nil) ⇒ AigcImageTaskInputFileInfo
Returns a new instance of AigcImageTaskInputFileInfo.
4215 4216 4217 4218 4219 4220 |
# File 'lib/v20180717/models.rb', line 4215 def initialize(type=nil, fileid=nil, url=nil, text=nil) @Type = type @FileId = fileid @Url = url @Text = text end |
Instance Attribute Details
#FileId ⇒ Object
说明:
-
推荐使用小于7M的图片;
-
图片格式的取值为:jpeg,jpg, png, webp。
说明:
-
推荐使用小于7M的图片;
-
图片格式的取值为:jpeg,jpg, png, webp。
4213 4214 4215 |
# File 'lib/v20180717/models.rb', line 4213 def FileId @FileId end |
#Text ⇒ Object
说明:
-
推荐使用小于7M的图片;
-
图片格式的取值为:jpeg,jpg, png, webp。
说明:
-
推荐使用小于7M的图片;
-
图片格式的取值为:jpeg,jpg, png, webp。
4213 4214 4215 |
# File 'lib/v20180717/models.rb', line 4213 def Text @Text end |
#Type ⇒ Object
说明:
-
推荐使用小于7M的图片;
-
图片格式的取值为:jpeg,jpg, png, webp。
说明:
-
推荐使用小于7M的图片;
-
图片格式的取值为:jpeg,jpg, png, webp。
4213 4214 4215 |
# File 'lib/v20180717/models.rb', line 4213 def Type @Type end |
#Url ⇒ Object
说明:
-
推荐使用小于7M的图片;
-
图片格式的取值为:jpeg,jpg, png, webp。
说明:
-
推荐使用小于7M的图片;
-
图片格式的取值为:jpeg,jpg, png, webp。
4213 4214 4215 |
# File 'lib/v20180717/models.rb', line 4213 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
4222 4223 4224 4225 4226 4227 |
# File 'lib/v20180717/models.rb', line 4222 def deserialize(params) @Type = params['Type'] @FileId = params['FileId'] @Url = params['Url'] @Text = params['Text'] end |