Class PronounsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.admin.people.pronouns.PronounsRequestBuilder
@Generated("com.microsoft.kiota")
public class PronounsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassGet the properties of the pronounsSettings resource for an organization.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionPronounsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPronounsRequestBuilderand sets the default values.PronounsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPronounsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionget()Get the properties of the pronounsSettings resource for an organization.get(Consumer<PronounsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties of the pronounsSettings resource for an organization.patch(PronounsSettings body) Update the properties of a pronounsSettings object in an organization.patch(PronounsSettings body, Consumer<PronounsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a pronounsSettings object in an organization.com.microsoft.kiota.RequestInformationGet the properties of the pronounsSettings resource for an organization.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<PronounsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties of the pronounsSettings resource for an organization.com.microsoft.kiota.RequestInformationUpdate the properties of a pronounsSettings object in an organization.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(PronounsSettings body, Consumer<PronounsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a pronounsSettings object in an organization.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
PronounsRequestBuilder
public PronounsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPronounsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
PronounsRequestBuilder
public PronounsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPronounsRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
get
Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.- Returns:
- a
PronounsSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public PronounsSettings get(@Nullable Consumer<PronounsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
PronounsSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.- Parameters:
body- The request body- Returns:
- a
PronounsSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public PronounsSettings patch(@Nonnull PronounsSettings body, @Nullable Consumer<PronounsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
PronounsSettings - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<PronounsRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull PronounsSettings body) Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull PronounsSettings body, @Nullable Consumer<PronounsRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
PronounsRequestBuilder
-