Class: TencentCloud::Lcic::V20220817::GetWatermarkResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lcic::V20220817::GetWatermarkResponse
- Defined in:
- lib/v20220817/models.rb
Overview
GetWatermark返回参数结构体
Instance Attribute Summary collapse
- #BackgroundPicture ⇒ Object
- #BoardLogo ⇒ Object
- #RequestId ⇒ Object
- #TeacherLogo ⇒ Object
- #Text ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(teacherlogo = nil, boardlogo = nil, backgroundpicture = nil, text = nil, requestid = nil) ⇒ GetWatermarkResponse
constructor
A new instance of GetWatermarkResponse.
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(teacherlogo=nil, boardlogo=nil, backgroundpicture=nil, text=nil, requestid=nil) @TeacherLogo = teacherlogo @BoardLogo = boardlogo @BackgroundPicture = backgroundpicture @Text = text @RequestId = requestid end |
Instance Attribute Details
#BackgroundPicture ⇒ Object
3521 3522 3523 |
# File 'lib/v20220817/models.rb', line 3521 def BackgroundPicture @BackgroundPicture end |
#BoardLogo ⇒ Object
3521 3522 3523 |
# File 'lib/v20220817/models.rb', line 3521 def BoardLogo @BoardLogo end |
#RequestId ⇒ Object
3521 3522 3523 |
# File 'lib/v20220817/models.rb', line 3521 def RequestId @RequestId end |
#TeacherLogo ⇒ Object
3521 3522 3523 |
# File 'lib/v20220817/models.rb', line 3521 def TeacherLogo @TeacherLogo end |
#Text ⇒ Object
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? @TeacherLogo = WatermarkConfig.new @TeacherLogo.deserialize(params['TeacherLogo']) end unless params['BoardLogo'].nil? @BoardLogo = WatermarkConfig.new @BoardLogo.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 |