Package com.microsoft.graph.requests
Class FileAttachmentRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<FileAttachment>
com.microsoft.graph.requests.FileAttachmentRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
public class FileAttachmentRequestBuilder
extends com.microsoft.graph.http.BaseRequestBuilder<FileAttachment>
The class for the File Attachment Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionFileAttachmentRequestBuilder
(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the FileAttachment -
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
-
FileAttachmentRequestBuilder
public FileAttachmentRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the FileAttachment- Parameters:
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public FileAttachmentRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions
- the options for this request- Returns:
- the FileAttachmentRequest instance
-
buildRequest
@Nonnull public FileAttachmentRequest 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 FileAttachmentRequest instance
-
content
Gets a request builder to get the binary value of the object- Returns:
- the stream request builder
-