Interface ContractsContractsClient
-
public interface ContractsContractsClientAn instance of this class provides access to all the operations defined in ContractsContractsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MicrosoftGraphContractInnercreateContract(MicrosoftGraphContractInner body)Add new entity to contracts.Mono<MicrosoftGraphContractInner>createContractAsync(MicrosoftGraphContractInner body)Add new entity to contracts.com.azure.core.http.rest.Response<MicrosoftGraphContractInner>createContractWithResponse(MicrosoftGraphContractInner body, com.azure.core.util.Context context)Add new entity to contracts.Mono<com.azure.core.http.rest.Response<MicrosoftGraphContractInner>>createContractWithResponseAsync(MicrosoftGraphContractInner body)Add new entity to contracts.voiddeleteContract(String contractId)Delete entity from contracts.Mono<Void>deleteContractAsync(String contractId)Delete entity from contracts.Mono<Void>deleteContractAsync(String contractId, String ifMatch)Delete entity from contracts.com.azure.core.http.rest.Response<Void>deleteContractWithResponse(String contractId, String ifMatch, com.azure.core.util.Context context)Delete entity from contracts.Mono<com.azure.core.http.rest.Response<Void>>deleteContractWithResponseAsync(String contractId, String ifMatch)Delete entity from contracts.MicrosoftGraphContractInnergetContract(String contractId)Get entity from contracts by key.Mono<MicrosoftGraphContractInner>getContractAsync(String contractId)Get entity from contracts by key.Mono<MicrosoftGraphContractInner>getContractAsync(String contractId, List<ContractsContractSelect> select, List<String> expand)Get entity from contracts by key.com.azure.core.http.rest.Response<MicrosoftGraphContractInner>getContractWithResponse(String contractId, List<ContractsContractSelect> select, List<String> expand, com.azure.core.util.Context context)Get entity from contracts by key.Mono<com.azure.core.http.rest.Response<MicrosoftGraphContractInner>>getContractWithResponseAsync(String contractId, List<ContractsContractSelect> select, List<String> expand)Get entity from contracts by key.com.azure.core.http.rest.PagedIterable<MicrosoftGraphContractInner>listContract()Get entities from contracts.com.azure.core.http.rest.PagedIterable<MicrosoftGraphContractInner>listContract(Integer top, Integer skip, String search, String filter, Boolean count, List<Get5ItemsItem> orderby, List<ContractsContractSelect> select, List<String> expand, com.azure.core.util.Context context)Get entities from contracts.com.azure.core.http.rest.PagedFlux<MicrosoftGraphContractInner>listContractAsync()Get entities from contracts.com.azure.core.http.rest.PagedFlux<MicrosoftGraphContractInner>listContractAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<Get5ItemsItem> orderby, List<ContractsContractSelect> select, List<String> expand)Get entities from contracts.voidupdateContract(String contractId, MicrosoftGraphContractInner body)Update entity in contracts.Mono<Void>updateContractAsync(String contractId, MicrosoftGraphContractInner body)Update entity in contracts.com.azure.core.http.rest.Response<Void>updateContractWithResponse(String contractId, MicrosoftGraphContractInner body, com.azure.core.util.Context context)Update entity in contracts.Mono<com.azure.core.http.rest.Response<Void>>updateContractWithResponseAsync(String contractId, MicrosoftGraphContractInner body)Update entity in contracts.
-
-
-
Method Detail
-
listContractAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphContractInner> listContractAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<Get5ItemsItem> orderby, List<ContractsContractSelect> select, List<String> expand)
Get entities from contracts.- Parameters:
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 contracts.
- 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.
-
listContractAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphContractInner> listContractAsync()
Get entities from contracts.- Returns:
- entities from contracts.
- Throws:
OdataErrorMainException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listContract
com.azure.core.http.rest.PagedIterable<MicrosoftGraphContractInner> listContract()
Get entities from contracts.- Returns:
- entities from contracts.
- Throws:
OdataErrorMainException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listContract
com.azure.core.http.rest.PagedIterable<MicrosoftGraphContractInner> listContract(Integer top, Integer skip, String search, String filter, Boolean count, List<Get5ItemsItem> orderby, List<ContractsContractSelect> select, List<String> expand, com.azure.core.util.Context context)
Get entities from contracts.- Parameters:
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 contracts.
- 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.
-
createContractWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphContractInner>> createContractWithResponseAsync(MicrosoftGraphContractInner body)
Add new entity to contracts.- 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.
-
createContractAsync
Mono<MicrosoftGraphContractInner> createContractAsync(MicrosoftGraphContractInner body)
Add new entity to contracts.- 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.
-
createContract
MicrosoftGraphContractInner createContract(MicrosoftGraphContractInner body)
Add new entity to contracts.- 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.
-
createContractWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphContractInner> createContractWithResponse(MicrosoftGraphContractInner body, com.azure.core.util.Context context)
Add new entity to contracts.- 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.
-
getContractWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphContractInner>> getContractWithResponseAsync(String contractId, List<ContractsContractSelect> select, List<String> expand)
Get entity from contracts by key.- Parameters:
contractId- key: id of contract.select- Select properties to be returned.expand- Expand related entities.- Returns:
- entity from contracts 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.
-
getContractAsync
Mono<MicrosoftGraphContractInner> getContractAsync(String contractId, List<ContractsContractSelect> select, List<String> expand)
Get entity from contracts by key.- Parameters:
contractId- key: id of contract.select- Select properties to be returned.expand- Expand related entities.- Returns:
- entity from contracts 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.
-
getContractAsync
Mono<MicrosoftGraphContractInner> getContractAsync(String contractId)
Get entity from contracts by key.- Parameters:
contractId- key: id of contract.- Returns:
- entity from contracts 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.
-
getContract
MicrosoftGraphContractInner getContract(String contractId)
Get entity from contracts by key.- Parameters:
contractId- key: id of contract.- Returns:
- entity from contracts 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.
-
getContractWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphContractInner> getContractWithResponse(String contractId, List<ContractsContractSelect> select, List<String> expand, com.azure.core.util.Context context)
Get entity from contracts by key.- Parameters:
contractId- key: id of contract.select- Select properties to be returned.expand- Expand related entities.context- The context to associate with this operation.- Returns:
- entity from contracts 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.
-
updateContractWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateContractWithResponseAsync(String contractId, MicrosoftGraphContractInner body)
Update entity in contracts.- Parameters:
contractId- key: id of contract.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.
-
updateContractAsync
Mono<Void> updateContractAsync(String contractId, MicrosoftGraphContractInner body)
Update entity in contracts.- Parameters:
contractId- key: id of contract.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.
-
updateContract
void updateContract(String contractId, MicrosoftGraphContractInner body)
Update entity in contracts.- Parameters:
contractId- key: id of contract.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.
-
updateContractWithResponse
com.azure.core.http.rest.Response<Void> updateContractWithResponse(String contractId, MicrosoftGraphContractInner body, com.azure.core.util.Context context)
Update entity in contracts.- Parameters:
contractId- key: id of contract.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.
-
deleteContractWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteContractWithResponseAsync(String contractId, String ifMatch)
Delete entity from contracts.- Parameters:
contractId- key: id of contract.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.
-
deleteContractAsync
Mono<Void> deleteContractAsync(String contractId, String ifMatch)
Delete entity from contracts.- Parameters:
contractId- key: id of contract.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.
-
deleteContractAsync
Mono<Void> deleteContractAsync(String contractId)
Delete entity from contracts.- Parameters:
contractId- key: id of contract.- 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.
-
deleteContract
void deleteContract(String contractId)
Delete entity from contracts.- Parameters:
contractId- key: id of contract.- 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.
-
deleteContractWithResponse
com.azure.core.http.rest.Response<Void> deleteContractWithResponse(String contractId, String ifMatch, com.azure.core.util.Context context)
Delete entity from contracts.- Parameters:
contractId- key: id of contract.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.
-
-