Interface ContactsClient
-
public interface ContactsClient
An instance of this class provides access to all the operations defined in ContactsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
checkMemberGroups(String orgContactId, ContactsCheckMemberGroupsRequestBody body)
Invoke action checkMemberGroups.Mono<List<String>>
checkMemberGroupsAsync(String orgContactId, ContactsCheckMemberGroupsRequestBody body)
Invoke action checkMemberGroups.com.azure.core.http.rest.Response<List<String>>
checkMemberGroupsWithResponse(String orgContactId, ContactsCheckMemberGroupsRequestBody body, com.azure.core.util.Context context)
Invoke action checkMemberGroups.Mono<com.azure.core.http.rest.Response<List<String>>>
checkMemberGroupsWithResponseAsync(String orgContactId, ContactsCheckMemberGroupsRequestBody body)
Invoke action checkMemberGroups.List<String>
checkMemberObjects(String orgContactId, ContactsCheckMemberObjectsRequestBody body)
Invoke action checkMemberObjects.Mono<List<String>>
checkMemberObjectsAsync(String orgContactId, ContactsCheckMemberObjectsRequestBody body)
Invoke action checkMemberObjects.com.azure.core.http.rest.Response<List<String>>
checkMemberObjectsWithResponse(String orgContactId, ContactsCheckMemberObjectsRequestBody body, com.azure.core.util.Context context)
Invoke action checkMemberObjects.Mono<com.azure.core.http.rest.Response<List<String>>>
checkMemberObjectsWithResponseAsync(String orgContactId, ContactsCheckMemberObjectsRequestBody body)
Invoke action checkMemberObjects.Map<String,Object>
createRefDirectReports(String orgContactId, Map<String,Object> body)
Create new navigation property ref to directReports for contacts.Mono<Map<String,Object>>
createRefDirectReportsAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to directReports for contacts.com.azure.core.http.rest.Response<Map<String,Object>>
createRefDirectReportsWithResponse(String orgContactId, Map<String,Object> body, com.azure.core.util.Context context)
Create new navigation property ref to directReports for contacts.Mono<com.azure.core.http.rest.Response<Map<String,Object>>>
createRefDirectReportsWithResponseAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to directReports for contacts.Map<String,Object>
createRefMemberOf(String orgContactId, Map<String,Object> body)
Create new navigation property ref to memberOf for contacts.Mono<Map<String,Object>>
createRefMemberOfAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to memberOf for contacts.com.azure.core.http.rest.Response<Map<String,Object>>
createRefMemberOfWithResponse(String orgContactId, Map<String,Object> body, com.azure.core.util.Context context)
Create new navigation property ref to memberOf for contacts.Mono<com.azure.core.http.rest.Response<Map<String,Object>>>
createRefMemberOfWithResponseAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to memberOf for contacts.Map<String,Object>
createRefTransitiveMemberOf(String orgContactId, Map<String,Object> body)
Create new navigation property ref to transitiveMemberOf for contacts.Mono<Map<String,Object>>
createRefTransitiveMemberOfAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to transitiveMemberOf for contacts.com.azure.core.http.rest.Response<Map<String,Object>>
createRefTransitiveMemberOfWithResponse(String orgContactId, Map<String,Object> body, com.azure.core.util.Context context)
Create new navigation property ref to transitiveMemberOf for contacts.Mono<com.azure.core.http.rest.Response<Map<String,Object>>>
createRefTransitiveMemberOfWithResponseAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to transitiveMemberOf for contacts.void
deleteRefManager(String orgContactId)
Delete ref of navigation property manager for contacts.Mono<Void>
deleteRefManagerAsync(String orgContactId)
Delete ref of navigation property manager for contacts.Mono<Void>
deleteRefManagerAsync(String orgContactId, String ifMatch)
Delete ref of navigation property manager for contacts.com.azure.core.http.rest.Response<Void>
deleteRefManagerWithResponse(String orgContactId, String ifMatch, com.azure.core.util.Context context)
Delete ref of navigation property manager for contacts.Mono<com.azure.core.http.rest.Response<Void>>
deleteRefManagerWithResponseAsync(String orgContactId, String ifMatch)
Delete ref of navigation property manager for contacts.List<MicrosoftGraphOrgContactInner>
delta()
Invoke function delta.Mono<List<MicrosoftGraphOrgContactInner>>
deltaAsync()
Invoke function delta.com.azure.core.http.rest.Response<List<MicrosoftGraphOrgContactInner>>
deltaWithResponse(com.azure.core.util.Context context)
Invoke function delta.Mono<com.azure.core.http.rest.Response<List<MicrosoftGraphOrgContactInner>>>
deltaWithResponseAsync()
Invoke function delta.List<MicrosoftGraphExtensionPropertyInner>
getAvailableExtensionProperties(ContactsGetAvailableExtensionPropertiesRequestBody body)
Invoke action getAvailableExtensionProperties.Mono<List<MicrosoftGraphExtensionPropertyInner>>
getAvailableExtensionPropertiesAsync(ContactsGetAvailableExtensionPropertiesRequestBody body)
Invoke action getAvailableExtensionProperties.com.azure.core.http.rest.Response<List<MicrosoftGraphExtensionPropertyInner>>
getAvailableExtensionPropertiesWithResponse(ContactsGetAvailableExtensionPropertiesRequestBody body, com.azure.core.util.Context context)
Invoke action getAvailableExtensionProperties.Mono<com.azure.core.http.rest.Response<List<MicrosoftGraphExtensionPropertyInner>>>
getAvailableExtensionPropertiesWithResponseAsync(ContactsGetAvailableExtensionPropertiesRequestBody body)
Invoke action getAvailableExtensionProperties.List<MicrosoftGraphDirectoryObjectInner>
getByIds(ContactsGetByIdsRequestBody body)
Invoke action getByIds.Mono<List<MicrosoftGraphDirectoryObjectInner>>
getByIdsAsync(ContactsGetByIdsRequestBody body)
Invoke action getByIds.com.azure.core.http.rest.Response<List<MicrosoftGraphDirectoryObjectInner>>
getByIdsWithResponse(ContactsGetByIdsRequestBody body, com.azure.core.util.Context context)
Invoke action getByIds.Mono<com.azure.core.http.rest.Response<List<MicrosoftGraphDirectoryObjectInner>>>
getByIdsWithResponseAsync(ContactsGetByIdsRequestBody body)
Invoke action getByIds.MicrosoftGraphDirectoryObjectInner
getManager(String orgContactId)
Get manager from contacts.Mono<MicrosoftGraphDirectoryObjectInner>
getManagerAsync(String orgContactId)
Get manager from contacts.Mono<MicrosoftGraphDirectoryObjectInner>
getManagerAsync(String orgContactId, List<Get1ItemsItem> select, List<String> expand)
Get manager from contacts.com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>
getManagerWithResponse(String orgContactId, List<Get1ItemsItem> select, List<String> expand, com.azure.core.util.Context context)
Get manager from contacts.Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>>
getManagerWithResponseAsync(String orgContactId, List<Get1ItemsItem> select, List<String> expand)
Get manager from contacts.List<String>
getMemberGroups(String orgContactId, ContactsGetMemberGroupsRequestBody body)
Invoke action getMemberGroups.Mono<List<String>>
getMemberGroupsAsync(String orgContactId, ContactsGetMemberGroupsRequestBody body)
Invoke action getMemberGroups.com.azure.core.http.rest.Response<List<String>>
getMemberGroupsWithResponse(String orgContactId, ContactsGetMemberGroupsRequestBody body, com.azure.core.util.Context context)
Invoke action getMemberGroups.Mono<com.azure.core.http.rest.Response<List<String>>>
getMemberGroupsWithResponseAsync(String orgContactId, ContactsGetMemberGroupsRequestBody body)
Invoke action getMemberGroups.List<String>
getMemberObjects(String orgContactId, ContactsGetMemberObjectsRequestBody body)
Invoke action getMemberObjects.Mono<List<String>>
getMemberObjectsAsync(String orgContactId, ContactsGetMemberObjectsRequestBody body)
Invoke action getMemberObjects.com.azure.core.http.rest.Response<List<String>>
getMemberObjectsWithResponse(String orgContactId, ContactsGetMemberObjectsRequestBody body, com.azure.core.util.Context context)
Invoke action getMemberObjects.Mono<com.azure.core.http.rest.Response<List<String>>>
getMemberObjectsWithResponseAsync(String orgContactId, ContactsGetMemberObjectsRequestBody body)
Invoke action getMemberObjects.String
getRefManager(String orgContactId)
Get ref of manager from contacts.Mono<String>
getRefManagerAsync(String orgContactId)
Get ref of manager from contacts.com.azure.core.http.rest.Response<String>
getRefManagerWithResponse(String orgContactId, com.azure.core.util.Context context)
Get ref of manager from contacts.Mono<com.azure.core.http.rest.Response<String>>
getRefManagerWithResponseAsync(String orgContactId)
Get ref of manager from contacts.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>
listDirectReports(String orgContactId)
Get directReports from contacts.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>
listDirectReports(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand, com.azure.core.util.Context context)
Get directReports from contacts.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>
listDirectReportsAsync(String orgContactId)
Get directReports from contacts.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>
listDirectReportsAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand)
Get directReports from contacts.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>
listMemberOf(String orgContactId)
Get memberOf from contacts.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>
listMemberOf(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand, com.azure.core.util.Context context)
Get memberOf from contacts.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>
listMemberOfAsync(String orgContactId)
Get memberOf from contacts.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>
listMemberOfAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand)
Get memberOf from contacts.com.azure.core.http.rest.PagedIterable<String>
listRefDirectReports(String orgContactId)
Get ref of directReports from contacts.com.azure.core.http.rest.PagedIterable<String>
listRefDirectReports(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, com.azure.core.util.Context context)
Get ref of directReports from contacts.com.azure.core.http.rest.PagedFlux<String>
listRefDirectReportsAsync(String orgContactId)
Get ref of directReports from contacts.com.azure.core.http.rest.PagedFlux<String>
listRefDirectReportsAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby)
Get ref of directReports from contacts.com.azure.core.http.rest.PagedIterable<String>
listRefMemberOf(String orgContactId)
Get ref of memberOf from contacts.com.azure.core.http.rest.PagedIterable<String>
listRefMemberOf(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, com.azure.core.util.Context context)
Get ref of memberOf from contacts.com.azure.core.http.rest.PagedFlux<String>
listRefMemberOfAsync(String orgContactId)
Get ref of memberOf from contacts.com.azure.core.http.rest.PagedFlux<String>
listRefMemberOfAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby)
Get ref of memberOf from contacts.com.azure.core.http.rest.PagedIterable<String>
listRefTransitiveMemberOf(String orgContactId)
Get ref of transitiveMemberOf from contacts.com.azure.core.http.rest.PagedIterable<String>
listRefTransitiveMemberOf(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, com.azure.core.util.Context context)
Get ref of transitiveMemberOf from contacts.com.azure.core.http.rest.PagedFlux<String>
listRefTransitiveMemberOfAsync(String orgContactId)
Get ref of transitiveMemberOf from contacts.com.azure.core.http.rest.PagedFlux<String>
listRefTransitiveMemberOfAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby)
Get ref of transitiveMemberOf from contacts.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>
listTransitiveMemberOf(String orgContactId)
Get transitiveMemberOf from contacts.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>
listTransitiveMemberOf(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand, com.azure.core.util.Context context)
Get transitiveMemberOf from contacts.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>
listTransitiveMemberOfAsync(String orgContactId)
Get transitiveMemberOf from contacts.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>
listTransitiveMemberOfAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand)
Get transitiveMemberOf from contacts.MicrosoftGraphDirectoryObjectInner
restore(String orgContactId)
Invoke action restore.Mono<MicrosoftGraphDirectoryObjectInner>
restoreAsync(String orgContactId)
Invoke action restore.com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>
restoreWithResponse(String orgContactId, com.azure.core.util.Context context)
Invoke action restore.Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>>
restoreWithResponseAsync(String orgContactId)
Invoke action restore.void
setRefManager(String orgContactId, Map<String,Object> body)
Update the ref of navigation property manager in contacts.Mono<Void>
setRefManagerAsync(String orgContactId, Map<String,Object> body)
Update the ref of navigation property manager in contacts.com.azure.core.http.rest.Response<Void>
setRefManagerWithResponse(String orgContactId, Map<String,Object> body, com.azure.core.util.Context context)
Update the ref of navigation property manager in contacts.Mono<com.azure.core.http.rest.Response<Void>>
setRefManagerWithResponseAsync(String orgContactId, Map<String,Object> body)
Update the ref of navigation property manager in contacts.void
validateProperties(ContactsValidatePropertiesRequestBody body)
Invoke action validateProperties.Mono<Void>
validatePropertiesAsync(ContactsValidatePropertiesRequestBody body)
Invoke action validateProperties.com.azure.core.http.rest.Response<Void>
validatePropertiesWithResponse(ContactsValidatePropertiesRequestBody body, com.azure.core.util.Context context)
Invoke action validateProperties.Mono<com.azure.core.http.rest.Response<Void>>
validatePropertiesWithResponseAsync(ContactsValidatePropertiesRequestBody body)
Invoke action validateProperties.
-
-
-
Method Detail
-
listDirectReportsAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listDirectReportsAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand)
Get directReports from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- directReports from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listDirectReportsAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listDirectReportsAsync(String orgContactId)
Get directReports from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- directReports from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listDirectReports
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listDirectReports(String orgContactId)
Get directReports from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- directReports from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listDirectReports
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listDirectReports(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand, com.azure.core.util.Context context)
Get directReports from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- directReports from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefDirectReportsAsync
com.azure.core.http.rest.PagedFlux<String> listRefDirectReportsAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby)
Get ref of directReports from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.- Returns:
- ref of directReports from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefDirectReportsAsync
com.azure.core.http.rest.PagedFlux<String> listRefDirectReportsAsync(String orgContactId)
Get ref of directReports from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- ref of directReports from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefDirectReports
com.azure.core.http.rest.PagedIterable<String> listRefDirectReports(String orgContactId)
Get ref of directReports from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- ref of directReports from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefDirectReports
com.azure.core.http.rest.PagedIterable<String> listRefDirectReports(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, com.azure.core.util.Context context)
Get ref of directReports from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.context
- The context to associate with this operation.- Returns:
- ref of directReports from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefDirectReportsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Map<String,Object>>> createRefDirectReportsWithResponseAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to directReports for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefDirectReportsAsync
Mono<Map<String,Object>> createRefDirectReportsAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to directReports for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefDirectReports
Map<String,Object> createRefDirectReports(String orgContactId, Map<String,Object> body)
Create new navigation property ref to directReports for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefDirectReportsWithResponse
com.azure.core.http.rest.Response<Map<String,Object>> createRefDirectReportsWithResponse(String orgContactId, Map<String,Object> body, com.azure.core.util.Context context)
Create new navigation property ref to directReports for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.context
- The context to associate with this operation.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getManagerWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>> getManagerWithResponseAsync(String orgContactId, List<Get1ItemsItem> select, List<String> expand)
Get manager from contacts.- Parameters:
orgContactId
- key: id of orgContact.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- manager from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getManagerAsync
Mono<MicrosoftGraphDirectoryObjectInner> getManagerAsync(String orgContactId, List<Get1ItemsItem> select, List<String> expand)
Get manager from contacts.- Parameters:
orgContactId
- key: id of orgContact.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- manager from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getManagerAsync
Mono<MicrosoftGraphDirectoryObjectInner> getManagerAsync(String orgContactId)
Get manager from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- manager from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getManager
MicrosoftGraphDirectoryObjectInner getManager(String orgContactId)
Get manager from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- manager from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getManagerWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> getManagerWithResponse(String orgContactId, List<Get1ItemsItem> select, List<String> expand, com.azure.core.util.Context context)
Get manager from contacts.- Parameters:
orgContactId
- key: id of orgContact.select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- manager from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getRefManagerWithResponseAsync
Mono<com.azure.core.http.rest.Response<String>> getRefManagerWithResponseAsync(String orgContactId)
Get ref of manager from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- ref of manager from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getRefManagerAsync
Mono<String> getRefManagerAsync(String orgContactId)
Get ref of manager from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- ref of manager from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getRefManager
String getRefManager(String orgContactId)
Get ref of manager from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- ref of manager from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getRefManagerWithResponse
com.azure.core.http.rest.Response<String> getRefManagerWithResponse(String orgContactId, com.azure.core.util.Context context)
Get ref of manager from contacts.- Parameters:
orgContactId
- key: id of orgContact.context
- The context to associate with this operation.- Returns:
- ref of manager from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
setRefManagerWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> setRefManagerWithResponseAsync(String orgContactId, Map<String,Object> body)
Update the ref of navigation property manager in contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref values.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
setRefManagerAsync
Mono<Void> setRefManagerAsync(String orgContactId, Map<String,Object> body)
Update the ref of navigation property manager in contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref values.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
setRefManager
void setRefManager(String orgContactId, Map<String,Object> body)
Update the ref of navigation property manager in contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref values.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
setRefManagerWithResponse
com.azure.core.http.rest.Response<Void> setRefManagerWithResponse(String orgContactId, Map<String,Object> body, com.azure.core.util.Context context)
Update the ref of navigation property manager in contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref values.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteRefManagerWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteRefManagerWithResponseAsync(String orgContactId, String ifMatch)
Delete ref of navigation property manager for contacts.- Parameters:
orgContactId
- key: id of orgContact.ifMatch
- ETag.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteRefManagerAsync
Mono<Void> deleteRefManagerAsync(String orgContactId, String ifMatch)
Delete ref of navigation property manager for contacts.- Parameters:
orgContactId
- key: id of orgContact.ifMatch
- ETag.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteRefManagerAsync
Mono<Void> deleteRefManagerAsync(String orgContactId)
Delete ref of navigation property manager for contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteRefManager
void deleteRefManager(String orgContactId)
Delete ref of navigation property manager for contacts.- Parameters:
orgContactId
- key: id of orgContact.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteRefManagerWithResponse
com.azure.core.http.rest.Response<Void> deleteRefManagerWithResponse(String orgContactId, String ifMatch, com.azure.core.util.Context context)
Delete ref of navigation property manager for contacts.- Parameters:
orgContactId
- key: id of orgContact.ifMatch
- ETag.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listMemberOfAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listMemberOfAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand)
Get memberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- memberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listMemberOfAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listMemberOfAsync(String orgContactId)
Get memberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- memberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listMemberOf
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listMemberOf(String orgContactId)
Get memberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- memberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listMemberOf
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listMemberOf(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand, com.azure.core.util.Context context)
Get memberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- memberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefMemberOfAsync
com.azure.core.http.rest.PagedFlux<String> listRefMemberOfAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby)
Get ref of memberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.- Returns:
- ref of memberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefMemberOfAsync
com.azure.core.http.rest.PagedFlux<String> listRefMemberOfAsync(String orgContactId)
Get ref of memberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- ref of memberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefMemberOf
com.azure.core.http.rest.PagedIterable<String> listRefMemberOf(String orgContactId)
Get ref of memberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- ref of memberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefMemberOf
com.azure.core.http.rest.PagedIterable<String> listRefMemberOf(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, com.azure.core.util.Context context)
Get ref of memberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.context
- The context to associate with this operation.- Returns:
- ref of memberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefMemberOfWithResponseAsync
Mono<com.azure.core.http.rest.Response<Map<String,Object>>> createRefMemberOfWithResponseAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to memberOf for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefMemberOfAsync
Mono<Map<String,Object>> createRefMemberOfAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to memberOf for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefMemberOf
Map<String,Object> createRefMemberOf(String orgContactId, Map<String,Object> body)
Create new navigation property ref to memberOf for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefMemberOfWithResponse
com.azure.core.http.rest.Response<Map<String,Object>> createRefMemberOfWithResponse(String orgContactId, Map<String,Object> body, com.azure.core.util.Context context)
Create new navigation property ref to memberOf for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.context
- The context to associate with this operation.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkMemberGroupsWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<String>>> checkMemberGroupsWithResponseAsync(String orgContactId, ContactsCheckMemberGroupsRequestBody body)
Invoke action checkMemberGroups.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of Post200ApplicationJsonItemsItem.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkMemberGroupsAsync
Mono<List<String>> checkMemberGroupsAsync(String orgContactId, ContactsCheckMemberGroupsRequestBody body)
Invoke action checkMemberGroups.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of Post200ApplicationJsonItemsItem.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkMemberGroups
List<String> checkMemberGroups(String orgContactId, ContactsCheckMemberGroupsRequestBody body)
Invoke action checkMemberGroups.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of Post200ApplicationJsonItemsItem.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkMemberGroupsWithResponse
com.azure.core.http.rest.Response<List<String>> checkMemberGroupsWithResponse(String orgContactId, ContactsCheckMemberGroupsRequestBody body, com.azure.core.util.Context context)
Invoke action checkMemberGroups.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.context
- The context to associate with this operation.- Returns:
- array of Post200ApplicationJsonItemsItem.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkMemberObjectsWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<String>>> checkMemberObjectsWithResponseAsync(String orgContactId, ContactsCheckMemberObjectsRequestBody body)
Invoke action checkMemberObjects.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkMemberObjectsAsync
Mono<List<String>> checkMemberObjectsAsync(String orgContactId, ContactsCheckMemberObjectsRequestBody body)
Invoke action checkMemberObjects.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkMemberObjects
List<String> checkMemberObjects(String orgContactId, ContactsCheckMemberObjectsRequestBody body)
Invoke action checkMemberObjects.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkMemberObjectsWithResponse
com.azure.core.http.rest.Response<List<String>> checkMemberObjectsWithResponse(String orgContactId, ContactsCheckMemberObjectsRequestBody body, com.azure.core.util.Context context)
Invoke action checkMemberObjects.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.context
- The context to associate with this operation.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getMemberGroupsWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<String>>> getMemberGroupsWithResponseAsync(String orgContactId, ContactsGetMemberGroupsRequestBody body)
Invoke action getMemberGroups.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getMemberGroupsAsync
Mono<List<String>> getMemberGroupsAsync(String orgContactId, ContactsGetMemberGroupsRequestBody body)
Invoke action getMemberGroups.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getMemberGroups
List<String> getMemberGroups(String orgContactId, ContactsGetMemberGroupsRequestBody body)
Invoke action getMemberGroups.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getMemberGroupsWithResponse
com.azure.core.http.rest.Response<List<String>> getMemberGroupsWithResponse(String orgContactId, ContactsGetMemberGroupsRequestBody body, com.azure.core.util.Context context)
Invoke action getMemberGroups.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.context
- The context to associate with this operation.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getMemberObjectsWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<String>>> getMemberObjectsWithResponseAsync(String orgContactId, ContactsGetMemberObjectsRequestBody body)
Invoke action getMemberObjects.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getMemberObjectsAsync
Mono<List<String>> getMemberObjectsAsync(String orgContactId, ContactsGetMemberObjectsRequestBody body)
Invoke action getMemberObjects.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getMemberObjects
List<String> getMemberObjects(String orgContactId, ContactsGetMemberObjectsRequestBody body)
Invoke action getMemberObjects.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getMemberObjectsWithResponse
com.azure.core.http.rest.Response<List<String>> getMemberObjectsWithResponse(String orgContactId, ContactsGetMemberObjectsRequestBody body, com.azure.core.util.Context context)
Invoke action getMemberObjects.- Parameters:
orgContactId
- key: id of orgContact.body
- Action parameters.context
- The context to associate with this operation.- Returns:
- array of String.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
restoreWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>> restoreWithResponseAsync(String orgContactId)
Invoke action restore.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- represents an Azure Active Directory object.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
restoreAsync
Mono<MicrosoftGraphDirectoryObjectInner> restoreAsync(String orgContactId)
Invoke action restore.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- represents an Azure Active Directory object.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
restore
MicrosoftGraphDirectoryObjectInner restore(String orgContactId)
Invoke action restore.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- represents an Azure Active Directory object.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
restoreWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> restoreWithResponse(String orgContactId, com.azure.core.util.Context context)
Invoke action restore.- Parameters:
orgContactId
- key: id of orgContact.context
- The context to associate with this operation.- Returns:
- represents an Azure Active Directory object.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listTransitiveMemberOfAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listTransitiveMemberOfAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand)
Get transitiveMemberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- transitiveMemberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listTransitiveMemberOfAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listTransitiveMemberOfAsync(String orgContactId)
Get transitiveMemberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- transitiveMemberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listTransitiveMemberOf
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listTransitiveMemberOf(String orgContactId)
Get transitiveMemberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- transitiveMemberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listTransitiveMemberOf
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listTransitiveMemberOf(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, List<ContactsSelect> select, List<String> expand, com.azure.core.util.Context context)
Get transitiveMemberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- transitiveMemberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefTransitiveMemberOfAsync
com.azure.core.http.rest.PagedFlux<String> listRefTransitiveMemberOfAsync(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby)
Get ref of transitiveMemberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.- Returns:
- ref of transitiveMemberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefTransitiveMemberOfAsync
com.azure.core.http.rest.PagedFlux<String> listRefTransitiveMemberOfAsync(String orgContactId)
Get ref of transitiveMemberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- ref of transitiveMemberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefTransitiveMemberOf
com.azure.core.http.rest.PagedIterable<String> listRefTransitiveMemberOf(String orgContactId)
Get ref of transitiveMemberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- ref of transitiveMemberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listRefTransitiveMemberOf
com.azure.core.http.rest.PagedIterable<String> listRefTransitiveMemberOf(String orgContactId, Integer top, Integer skip, String search, String filter, Boolean count, List<ContactsOrderby> orderby, com.azure.core.util.Context context)
Get ref of transitiveMemberOf from contacts.- Parameters:
orgContactId
- key: id of orgContact.top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.context
- The context to associate with this operation.- Returns:
- ref of transitiveMemberOf from contacts.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefTransitiveMemberOfWithResponseAsync
Mono<com.azure.core.http.rest.Response<Map<String,Object>>> createRefTransitiveMemberOfWithResponseAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to transitiveMemberOf for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefTransitiveMemberOfAsync
Mono<Map<String,Object>> createRefTransitiveMemberOfAsync(String orgContactId, Map<String,Object> body)
Create new navigation property ref to transitiveMemberOf for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefTransitiveMemberOf
Map<String,Object> createRefTransitiveMemberOf(String orgContactId, Map<String,Object> body)
Create new navigation property ref to transitiveMemberOf for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createRefTransitiveMemberOfWithResponse
com.azure.core.http.rest.Response<Map<String,Object>> createRefTransitiveMemberOfWithResponse(String orgContactId, Map<String,Object> body, com.azure.core.util.Context context)
Create new navigation property ref to transitiveMemberOf for contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New navigation property ref value.context
- The context to associate with this operation.- Returns:
- dictionary of <any>.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deltaWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<MicrosoftGraphOrgContactInner>>> deltaWithResponseAsync()
Invoke function delta.- Returns:
- array of microsoft.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deltaAsync
Mono<List<MicrosoftGraphOrgContactInner>> deltaAsync()
Invoke function delta.- Returns:
- array of microsoft.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delta
List<MicrosoftGraphOrgContactInner> delta()
Invoke function delta.- Returns:
- array of microsoft.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deltaWithResponse
com.azure.core.http.rest.Response<List<MicrosoftGraphOrgContactInner>> deltaWithResponse(com.azure.core.util.Context context)
Invoke function delta.- Parameters:
context
- The context to associate with this operation.- Returns:
- array of microsoft.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getAvailableExtensionPropertiesWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<MicrosoftGraphExtensionPropertyInner>>> getAvailableExtensionPropertiesWithResponseAsync(ContactsGetAvailableExtensionPropertiesRequestBody body)
Invoke action getAvailableExtensionProperties.- Parameters:
body
- Action parameters.- Returns:
- array of microsoft.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getAvailableExtensionPropertiesAsync
Mono<List<MicrosoftGraphExtensionPropertyInner>> getAvailableExtensionPropertiesAsync(ContactsGetAvailableExtensionPropertiesRequestBody body)
Invoke action getAvailableExtensionProperties.- Parameters:
body
- Action parameters.- Returns:
- array of microsoft.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getAvailableExtensionProperties
List<MicrosoftGraphExtensionPropertyInner> getAvailableExtensionProperties(ContactsGetAvailableExtensionPropertiesRequestBody body)
Invoke action getAvailableExtensionProperties.- Parameters:
body
- Action parameters.- Returns:
- array of microsoft.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getAvailableExtensionPropertiesWithResponse
com.azure.core.http.rest.Response<List<MicrosoftGraphExtensionPropertyInner>> getAvailableExtensionPropertiesWithResponse(ContactsGetAvailableExtensionPropertiesRequestBody body, com.azure.core.util.Context context)
Invoke action getAvailableExtensionProperties.- Parameters:
body
- Action parameters.context
- The context to associate with this operation.- Returns:
- array of microsoft.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByIdsWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<MicrosoftGraphDirectoryObjectInner>>> getByIdsWithResponseAsync(ContactsGetByIdsRequestBody body)
Invoke action getByIds.- Parameters:
body
- Action parameters.- Returns:
- array of microsoft.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByIdsAsync
Mono<List<MicrosoftGraphDirectoryObjectInner>> getByIdsAsync(ContactsGetByIdsRequestBody body)
Invoke action getByIds.- Parameters:
body
- Action parameters.- Returns:
- array of microsoft.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByIds
List<MicrosoftGraphDirectoryObjectInner> getByIds(ContactsGetByIdsRequestBody body)
Invoke action getByIds.- Parameters:
body
- Action parameters.- Returns:
- array of microsoft.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByIdsWithResponse
com.azure.core.http.rest.Response<List<MicrosoftGraphDirectoryObjectInner>> getByIdsWithResponse(ContactsGetByIdsRequestBody body, com.azure.core.util.Context context)
Invoke action getByIds.- Parameters:
body
- Action parameters.context
- The context to associate with this operation.- Returns:
- array of microsoft.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
validatePropertiesWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> validatePropertiesWithResponseAsync(ContactsValidatePropertiesRequestBody body)
Invoke action validateProperties.- Parameters:
body
- Action parameters.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
validatePropertiesAsync
Mono<Void> validatePropertiesAsync(ContactsValidatePropertiesRequestBody body)
Invoke action validateProperties.- Parameters:
body
- Action parameters.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
validateProperties
void validateProperties(ContactsValidatePropertiesRequestBody body)
Invoke action validateProperties.- Parameters:
body
- Action parameters.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
validatePropertiesWithResponse
com.azure.core.http.rest.Response<Void> validatePropertiesWithResponse(ContactsValidatePropertiesRequestBody body, com.azure.core.util.Context context)
Invoke action validateProperties.- Parameters:
body
- Action parameters.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-