public class OpenShiftRequest extends com.microsoft.graph.http.BaseRequest<OpenShift>
| Constructor and Description |
|---|
OpenShiftRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the OpenShift
|
| Modifier and Type | Method and Description |
|---|---|
OpenShift |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<OpenShift> |
deleteAsync()
Delete this item from the service
|
OpenShiftRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
OpenShift |
get()
Gets the OpenShift from the service
|
java.util.concurrent.CompletableFuture<OpenShift> |
getAsync()
Gets the OpenShift from the service
|
OpenShift |
patch(OpenShift sourceOpenShift)
Patches this OpenShift with a source
|
java.util.concurrent.CompletableFuture<OpenShift> |
patchAsync(OpenShift sourceOpenShift)
Patches this OpenShift with a source
|
OpenShift |
post(OpenShift newOpenShift)
Creates a OpenShift with a new object
|
java.util.concurrent.CompletableFuture<OpenShift> |
postAsync(OpenShift newOpenShift)
Creates a OpenShift with a new object
|
OpenShift |
put(OpenShift newOpenShift)
Creates a OpenShift with a new object
|
java.util.concurrent.CompletableFuture<OpenShift> |
putAsync(OpenShift newOpenShift)
Creates a OpenShift with a new object
|
OpenShiftRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic OpenShiftRequest(@Nonnull
java.lang.String requestUrl,
@Nonnull
com.microsoft.graph.core.IBaseClient<?> client,
@Nullable
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this request@Nonnull public java.util.concurrent.CompletableFuture<OpenShift> getAsync()
@Nullable public OpenShift get() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<OpenShift> deleteAsync()
@Nullable public OpenShift delete() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException - if there was an exception during the delete operation@Nonnull public java.util.concurrent.CompletableFuture<OpenShift> patchAsync(@Nonnull OpenShift sourceOpenShift)
sourceOpenShift - the source object with updates@Nullable public OpenShift patch(@Nonnull OpenShift sourceOpenShift) throws com.microsoft.graph.core.ClientException
sourceOpenShift - the source object with updatescom.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<OpenShift> postAsync(@Nonnull OpenShift newOpenShift)
newOpenShift - the new object to create@Nullable public OpenShift post(@Nonnull OpenShift newOpenShift) throws com.microsoft.graph.core.ClientException
newOpenShift - the new object to createcom.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<OpenShift> putAsync(@Nonnull OpenShift newOpenShift)
newOpenShift - the object to create/update@Nullable public OpenShift put(@Nonnull OpenShift newOpenShift) throws com.microsoft.graph.core.ClientException
newOpenShift - the object to create/updatecom.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason@Nonnull public OpenShiftRequest select(@Nonnull java.lang.String value)
value - the select clause@Nonnull public OpenShiftRequest expand(@Nonnull java.lang.String value)
value - the expand clause