Class: TencentCloud::Essbasic::V20210526::RecipientComponentInfo

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

Overview

参与方填写控件信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ComponentsObject

  • **true** : 是发起方角色
  • **false** : 不是发起方角色

Parameters:

  • Components:

    此角色的填写控件列表



12036
12037
12038
# File 'lib/v20210526/models.rb', line 12036

def Components
  @Components
end

#IsPromoterObject

  • **true** : 是发起方角色
  • **false** : 不是发起方角色

Parameters:

  • Components:

    此角色的填写控件列表



12036
12037
12038
# File 'lib/v20210526/models.rb', line 12036

def IsPromoter
  @IsPromoter
end

#RecipientFillStatusObject

  • **true** : 是发起方角色
  • **false** : 不是发起方角色

Parameters:

  • Components:

    此角色的填写控件列表



12036
12037
12038
# File 'lib/v20210526/models.rb', line 12036

def RecipientFillStatus
  @RecipientFillStatus
end

#RecipientIdObject

  • **true** : 是发起方角色
  • **false** : 不是发起方角色

Parameters:

  • Components:

    此角色的填写控件列表



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