Class: TencentCloud::Essbasic::V20210526::RecipientComponentInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Essbasic::V20210526::RecipientComponentInfo
- Defined in:
- lib/v20210526/models.rb
Overview
参与方填写控件信息
Instance Attribute Summary collapse
-
#Components ⇒ Object
- **true** : 是发起方角色
- **false** : 不是发起方角色
-
#IsPromoter ⇒ Object
- **true** : 是发起方角色
- **false** : 不是发起方角色
-
#RecipientFillStatus ⇒ Object
- **true** : 是发起方角色
- **false** : 不是发起方角色
-
#RecipientId ⇒ Object
- **true** : 是发起方角色
- **false** : 不是发起方角色
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(recipientid = nil, recipientfillstatus = nil, ispromoter = nil, components = nil) ⇒ RecipientComponentInfo
constructor
A new instance of RecipientComponentInfo.
Constructor Details
#initialize(recipientid = nil, recipientfillstatus = nil, ispromoter = nil, components = nil) ⇒ RecipientComponentInfo
Returns a new instance of RecipientComponentInfo.
12038 12039 12040 12041 12042 12043 |
# File 'lib/v20210526/models.rb', line 12038 def initialize(recipientid=nil, recipientfillstatus=nil, ispromoter=nil, components=nil) @RecipientId = recipientid @RecipientFillStatus = recipientfillstatus @IsPromoter = ispromoter @Components = components end |
Instance Attribute Details
#Components ⇒ Object
- **true** : 是发起方角色
- **false** : 不是发起方角色
12036 12037 12038 |
# File 'lib/v20210526/models.rb', line 12036 def Components @Components end |
#IsPromoter ⇒ Object
- **true** : 是发起方角色
- **false** : 不是发起方角色
12036 12037 12038 |
# File 'lib/v20210526/models.rb', line 12036 def IsPromoter @IsPromoter end |
#RecipientFillStatus ⇒ Object
- **true** : 是发起方角色
- **false** : 不是发起方角色
12036 12037 12038 |
# File 'lib/v20210526/models.rb', line 12036 def RecipientFillStatus @RecipientFillStatus end |
#RecipientId ⇒ Object
- **true** : 是发起方角色
- **false** : 不是发起方角色
12036 12037 12038 |
# File 'lib/v20210526/models.rb', line 12036 def RecipientId @RecipientId end |
Instance Method Details
#deserialize(params) ⇒ Object
12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 |
# File 'lib/v20210526/models.rb', line 12045 def deserialize(params) @RecipientId = params['RecipientId'] @RecipientFillStatus = params['RecipientFillStatus'] @IsPromoter = params['IsPromoter'] unless params['Components'].nil? @Components = [] params['Components'].each do |i| filledcomponent_tmp = FilledComponent.new filledcomponent_tmp.deserialize(i) @Components << filledcomponent_tmp end end end |