Class: TencentCloud::Aiart::V20221229::SubmitTrainPortraitModelJobRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Aiart::V20221229::SubmitTrainPortraitModelJobRequest
- Defined in:
- lib/v20221229/models.rb
Overview
SubmitTrainPortraitModelJob请求参数结构体
Instance Attribute Summary collapse
-
#ModelId ⇒ Object
每个 AI 写真模型自训练完成起1年内有效,有效期内可使用模型生成图片,期满后需要重新训练模型。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(modelid = nil) ⇒ SubmitTrainPortraitModelJobRequest
constructor
A new instance of SubmitTrainPortraitModelJobRequest.
Constructor Details
#initialize(modelid = nil) ⇒ SubmitTrainPortraitModelJobRequest
Returns a new instance of SubmitTrainPortraitModelJobRequest.
878 879 880 |
# File 'lib/v20221229/models.rb', line 878 def initialize(modelid=nil) @ModelId = modelid end |
Instance Attribute Details
#ModelId ⇒ Object
每个 AI 写真模型自训练完成起1年内有效,有效期内可使用模型生成图片,期满后需要重新训练模型。
876 877 878 |
# File 'lib/v20221229/models.rb', line 876 def ModelId @ModelId end |
Instance Method Details
#deserialize(params) ⇒ Object
882 883 884 |
# File 'lib/v20221229/models.rb', line 882 def deserialize(params) @ModelId = params['ModelId'] end |