Class BrandingRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.organization.item.branding.BrandingRequestBuilder
@Generated("com.microsoft.kiota")
public class BrandingRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the branding property of the microsoft.graph.organization entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRetrieve the default organizational branding object, if the Accept-Language header is set to 0 or default.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
ConstructorsConstructorDescriptionBrandingRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBrandingRequestBuilderand sets the default values.BrandingRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBrandingRequestBuilderand 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 the default organizational branding object.voiddelete(Consumer<BrandingRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete the default organizational branding object.favicon()Provides operations to manage the media for the organization entity.get()Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default.get(Consumer<BrandingRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default.Provides operations to manage the media for the organization entity.Provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity.patch(OrganizationalBranding body) Update the properties of the default branding object specified by the organizationalBranding resource.patch(OrganizationalBranding body, Consumer<BrandingRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the default branding object specified by the organizationalBranding resource.Provides operations to manage the media for the organization entity.Provides operations to manage the media for the organization entity.com.microsoft.kiota.RequestInformationDelete the default organizational branding object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<BrandingRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete the default organizational branding object.com.microsoft.kiota.RequestInformationRetrieve the default organizational branding object, if the Accept-Language header is set to 0 or default.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<BrandingRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default.com.microsoft.kiota.RequestInformationUpdate the properties of the default branding object specified by the organizationalBranding resource.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(OrganizationalBranding body, Consumer<BrandingRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the default branding object specified by the organizationalBranding resource.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
BrandingRequestBuilder
public BrandingRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBrandingRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
BrandingRequestBuilder
public BrandingRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBrandingRequestBuilderand 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
-
localizations
Provides operations to manage the localizations property of the microsoft.graph.organizationalBranding entity.- Returns:
- a
LocalizationsRequestBuilder
-
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 the default organizational branding object. To delete the organizationalBranding 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<BrandingRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete the default organizational branding object. To delete the organizationalBranding 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
Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method.- Returns:
- a
OrganizationalBranding - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public OrganizationalBranding get(@Nullable Consumer<BrandingRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
OrganizationalBranding - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of the default branding object specified by the organizationalBranding resource.- Parameters:
body- The request body- Returns:
- a
OrganizationalBranding - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public OrganizationalBranding patch(@Nonnull OrganizationalBranding body, @Nullable Consumer<BrandingRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the default branding object specified by the organizationalBranding resource.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
OrganizationalBranding - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete the default organizational branding object. To delete the organizationalBranding 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<BrandingRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete the default organizational branding object. To delete the organizationalBranding 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()Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<BrandingRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method.- 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 OrganizationalBranding body) Update the properties of the default branding object specified by the organizationalBranding resource.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull OrganizationalBranding body, @Nullable Consumer<BrandingRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of the default branding object specified by the organizationalBranding resource.- 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
BrandingRequestBuilder
-