Class: TencentCloud::Aiart::V20221229::SubmitTextToImageProJobResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20221229/models.rb

Overview

SubmitTextToImageProJob返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(jobid = nil, requestid = nil) ⇒ SubmitTextToImageProJobResponse

Returns a new instance of SubmitTextToImageProJobResponse.



859
860
861
862
# File 'lib/v20221229/models.rb', line 859

def initialize(jobid=nil, requestid=nil)
  @JobId = jobid
  @RequestId = requestid
end

Instance Attribute Details

#JobIdObject

Parameters:

  • JobId:

    任务 ID。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



857
858
859
# File 'lib/v20221229/models.rb', line 857

def JobId
  @JobId
end

#RequestIdObject

Parameters:

  • JobId:

    任务 ID。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



857
858
859
# File 'lib/v20221229/models.rb', line 857

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



864
865
866
867
# File 'lib/v20221229/models.rb', line 864

def deserialize(params)
  @JobId = params['JobId']
  @RequestId = params['RequestId']
end