Class: TencentCloud::Essbasic::V20210526::FormField
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Essbasic::V20210526::FormField
- Defined in:
- lib/v20210526/models.rb
Overview
style String 为字体风格设置 风格支持: font : 目前支持 黑体、宋体; fontSize: 6-72; color:000000-FFFFFF 字符串形如: "#FFFFFF" 或者 "0xFFFFFF"; bold : 是否加粗, true : 加粗 false: 不加粗; align: 对其方式, 支持 LEFT / RIGHT / CENTER
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(componentvalue = nil, componentid = nil, componentname = nil, lockcomponentvalue = nil) ⇒ FormField
constructor
A new instance of FormField.
Constructor Details
#initialize(componentvalue = nil, componentid = nil, componentname = nil, lockcomponentvalue = nil) ⇒ FormField
Returns a new instance of FormField.
10546 10547 10548 10549 10550 10551 |
# File 'lib/v20210526/models.rb', line 10546 def initialize(componentvalue=nil, componentid=nil, componentname=nil, lockcomponentvalue=nil) @ComponentValue = componentvalue @ComponentId = componentid @ComponentName = componentname @LockComponentValue = lockcomponentvalue end |
Instance Attribute Details
#ComponentId ⇒ Object
10544 10545 10546 |
# File 'lib/v20210526/models.rb', line 10544 def ComponentId @ComponentId end |
#ComponentName ⇒ Object
10544 10545 10546 |
# File 'lib/v20210526/models.rb', line 10544 def ComponentName @ComponentName end |
#ComponentValue ⇒ Object
10544 10545 10546 |
# File 'lib/v20210526/models.rb', line 10544 def ComponentValue @ComponentValue end |
#LockComponentValue ⇒ Object
10544 10545 10546 |
# File 'lib/v20210526/models.rb', line 10544 def LockComponentValue @LockComponentValue end |
Instance Method Details
#deserialize(params) ⇒ Object
10553 10554 10555 10556 10557 10558 |
# File 'lib/v20210526/models.rb', line 10553 def deserialize(params) @ComponentValue = params['ComponentValue'] @ComponentId = params['ComponentId'] @ComponentName = params['ComponentName'] @LockComponentValue = params['LockComponentValue'] end |