Package com.microsoft.graph.requests
Class ContactRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<Contact>
com.microsoft.graph.requests.ContactRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
The class for the Contact Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionContactRequestBuilder
(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the Contact -
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 Extension collectionextensions
(String id) Gets a request builder for the Extension itemGets a request builder for the MultiValueLegacyExtendedProperty collectionGets a request builder for the MultiValueLegacyExtendedProperty itemphoto()
Gets the request builder for ProfilePhotoGets 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
-
ContactRequestBuilder
public ContactRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the Contact- Parameters:
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public ContactRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions
- the options for this request- Returns:
- the ContactRequest instance
-
buildRequest
@Nonnull public ContactRequest 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 ContactRequest instance
-
extensions
Gets a request builder for the Extension collection- Returns:
- the collection request builder
-
extensions
Gets a request builder for the Extension 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
-
photo
Gets the request builder for ProfilePhoto- Returns:
- the ProfilePhotoRequestBuilder instance
-
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
-