public class GraphServiceClient extends BaseGraphServiceClient implements IGraphServiceClient
| Modifier and Type | Class and Description |
|---|---|
static class |
GraphServiceClient.Builder |
static class |
GraphServiceClient.Builder2
The builder for this GraphServiceClient
|
DEFAULT_GRAPH_ENDPOINT| Modifier | Constructor and Description |
|---|---|
protected |
GraphServiceClient()
Restricted constructor
|
| Modifier and Type | Method and Description |
|---|---|
static GraphServiceClient.Builder |
builder() |
CustomRequestBuilder<com.google.gson.JsonObject> |
customRequest(java.lang.String url)
Send a custom request to Graph
|
<T> CustomRequestBuilder<T> |
customRequest(java.lang.String url,
java.lang.Class<T> responseType)
Send a custom request to Graph
|
static IGraphServiceClient |
fromConfig(IClientConfig config)
Returns a Graph service client using the given configuration.
|
appCatalogs, auditLogs, contracts, contracts, dataPolicyOperations, dataPolicyOperations, deviceAppManagement, deviceManagement, devices, devices, directory, directoryObjects, directoryObjects, directoryRoles, directoryRoles, directoryRoleTemplates, directoryRoleTemplates, domainDnsRecords, domainDnsRecords, domains, domains, drive, drives, drives, education, getServiceRoot, groupLifecyclePolicies, groupLifecyclePolicies, groups, groups, groupSettings, groupSettings, groupSettingTemplates, groupSettingTemplates, identityProviders, identityProviders, invitations, invitations, me, organization, organization, planner, reports, schemaExtensions, schemaExtensions, Security, setServiceRoot, shares, shares, sites, sites, subscribedSkus, subscribedSkus, subscriptions, subscriptions, teams, teams, users, users, workbooks, workbooksgetAuthenticationProvider, getExecutors, getHttpProvider, getLogger, getSerializer, setAuthenticationProvider, setExecutors, setHttpProvider, setLogger, setSerializer, shutdown, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappCatalogs, auditLogs, contracts, contracts, dataPolicyOperations, dataPolicyOperations, deviceAppManagement, deviceManagement, devices, devices, directory, directoryObjects, directoryObjects, directoryRoles, directoryRoles, directoryRoleTemplates, directoryRoleTemplates, domainDnsRecords, domainDnsRecords, domains, domains, drive, drives, drives, education, groupLifecyclePolicies, groupLifecyclePolicies, groups, groups, groupSettings, groupSettings, groupSettingTemplates, groupSettingTemplates, identityProviders, identityProviders, invitations, invitations, me, organization, organization, planner, reports, schemaExtensions, schemaExtensions, Security, shares, shares, sites, sites, subscribedSkus, subscribedSkus, subscriptions, subscriptions, teams, teams, users, users, workbooks, workbooksgetAuthenticationProvider, getExecutors, getHttpProvider, getLogger, getSerializer, getServiceRoot, setServiceRoot, shutdown, validatepublic <T> CustomRequestBuilder<T> customRequest(java.lang.String url, java.lang.Class<T> responseType)
customRequest in interface IGraphServiceClienturl - the full URL to make a request withresponseType - the response class to deserialize the response intopublic CustomRequestBuilder<com.google.gson.JsonObject> customRequest(java.lang.String url)
customRequest in interface IGraphServiceClienturl - the full URL to make a request withpublic static IGraphServiceClient fromConfig(IClientConfig config)
config - the client configurationpublic static GraphServiceClient.Builder builder()