Class: TencentCloud::Ckafka::V20190819::EsParam
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::EsParam
- Defined in:
- lib/v20190819/models.rb
Overview
Es类型入参
Instance Attribute Summary collapse
- #ContentKey ⇒ Object
- #DatabasePrimaryKey ⇒ Object
- #DateField ⇒ Object
- #DateFormat ⇒ Object
- #DocumentIdField ⇒ Object
- #DropCls ⇒ Object
- #DropDlq ⇒ Object
- #DropInvalidJsonMessage ⇒ Object
- #DropInvalidMessage ⇒ Object
- #Index ⇒ Object
- #IndexType ⇒ Object
- #Password ⇒ Object
- #Port ⇒ Object
- #RecordMappingList ⇒ Object
- #RecordMappingMode ⇒ Object
- #Resource ⇒ Object
- #SelfBuilt ⇒ Object
- #ServiceVip ⇒ Object
- #UniqVpcId ⇒ Object
- #UserName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resource = nil, port = nil, username = nil, password = nil, selfbuilt = nil, servicevip = nil, uniqvpcid = nil, dropinvalidmessage = nil, index = nil, dateformat = nil, contentkey = nil, dropinvalidjsonmessage = nil, documentidfield = nil, indextype = nil, dropcls = nil, databaseprimarykey = nil, dropdlq = nil, recordmappinglist = nil, datefield = nil, recordmappingmode = nil) ⇒ EsParam
constructor
A new instance of EsParam.
Constructor Details
#initialize(resource = nil, port = nil, username = nil, password = nil, selfbuilt = nil, servicevip = nil, uniqvpcid = nil, dropinvalidmessage = nil, index = nil, dateformat = nil, contentkey = nil, dropinvalidjsonmessage = nil, documentidfield = nil, indextype = nil, dropcls = nil, databaseprimarykey = nil, dropdlq = nil, recordmappinglist = nil, datefield = nil, recordmappingmode = nil) ⇒ EsParam
Returns a new instance of EsParam.
6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 |
# File 'lib/v20190819/models.rb', line 6717 def initialize(resource=nil, port=nil, username=nil, password=nil, selfbuilt=nil, servicevip=nil, uniqvpcid=nil, =nil, index=nil, dateformat=nil, contentkey=nil, =nil, documentidfield=nil, indextype=nil, dropcls=nil, databaseprimarykey=nil, dropdlq=nil, recordmappinglist=nil, datefield=nil, recordmappingmode=nil) @Resource = resource @Port = port @UserName = username @Password = password @SelfBuilt = selfbuilt @ServiceVip = servicevip @UniqVpcId = uniqvpcid @DropInvalidMessage = @Index = index @DateFormat = dateformat @ContentKey = contentkey @DropInvalidJsonMessage = @DocumentIdField = documentidfield @IndexType = indextype @DropCls = dropcls @DatabasePrimaryKey = databaseprimarykey @DropDlq = dropdlq @RecordMappingList = recordmappinglist @DateField = datefield @RecordMappingMode = recordmappingmode end |
Instance Attribute Details
#ContentKey ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def ContentKey @ContentKey end |
#DatabasePrimaryKey ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def DatabasePrimaryKey @DatabasePrimaryKey end |
#DateField ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def DateField @DateField end |
#DateFormat ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def DateFormat @DateFormat end |
#DocumentIdField ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def DocumentIdField @DocumentIdField end |
#DropCls ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def DropCls @DropCls end |
#DropDlq ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def DropDlq @DropDlq end |
#DropInvalidJsonMessage ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def DropInvalidJsonMessage @DropInvalidJsonMessage end |
#DropInvalidMessage ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def DropInvalidMessage @DropInvalidMessage end |
#Index ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def Index @Index end |
#IndexType ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def IndexType @IndexType end |
#Password ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def Password @Password end |
#Port ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def Port @Port end |
#RecordMappingList ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def RecordMappingList @RecordMappingList end |
#RecordMappingMode ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def RecordMappingMode @RecordMappingMode end |
#Resource ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def Resource @Resource end |
#SelfBuilt ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def SelfBuilt @SelfBuilt end |
#ServiceVip ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def ServiceVip @ServiceVip end |
#UniqVpcId ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def UniqVpcId @UniqVpcId end |
#UserName ⇒ Object
6715 6716 6717 |
# File 'lib/v20190819/models.rb', line 6715 def UserName @UserName end |
Instance Method Details
#deserialize(params) ⇒ Object
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 |
# File 'lib/v20190819/models.rb', line 6740 def deserialize(params) @Resource = params['Resource'] @Port = params['Port'] @UserName = params['UserName'] @Password = params['Password'] @SelfBuilt = params['SelfBuilt'] @ServiceVip = params['ServiceVip'] @UniqVpcId = params['UniqVpcId'] @DropInvalidMessage = params['DropInvalidMessage'] @Index = params['Index'] @DateFormat = params['DateFormat'] @ContentKey = params['ContentKey'] @DropInvalidJsonMessage = params['DropInvalidJsonMessage'] @DocumentIdField = params['DocumentIdField'] @IndexType = params['IndexType'] unless params['DropCls'].nil? @DropCls = DropCls.new @DropCls.deserialize(params['DropCls']) end @DatabasePrimaryKey = params['DatabasePrimaryKey'] unless params['DropDlq'].nil? @DropDlq = FailureParam.new @DropDlq.deserialize(params['DropDlq']) end unless params['RecordMappingList'].nil? @RecordMappingList = [] params['RecordMappingList'].each do |i| esrecordmapping_tmp = EsRecordMapping.new esrecordmapping_tmp.deserialize(i) @RecordMappingList << esrecordmapping_tmp end end @DateField = params['DateField'] @RecordMappingMode = params['RecordMappingMode'] end |