Class: Passport::Thrift::RemoteThirdpartySyncSetService::Client

Inherits:
Object
  • Object
show all
Includes:
Thrift::Client
Defined in:
lib/remote_thirdparty_sync_set_service.rb

Instance Method Summary collapse

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_getSyncSetByTypeObject

Raises:

  • (::Thrift::ApplicationException)


125
126
127
128
129
# File 'lib/remote_thirdparty_sync_set_service.rb', line 125

def recv_getSyncSetByType()
  result = receive_message(GetSyncSetByType_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSyncSetByType failed: unknown result')
end

#recv_insertDefalutSyncSetObject

Raises:

  • (::Thrift::ApplicationException)


25
26
27
28
29
# File 'lib/remote_thirdparty_sync_set_service.rb', line 25

def recv_insertDefalutSyncSet()
  result = receive_message(InsertDefalutSyncSet_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'insertDefalutSyncSet failed: unknown result')
end

#recv_insertOrUpdateToDefaultSetObject

Raises:

  • (::Thrift::ApplicationException)


40
41
42
43
44
# File 'lib/remote_thirdparty_sync_set_service.rb', line 40

def recv_insertOrUpdateToDefaultSet()
  result = receive_message(InsertOrUpdateToDefaultSet_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'insertOrUpdateToDefaultSet failed: unknown result')
end

#recv_noMoreCommentSyncAlertObject



97
98
99
100
# File 'lib/remote_thirdparty_sync_set_service.rb', line 97

def recv_noMoreCommentSyncAlert()
  result = receive_message(NoMoreCommentSyncAlert_result)
  return
end

#recv_noMoreFavoriteSyncAlertObject



111
112
113
114
# File 'lib/remote_thirdparty_sync_set_service.rb', line 111

def recv_noMoreFavoriteSyncAlert()
  result = receive_message(NoMoreFavoriteSyncAlert_result)
  return
end

#recv_queryBindThirdpartySyncSetObject

Raises:

  • (::Thrift::ApplicationException)


155
156
157
158
159
# File 'lib/remote_thirdparty_sync_set_service.rb', line 155

def recv_queryBindThirdpartySyncSet()
  result = receive_message(QueryBindThirdpartySyncSet_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBindThirdpartySyncSet failed: unknown result')
end

#recv_queryByTpUidObject

Raises:

  • (::Thrift::ApplicationException)


140
141
142
143
144
# File 'lib/remote_thirdparty_sync_set_service.rb', line 140

def recv_queryByTpUid()
  result = receive_message(QueryByTpUid_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryByTpUid failed: unknown result')
end

#recv_updateOrInsertMultiSyncSetColumnObject



69
70
71
72
# File 'lib/remote_thirdparty_sync_set_service.rb', line 69

def recv_updateOrInsertMultiSyncSetColumn()
  result = receive_message(UpdateOrInsertMultiSyncSetColumn_result)
  return
end

#recv_updateOrInsertMultiSyncSetColumnSelectiveObject



83
84
85
86
# File 'lib/remote_thirdparty_sync_set_service.rb', line 83

def recv_updateOrInsertMultiSyncSetColumnSelective()
  result = receive_message(UpdateOrInsertMultiSyncSetColumnSelective_result)
  return
end

#recv_updateOrInsertSyncSetObject



55
56
57
58
# File 'lib/remote_thirdparty_sync_set_service.rb', line 55

def recv_updateOrInsertSyncSet()
  result = receive_message(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)
  send_message('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)
  send_message('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)
  send_message('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)
  send_message('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)
  send_message('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)
  send_message('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)
  send_message('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)
  send_message('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)
  send_message('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)
  send_message('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