Class: TencentCloud::Lcic::V20220817::GetWatermarkResponse

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

Overview

GetWatermark返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(teacherlogo = nil, boardlogo = nil, backgroundpicture = nil, text = nil, requestid = nil) ⇒ GetWatermarkResponse

Returns a new instance of GetWatermarkResponse.



3523
3524
3525
3526
3527
3528
3529
# File 'lib/v20220817/models.rb', line 3523

def initialize(=nil, =nil, backgroundpicture=nil, text=nil, requestid=nil)
   = 
   = 
  @BackgroundPicture = backgroundpicture
  @Text = text
  @RequestId = requestid
end

Instance Attribute Details

#BackgroundPictureObject

Parameters:

  • TeacherLogo:

    老师视频区域的水印参数配置

  • BoardLogo:

    白板区域的水印参数配置

  • BackgroundPicture:

    背景图片配置

  • Text:

    文字水印配置

  • RequestId:

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



3521
3522
3523
# File 'lib/v20220817/models.rb', line 3521

def BackgroundPicture
  @BackgroundPicture
end

#BoardLogoObject

Parameters:

  • TeacherLogo:

    老师视频区域的水印参数配置

  • BoardLogo:

    白板区域的水印参数配置

  • BackgroundPicture:

    背景图片配置

  • Text:

    文字水印配置

  • RequestId:

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



3521
3522
3523
# File 'lib/v20220817/models.rb', line 3521

def 
  
end

#RequestIdObject

Parameters:

  • TeacherLogo:

    老师视频区域的水印参数配置

  • BoardLogo:

    白板区域的水印参数配置

  • BackgroundPicture:

    背景图片配置

  • Text:

    文字水印配置

  • RequestId:

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



3521
3522
3523
# File 'lib/v20220817/models.rb', line 3521

def RequestId
  @RequestId
end

#TeacherLogoObject

Parameters:

  • TeacherLogo:

    老师视频区域的水印参数配置

  • BoardLogo:

    白板区域的水印参数配置

  • BackgroundPicture:

    背景图片配置

  • Text:

    文字水印配置

  • RequestId:

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



3521
3522
3523
# File 'lib/v20220817/models.rb', line 3521

def 
  
end

#TextObject

Parameters:

  • TeacherLogo:

    老师视频区域的水印参数配置

  • BoardLogo:

    白板区域的水印参数配置

  • BackgroundPicture:

    背景图片配置

  • Text:

    文字水印配置

  • RequestId:

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



3521
3522
3523
# File 'lib/v20220817/models.rb', line 3521

def Text
  @Text
end

Instance Method Details

#deserialize(params) ⇒ Object



3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
# File 'lib/v20220817/models.rb', line 3531

def deserialize(params)
  unless params['TeacherLogo'].nil?
     = WatermarkConfig.new
    .deserialize(params['TeacherLogo'])
  end
  unless params['BoardLogo'].nil?
     = WatermarkConfig.new
    .deserialize(params['BoardLogo'])
  end
  unless params['BackgroundPicture'].nil?
    @BackgroundPicture = BackgroundPictureConfig.new
    @BackgroundPicture.deserialize(params['BackgroundPicture'])
  end
  unless params['Text'].nil?
    @Text = TextMarkConfig.new
    @Text.deserialize(params['Text'])
  end
  @RequestId = params['RequestId']
end