Package com.microsoft.graph.requests
Class MailFolderRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<MailFolder>
com.microsoft.graph.requests.MailFolderRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
public class MailFolderRequestBuilder
extends com.microsoft.graph.http.BaseRequestBuilder<MailFolder>
The class for the Mail Folder Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionMailFolderRequestBuilder(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the MailFolder -
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 requestOptionsGets a request builder for the MailFolder collectionchildFolders(String id) Gets a request builder for the MailFolder itemcopy(MailFolderCopyParameterSet parameters) Gets a builder to execute the methodGets a request builder for the MessageRule collectionmessageRules(String id) Gets a request builder for the MessageRule itemmessages()Gets a request builder for the Message collectionGets a request builder for the Message itemmove(MailFolderMoveParameterSet parameters) Gets a builder to execute the methodGets a request builder for the MultiValueLegacyExtendedProperty collectionGets a request builder for the MultiValueLegacyExtendedProperty itemGets a request builder for the SingleValueLegacyExtendedProperty collectionGets a request builder for the SingleValueLegacyExtendedProperty itemMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
MailFolderRequestBuilder
public MailFolderRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the MailFolder- Parameters:
requestUrl- the request URLclient- the service clientrequestOptions- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public MailFolderRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions- the options for this request- Returns:
- the MailFolderRequest instance
-
buildRequest
@Nonnull public MailFolderRequest 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 MailFolderRequest instance
-
childFolders
Gets a request builder for the MailFolder collection- Returns:
- the collection request builder
-
childFolders
Gets a request builder for the MailFolder item- Parameters:
id- the item identifier- Returns:
- the request builder
-
messageRules
Gets a request builder for the MessageRule collection- Returns:
- the collection request builder
-
messageRules
Gets a request builder for the MessageRule item- Parameters:
id- the item identifier- Returns:
- the request builder
-
messages
Gets a request builder for the Message collection- Returns:
- the collection request builder
-
messages
Gets a request builder for the Message item- Parameters:
id- the item identifier- Returns:
- the request builder
-
multiValueExtendedProperties
@Nonnull public MultiValueLegacyExtendedPropertyCollectionRequestBuilder multiValueExtendedProperties()Gets a request builder for the MultiValueLegacyExtendedProperty collection- Returns:
- the collection request builder
-
multiValueExtendedProperties
@Nonnull public MultiValueLegacyExtendedPropertyRequestBuilder multiValueExtendedProperties(@Nonnull String id) Gets a request builder for the MultiValueLegacyExtendedProperty item- Parameters:
id- the item identifier- Returns:
- the request builder
-
singleValueExtendedProperties
@Nonnull public SingleValueLegacyExtendedPropertyCollectionRequestBuilder singleValueExtendedProperties()Gets a request builder for the SingleValueLegacyExtendedProperty collection- Returns:
- the collection request builder
-
singleValueExtendedProperties
@Nonnull public SingleValueLegacyExtendedPropertyRequestBuilder singleValueExtendedProperties(@Nonnull String id) Gets a request builder for the SingleValueLegacyExtendedProperty item- Parameters:
id- the item identifier- Returns:
- the request builder
-
copy
Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
move
Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-