public final class WorkWeChatApiClient extends Object
| Modifier and Type | Field and Description |
|---|---|
private AgentDetails |
agentDetails |
private retrofit2.Retrofit |
retrofit |
| Constructor and Description |
|---|
WorkWeChatApiClient(AgentDetails agentDetails,
retrofit2.Retrofit retrofit)
Instantiates a new Work we chat api client.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) AgentDetails |
agentDetails()
Gets agent details.
|
static <T extends TokenApi> |
init(T tokenApi,
okhttp3.ConnectionPool connectionPool,
okhttp3.logging.HttpLoggingInterceptor.Level level)
Instantiates a new Work we chat api client.
|
(package private) retrofit2.Retrofit |
retrofit()
Retrofit retrofit.
|
private final AgentDetails agentDetails
private final retrofit2.Retrofit retrofit
WorkWeChatApiClient(AgentDetails agentDetails, retrofit2.Retrofit retrofit)
agentDetails - the agent detailsretrofit - the retrofitpublic static <T extends TokenApi> WorkWeChatApiClient init(T tokenApi, okhttp3.ConnectionPool connectionPool, okhttp3.logging.HttpLoggingInterceptor.Level level)
T - the type parametertokenApi - the token apiconnectionPool - the connection poollevel - the levelAgentDetails agentDetails()
retrofit2.Retrofit retrofit()
Copyright © 2023. All rights reserved.