Class: Passport::Thrift::RemoteThirdpartySyncSetService::Client
- Inherits:
-
Object
- Object
- Passport::Thrift::RemoteThirdpartySyncSetService::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/remote_thirdparty_sync_set_service.rb
Instance Method Summary collapse
- #getSyncSetByType(tpUid, thirdpartyName, syncType) ⇒ Object
- #insertDefalutSyncSet(tpUid, thirdpartyName) ⇒ Object
- #insertOrUpdateToDefaultSet(tpUid, thirdpartyName) ⇒ Object
- #noMoreCommentSyncAlert(uid, noMoreAlert) ⇒ Object
- #noMoreFavoriteSyncAlert(uid, noMoreAlert) ⇒ Object
- #queryBindThirdpartySyncSet(bindThirdpartys) ⇒ Object
- #queryByTpUid(tpUid, thirdpartyName) ⇒ Object
- #recv_getSyncSetByType ⇒ Object
- #recv_insertDefalutSyncSet ⇒ Object
- #recv_insertOrUpdateToDefaultSet ⇒ Object
- #recv_noMoreCommentSyncAlert ⇒ Object
- #recv_noMoreFavoriteSyncAlert ⇒ Object
- #recv_queryBindThirdpartySyncSet ⇒ Object
- #recv_queryByTpUid ⇒ Object
- #recv_updateOrInsertMultiSyncSetColumn ⇒ Object
- #recv_updateOrInsertMultiSyncSetColumnSelective ⇒ Object
- #recv_updateOrInsertSyncSet ⇒ Object
- #send_getSyncSetByType(tpUid, thirdpartyName, syncType) ⇒ Object
- #send_insertDefalutSyncSet(tpUid, thirdpartyName) ⇒ Object
- #send_insertOrUpdateToDefaultSet(tpUid, thirdpartyName) ⇒ Object
- #send_noMoreCommentSyncAlert(uid, noMoreAlert) ⇒ Object
- #send_noMoreFavoriteSyncAlert(uid, noMoreAlert) ⇒ Object
- #send_queryBindThirdpartySyncSet(bindThirdpartys) ⇒ Object
- #send_queryByTpUid(tpUid, thirdpartyName) ⇒ Object
- #send_updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types) ⇒ Object
- #send_updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes) ⇒ Object
- #send_updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked) ⇒ Object
- #updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types) ⇒ Object
- #updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes) ⇒ Object
- #updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked) ⇒ Object
Instance Method Details
#getSyncSetByType(tpUid, thirdpartyName, syncType) ⇒ Object
116 117 118 119 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 116 def getSyncSetByType(tpUid, thirdpartyName, syncType) send_getSyncSetByType(tpUid, thirdpartyName, syncType) return recv_getSyncSetByType() end |
#insertDefalutSyncSet(tpUid, thirdpartyName) ⇒ Object
16 17 18 19 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 16 def insertDefalutSyncSet(tpUid, thirdpartyName) send_insertDefalutSyncSet(tpUid, thirdpartyName) return recv_insertDefalutSyncSet() end |
#insertOrUpdateToDefaultSet(tpUid, thirdpartyName) ⇒ Object
31 32 33 34 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 31 def insertOrUpdateToDefaultSet(tpUid, thirdpartyName) send_insertOrUpdateToDefaultSet(tpUid, thirdpartyName) return recv_insertOrUpdateToDefaultSet() end |
#noMoreCommentSyncAlert(uid, noMoreAlert) ⇒ Object
88 89 90 91 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 88 def noMoreCommentSyncAlert(uid, noMoreAlert) send_noMoreCommentSyncAlert(uid, noMoreAlert) recv_noMoreCommentSyncAlert() end |
#noMoreFavoriteSyncAlert(uid, noMoreAlert) ⇒ Object
102 103 104 105 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 102 def noMoreFavoriteSyncAlert(uid, noMoreAlert) send_noMoreFavoriteSyncAlert(uid, noMoreAlert) recv_noMoreFavoriteSyncAlert() end |
#queryBindThirdpartySyncSet(bindThirdpartys) ⇒ Object
146 147 148 149 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 146 def queryBindThirdpartySyncSet(bindThirdpartys) send_queryBindThirdpartySyncSet(bindThirdpartys) return recv_queryBindThirdpartySyncSet() end |
#queryByTpUid(tpUid, thirdpartyName) ⇒ Object
131 132 133 134 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 131 def queryByTpUid(tpUid, thirdpartyName) send_queryByTpUid(tpUid, thirdpartyName) return recv_queryByTpUid() end |
#recv_getSyncSetByType ⇒ Object
125 126 127 128 129 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 125 def recv_getSyncSetByType() result = (GetSyncSetByType_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSyncSetByType failed: unknown result') end |
#recv_insertDefalutSyncSet ⇒ Object
25 26 27 28 29 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 25 def recv_insertDefalutSyncSet() result = (InsertDefalutSyncSet_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'insertDefalutSyncSet failed: unknown result') end |
#recv_insertOrUpdateToDefaultSet ⇒ Object
40 41 42 43 44 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 40 def recv_insertOrUpdateToDefaultSet() result = (InsertOrUpdateToDefaultSet_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'insertOrUpdateToDefaultSet failed: unknown result') end |
#recv_noMoreCommentSyncAlert ⇒ Object
97 98 99 100 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 97 def recv_noMoreCommentSyncAlert() result = (NoMoreCommentSyncAlert_result) return end |
#recv_noMoreFavoriteSyncAlert ⇒ Object
111 112 113 114 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 111 def recv_noMoreFavoriteSyncAlert() result = (NoMoreFavoriteSyncAlert_result) return end |
#recv_queryBindThirdpartySyncSet ⇒ Object
155 156 157 158 159 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 155 def recv_queryBindThirdpartySyncSet() result = (QueryBindThirdpartySyncSet_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBindThirdpartySyncSet failed: unknown result') end |
#recv_queryByTpUid ⇒ Object
140 141 142 143 144 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 140 def recv_queryByTpUid() result = (QueryByTpUid_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryByTpUid failed: unknown result') end |
#recv_updateOrInsertMultiSyncSetColumn ⇒ Object
69 70 71 72 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 69 def recv_updateOrInsertMultiSyncSetColumn() result = (UpdateOrInsertMultiSyncSetColumn_result) return end |
#recv_updateOrInsertMultiSyncSetColumnSelective ⇒ Object
83 84 85 86 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 83 def recv_updateOrInsertMultiSyncSetColumnSelective() result = (UpdateOrInsertMultiSyncSetColumnSelective_result) return end |
#recv_updateOrInsertSyncSet ⇒ Object
55 56 57 58 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 55 def recv_updateOrInsertSyncSet() result = (UpdateOrInsertSyncSet_result) return end |
#send_getSyncSetByType(tpUid, thirdpartyName, syncType) ⇒ Object
121 122 123 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 121 def send_getSyncSetByType(tpUid, thirdpartyName, syncType) ('getSyncSetByType', GetSyncSetByType_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :syncType => syncType) end |
#send_insertDefalutSyncSet(tpUid, thirdpartyName) ⇒ Object
21 22 23 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 21 def send_insertDefalutSyncSet(tpUid, thirdpartyName) ('insertDefalutSyncSet', InsertDefalutSyncSet_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName) end |
#send_insertOrUpdateToDefaultSet(tpUid, thirdpartyName) ⇒ Object
36 37 38 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 36 def send_insertOrUpdateToDefaultSet(tpUid, thirdpartyName) ('insertOrUpdateToDefaultSet', InsertOrUpdateToDefaultSet_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName) end |
#send_noMoreCommentSyncAlert(uid, noMoreAlert) ⇒ Object
93 94 95 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 93 def send_noMoreCommentSyncAlert(uid, noMoreAlert) ('noMoreCommentSyncAlert', NoMoreCommentSyncAlert_args, :uid => uid, :noMoreAlert => noMoreAlert) end |
#send_noMoreFavoriteSyncAlert(uid, noMoreAlert) ⇒ Object
107 108 109 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 107 def send_noMoreFavoriteSyncAlert(uid, noMoreAlert) ('noMoreFavoriteSyncAlert', NoMoreFavoriteSyncAlert_args, :uid => uid, :noMoreAlert => noMoreAlert) end |
#send_queryBindThirdpartySyncSet(bindThirdpartys) ⇒ Object
151 152 153 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 151 def send_queryBindThirdpartySyncSet(bindThirdpartys) ('queryBindThirdpartySyncSet', QueryBindThirdpartySyncSet_args, :bindThirdpartys => bindThirdpartys) end |
#send_queryByTpUid(tpUid, thirdpartyName) ⇒ Object
136 137 138 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 136 def send_queryByTpUid(tpUid, thirdpartyName) ('queryByTpUid', QueryByTpUid_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName) end |
#send_updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types) ⇒ Object
65 66 67 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 65 def send_updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types) ('updateOrInsertMultiSyncSetColumn', UpdateOrInsertMultiSyncSetColumn_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :types => types) end |
#send_updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes) ⇒ Object
79 80 81 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 79 def send_updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes) ('updateOrInsertMultiSyncSetColumnSelective', UpdateOrInsertMultiSyncSetColumnSelective_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :checkedTypes => checkedTypes, :unCheckedTypes => unCheckedTypes) end |
#send_updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked) ⇒ Object
51 52 53 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 51 def send_updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked) ('updateOrInsertSyncSet', UpdateOrInsertSyncSet_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :syncType => syncType, :isChecked => isChecked) end |
#updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types) ⇒ Object
60 61 62 63 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 60 def updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types) send_updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types) recv_updateOrInsertMultiSyncSetColumn() end |
#updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes) ⇒ Object
74 75 76 77 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 74 def updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes) send_updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes) recv_updateOrInsertMultiSyncSetColumnSelective() end |
#updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked) ⇒ Object
46 47 48 49 |
# File 'lib/remote_thirdparty_sync_set_service.rb', line 46 def updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked) send_updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked) recv_updateOrInsertSyncSet() end |