Interface ContactsOrgContactsClient
-
public interface ContactsOrgContactsClient
An instance of this class provides access to all the operations defined in ContactsOrgContactsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MicrosoftGraphOrgContactInner
createOrgContact(MicrosoftGraphOrgContactInner body)
Add new entity to contacts.Mono<MicrosoftGraphOrgContactInner>
createOrgContactAsync(MicrosoftGraphOrgContactInner body)
Add new entity to contacts.com.azure.core.http.rest.Response<MicrosoftGraphOrgContactInner>
createOrgContactWithResponse(MicrosoftGraphOrgContactInner body, com.azure.core.util.Context context)
Add new entity to contacts.Mono<com.azure.core.http.rest.Response<MicrosoftGraphOrgContactInner>>
createOrgContactWithResponseAsync(MicrosoftGraphOrgContactInner body)
Add new entity to contacts.void
deleteOrgContact(String orgContactId)
Delete entity from contacts.Mono<Void>
deleteOrgContactAsync(String orgContactId)
Delete entity from contacts.Mono<Void>
deleteOrgContactAsync(String orgContactId, String ifMatch)
Delete entity from contacts.com.azure.core.http.rest.Response<Void>
deleteOrgContactWithResponse(String orgContactId, String ifMatch, com.azure.core.util.Context context)
Delete entity from contacts.Mono<com.azure.core.http.rest.Response<Void>>
deleteOrgContactWithResponseAsync(String orgContactId, String ifMatch)
Delete entity from contacts.MicrosoftGraphOrgContactInner
getOrgContact(String orgContactId)
Get entity from contacts by key.Mono<MicrosoftGraphOrgContactInner>
getOrgContactAsync(String orgContactId)
Get entity from contacts by key.Mono<MicrosoftGraphOrgContactInner>
getOrgContactAsync(String orgContactId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand)
Get entity from contacts by key.com.azure.core.http.rest.Response<MicrosoftGraphOrgContactInner>
getOrgContactWithResponse(String orgContactId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand, com.azure.core.util.Context context)
Get entity from contacts by key.Mono<com.azure.core.http.rest.Response<MicrosoftGraphOrgContactInner>>
getOrgContactWithResponseAsync(String orgContactId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand)
Get entity from contacts by key.com.azure.core.http.rest.PagedIterable<MicrosoftGraphOrgContactInner>
listOrgContact()
Get entities from contacts.com.azure.core.http.rest.PagedIterable<MicrosoftGraphOrgContactInner>
listOrgContact(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand, com.azure.core.util.Context context)
Get entities from contacts.com.azure.core.http.rest.PagedFlux<MicrosoftGraphOrgContactInner>
listOrgContactAsync()
Get entities from contacts.com.azure.core.http.rest.PagedFlux<MicrosoftGraphOrgContactInner>
listOrgContactAsync(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand)
Get entities from contacts.void
updateOrgContact(String orgContactId, MicrosoftGraphOrgContactInner body)
Update entity in contacts.Mono<Void>
updateOrgContactAsync(String orgContactId, MicrosoftGraphOrgContactInner body)
Update entity in contacts.com.azure.core.http.rest.Response<Void>
updateOrgContactWithResponse(String orgContactId, MicrosoftGraphOrgContactInner body, com.azure.core.util.Context context)
Update entity in contacts.Mono<com.azure.core.http.rest.Response<Void>>
updateOrgContactWithResponseAsync(String orgContactId, MicrosoftGraphOrgContactInner body)
Update entity in contacts.
-
-
-
Method Detail
-
listOrgContactAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphOrgContactInner> listOrgContactAsync(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand)
Get entities from contacts.- Parameters:
consistencyLevel
- Indicates the requested consistency level.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:
- entities 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.
-
listOrgContactAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphOrgContactInner> listOrgContactAsync()
Get entities from contacts.- Returns:
- entities from contacts.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listOrgContact
com.azure.core.http.rest.PagedIterable<MicrosoftGraphOrgContactInner> listOrgContact()
Get entities from contacts.- Returns:
- entities from contacts.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listOrgContact
com.azure.core.http.rest.PagedIterable<MicrosoftGraphOrgContactInner> listOrgContact(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand, com.azure.core.util.Context context)
Get entities from contacts.- Parameters:
consistencyLevel
- Indicates the requested consistency level.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:
- entities 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.
-
createOrgContactWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphOrgContactInner>> createOrgContactWithResponseAsync(MicrosoftGraphOrgContactInner body)
Add new entity to contacts.- Parameters:
body
- New entity.- 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.
-
createOrgContactAsync
Mono<MicrosoftGraphOrgContactInner> createOrgContactAsync(MicrosoftGraphOrgContactInner body)
Add new entity to contacts.- Parameters:
body
- New entity.- 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.
-
createOrgContact
MicrosoftGraphOrgContactInner createOrgContact(MicrosoftGraphOrgContactInner body)
Add new entity to contacts.- Parameters:
body
- New entity.- 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.
-
createOrgContactWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphOrgContactInner> createOrgContactWithResponse(MicrosoftGraphOrgContactInner body, com.azure.core.util.Context context)
Add new entity to contacts.- Parameters:
body
- New entity.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.
-
getOrgContactWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphOrgContactInner>> getOrgContactWithResponseAsync(String orgContactId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand)
Get entity from contacts by key.- Parameters:
orgContactId
- key: id of orgContact.consistencyLevel
- Indicates the requested consistency level.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entity from contacts by key.
- 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.
-
getOrgContactAsync
Mono<MicrosoftGraphOrgContactInner> getOrgContactAsync(String orgContactId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand)
Get entity from contacts by key.- Parameters:
orgContactId
- key: id of orgContact.consistencyLevel
- Indicates the requested consistency level.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entity from contacts by key.
- 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.
-
getOrgContactAsync
Mono<MicrosoftGraphOrgContactInner> getOrgContactAsync(String orgContactId)
Get entity from contacts by key.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- entity from contacts by key.
- 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.
-
getOrgContact
MicrosoftGraphOrgContactInner getOrgContact(String orgContactId)
Get entity from contacts by key.- Parameters:
orgContactId
- key: id of orgContact.- Returns:
- entity from contacts by key.
- 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.
-
getOrgContactWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphOrgContactInner> getOrgContactWithResponse(String orgContactId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand, com.azure.core.util.Context context)
Get entity from contacts by key.- Parameters:
orgContactId
- key: id of orgContact.consistencyLevel
- Indicates the requested consistency level.select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- entity from contacts by key.
- 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.
-
updateOrgContactWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateOrgContactWithResponseAsync(String orgContactId, MicrosoftGraphOrgContactInner body)
Update entity in contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New property 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.
-
updateOrgContactAsync
Mono<Void> updateOrgContactAsync(String orgContactId, MicrosoftGraphOrgContactInner body)
Update entity in contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New property 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.
-
updateOrgContact
void updateOrgContact(String orgContactId, MicrosoftGraphOrgContactInner body)
Update entity in contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New property 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.
-
updateOrgContactWithResponse
com.azure.core.http.rest.Response<Void> updateOrgContactWithResponse(String orgContactId, MicrosoftGraphOrgContactInner body, com.azure.core.util.Context context)
Update entity in contacts.- Parameters:
orgContactId
- key: id of orgContact.body
- New property 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.
-
deleteOrgContactWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteOrgContactWithResponseAsync(String orgContactId, String ifMatch)
Delete entity from 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.
-
deleteOrgContactAsync
Mono<Void> deleteOrgContactAsync(String orgContactId, String ifMatch)
Delete entity from 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.
-
deleteOrgContactAsync
Mono<Void> deleteOrgContactAsync(String orgContactId)
Delete entity from 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.
-
deleteOrgContact
void deleteOrgContact(String orgContactId)
Delete entity from 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.
-
deleteOrgContactWithResponse
com.azure.core.http.rest.Response<Void> deleteOrgContactWithResponse(String orgContactId, String ifMatch, com.azure.core.util.Context context)
Delete entity from 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.
-
-