Package com.microsoft.graph.requests
Class ProfilePhotoRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<ProfilePhoto>
com.microsoft.graph.requests.ProfilePhotoRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
public class ProfilePhotoRequestBuilder
extends com.microsoft.graph.http.BaseRequestBuilder<ProfilePhoto>
The class for the Profile Photo Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionProfilePhotoRequestBuilder(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the ProfilePhoto -
Method Summary
Modifier and TypeMethodDescriptionbuildRequest(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionscontent()Gets a request builder to get the binary value of the objectMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
ProfilePhotoRequestBuilder
public ProfilePhotoRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the ProfilePhoto- Parameters:
requestUrl- the request URLclient- the service clientrequestOptions- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public ProfilePhotoRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions- the options for this request- Returns:
- the ProfilePhotoRequest instance
-
buildRequest
@Nonnull public ProfilePhotoRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptions- Parameters:
requestOptions- the options for this request- Returns:
- the ProfilePhotoRequest instance
-
content
Gets a request builder to get the binary value of the object- Returns:
- the stream request builder
-