Class OrganizationalBrandingLocalizationItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.organization.item.branding.localizations.item.OrganizationalBrandingLocalizationItemRequestBuilder
@Generated("com.microsoft.kiota")
public class OrganizationalBrandingLocalizationItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead the properties and relationships of an organizationalBrandingLocalization object.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
ConstructorsConstructorDescriptionOrganizationalBrandingLocalizationItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrganizationalBrandingLocalizationItemRequestBuilderand sets the default values.OrganizationalBrandingLocalizationItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrganizationalBrandingLocalizationItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the media for the organization entity.Provides operations to manage the media for the organization entity.Provides operations to manage the media for the organization entity.voiddelete()Delete a localized branding object.voiddelete(Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a localized branding object.favicon()Provides operations to manage the media for the organization entity.get()Read the properties and relationships of an organizationalBrandingLocalization object.get(Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an organizationalBrandingLocalization object.Provides operations to manage the media for the organization entity.Update the properties of an organizationalBrandingLocalization object for a specific localization.patch(OrganizationalBrandingLocalization body, Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an organizationalBrandingLocalization object for a specific localization.Provides operations to manage the media for the organization entity.Provides operations to manage the media for the organization entity.com.microsoft.kiota.RequestInformationDelete a localized branding object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a localized branding object.com.microsoft.kiota.RequestInformationRead the properties and relationships of an organizationalBrandingLocalization object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an organizationalBrandingLocalization object.com.microsoft.kiota.RequestInformationUpdate the properties of an organizationalBrandingLocalization object for a specific localization.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(OrganizationalBrandingLocalization body, Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an organizationalBrandingLocalization object for a specific localization.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
OrganizationalBrandingLocalizationItemRequestBuilder
public OrganizationalBrandingLocalizationItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrganizationalBrandingLocalizationItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
OrganizationalBrandingLocalizationItemRequestBuilder
public OrganizationalBrandingLocalizationItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newOrganizationalBrandingLocalizationItemRequestBuilderand 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
-
backgroundImage
Provides operations to manage the media for the organization entity.- Returns:
- a
BackgroundImageRequestBuilder
-
bannerLogo
Provides operations to manage the media for the organization entity.- Returns:
- a
BannerLogoRequestBuilder
-
customCSS
Provides operations to manage the media for the organization entity.- Returns:
- a
CustomCSSRequestBuilder
-
favicon
Provides operations to manage the media for the organization entity.- Returns:
- a
FaviconRequestBuilder
-
headerLogo
Provides operations to manage the media for the organization entity.- Returns:
- a
HeaderLogoRequestBuilder
-
squareLogo
Provides operations to manage the media for the organization entity.- Returns:
- a
SquareLogoRequestBuilder
-
squareLogoDark
Provides operations to manage the media for the organization entity.- Returns:
- a
SquareLogoDarkRequestBuilder
-
delete
public void delete()Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.- Returns:
- a
OrganizationalBrandingLocalization - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public OrganizationalBrandingLocalization get(@Nullable Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
OrganizationalBrandingLocalization - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public OrganizationalBrandingLocalization patch(@Nonnull OrganizationalBrandingLocalization body) Update the properties of an organizationalBrandingLocalization object for a specific localization.- Parameters:
body- The request body- Returns:
- a
OrganizationalBrandingLocalization - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public OrganizationalBrandingLocalization patch(@Nonnull OrganizationalBrandingLocalization body, @Nullable Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an organizationalBrandingLocalization object for a specific localization.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
OrganizationalBrandingLocalization - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.- 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 OrganizationalBrandingLocalization body) Update the properties of an organizationalBrandingLocalization object for a specific localization.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull OrganizationalBrandingLocalization body, @Nullable Consumer<OrganizationalBrandingLocalizationItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an organizationalBrandingLocalization object for a specific localization.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
@Nonnull public OrganizationalBrandingLocalizationItemRequestBuilder withUrl(@Nonnull String rawUrl) 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
OrganizationalBrandingLocalizationItemRequestBuilder
-