public class CorpGroupApi extends Object
| Modifier and Type | Field and Description |
|---|---|
private okhttp3.ConnectionPool |
connectionPool |
private okhttp3.logging.HttpLoggingInterceptor.Level |
level |
private WeComTokenCacheable |
weComTokenCacheable |
| Constructor and Description |
|---|
CorpGroupApi(WeComTokenCacheable weComTokenCacheable,
okhttp3.ConnectionPool connectionPool,
okhttp3.logging.HttpLoggingInterceptor.Level level)
Instantiates a new Corp group api.
|
| Modifier and Type | Method and Description |
|---|---|
ChainRuleApi |
chainRuleApi(DefaultAgent corpChainAgent)
上下游规则
|
DownStreamApi |
downStreamApi(DownStreamDetails downStreamAgent)
下游API
|
UpStreamApi |
upStreamApi(DefaultAgent upStreamAgent)
上游API
|
private final WeComTokenCacheable weComTokenCacheable
private final okhttp3.ConnectionPool connectionPool
private final okhttp3.logging.HttpLoggingInterceptor.Level level
CorpGroupApi(WeComTokenCacheable weComTokenCacheable, okhttp3.ConnectionPool connectionPool, okhttp3.logging.HttpLoggingInterceptor.Level level)
weComTokenCacheable - the we com token cacheableconnectionPool - the connection poollevel - the levelpublic UpStreamApi upStreamApi(DefaultAgent upStreamAgent)
上下游系统应用或上游应用可调用,具体看接口注释
upStreamAgent - the up stream agentpublic DownStreamApi downStreamApi(DownStreamDetails downStreamAgent)
downStreamAgent - the down stream agentpublic ChainRuleApi chainRuleApi(DefaultAgent corpChainAgent)
仅上下游应用可调用,仅适用于上下游中创建空间的主企业调用。
corpChainAgent - the corp chain agentCopyright © 2024. All rights reserved.