Package com.microsoft.graph.models
Class OrganizationalBrandingProperties
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.OrganizationalBrandingProperties
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
OrganizationalBranding
,OrganizationalBrandingLocalization
@Generated("com.microsoft.kiota")
public class OrganizationalBrandingProperties
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newOrganizationalBrandingProperties
and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the backgroundColor property value.byte[]
Gets the backgroundImage property value.Gets the backgroundImageRelativeUrl property value.byte[]
Gets the bannerLogo property value.Gets the bannerLogoRelativeUrl property value.Gets the cdnList property value.Gets the contentCustomization property value.Gets the customAccountResetCredentialsUrl property value.Gets the customCannotAccessYourAccountText property value.Gets the customCannotAccessYourAccountUrl property value.byte[]
Gets the customCSS property value.Gets the customCSSRelativeUrl property value.Gets the customForgotMyPasswordText property value.Gets the customPrivacyAndCookiesText property value.Gets the customPrivacyAndCookiesUrl property value.Gets the customResetItNowText property value.Gets the customTermsOfUseText property value.Gets the customTermsOfUseUrl property value.byte[]
Gets the favicon property value.Gets the faviconRelativeUrl property value.The deserialization information for the current modelGets the headerBackgroundColor property value.byte[]
Gets the headerLogo property value.Gets the headerLogoRelativeUrl property value.Gets the loginPageLayoutConfiguration property value.Gets the loginPageTextVisibilitySettings property value.Gets the signInPageText property value.byte[]
Gets the squareLogo property value.byte[]
Gets the squareLogoDark property value.Gets the squareLogoDarkRelativeUrl property value.Gets the squareLogoRelativeUrl property value.Gets the usernameHintText property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setBackgroundColor
(String value) Sets the backgroundColor property value.void
setBackgroundImage
(byte[] value) Sets the backgroundImage property value.void
Sets the backgroundImageRelativeUrl property value.void
setBannerLogo
(byte[] value) Sets the bannerLogo property value.void
setBannerLogoRelativeUrl
(String value) Sets the bannerLogoRelativeUrl property value.void
setCdnList
(List<String> value) Sets the cdnList property value.void
Sets the contentCustomization property value.void
Sets the customAccountResetCredentialsUrl property value.void
Sets the customCannotAccessYourAccountText property value.void
Sets the customCannotAccessYourAccountUrl property value.void
setCustomCSS
(byte[] value) Sets the customCSS property value.void
setCustomCSSRelativeUrl
(String value) Sets the customCSSRelativeUrl property value.void
Sets the customForgotMyPasswordText property value.void
Sets the customPrivacyAndCookiesText property value.void
Sets the customPrivacyAndCookiesUrl property value.void
setCustomResetItNowText
(String value) Sets the customResetItNowText property value.void
setCustomTermsOfUseText
(String value) Sets the customTermsOfUseText property value.void
setCustomTermsOfUseUrl
(String value) Sets the customTermsOfUseUrl property value.void
setFavicon
(byte[] value) Sets the favicon property value.void
setFaviconRelativeUrl
(String value) Sets the faviconRelativeUrl property value.void
setHeaderBackgroundColor
(String value) Sets the headerBackgroundColor property value.void
setHeaderLogo
(byte[] value) Sets the headerLogo property value.void
setHeaderLogoRelativeUrl
(String value) Sets the headerLogoRelativeUrl property value.void
Sets the loginPageLayoutConfiguration property value.void
Sets the loginPageTextVisibilitySettings property value.void
setSignInPageText
(String value) Sets the signInPageText property value.void
setSquareLogo
(byte[] value) Sets the squareLogo property value.void
setSquareLogoDark
(byte[] value) Sets the squareLogoDark property value.void
Sets the squareLogoDarkRelativeUrl property value.void
setSquareLogoRelativeUrl
(String value) Sets the squareLogoRelativeUrl property value.void
setUsernameHintText
(String value) Sets the usernameHintText property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
OrganizationalBrandingProperties
public OrganizationalBrandingProperties()Instantiates a newOrganizationalBrandingProperties
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static OrganizationalBrandingProperties createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
OrganizationalBrandingProperties
-
getBackgroundColor
Gets the backgroundColor property value. Color that appears in place of the background image in low-bandwidth connections. We recommend that you use the primary color of your banner logo or your organization color. Specify this in hexadecimal format, for example, white is #FFFFFF.- Returns:
- a
String
-
getBackgroundImage
@Nullable public byte[] getBackgroundImage()Gets the backgroundImage property value. Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 1080 pixels. A smaller image reduces bandwidth requirements and make the page load faster.- Returns:
- a
invalid reference
byte[]
-
getBackgroundImageRelativeUrl
Gets the backgroundImageRelativeUrl property value. A relative URL for the backgroundImage property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.- Returns:
- a
String
-
getBannerLogo
@Nullable public byte[] getBannerLogo()Gets the bannerLogo property value. A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 245 pixels. We recommend using a transparent image with no padding around the logo.- Returns:
- a
invalid reference
byte[]
-
getBannerLogoRelativeUrl
Gets the bannerLogoRelativeUrl property value. A relative URL for the bannerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only.- Returns:
- a
String
-
getCdnList
Gets the cdnList property value. A list of base URLs for all available CDN providers that are serving the assets of the current resource. Several CDN providers are used at the same time for high availability of read requests. Read-only. -
getContentCustomization
Gets the contentCustomization property value. Represents the content options to be customized throughout the authentication flow for a tenant. NOTE: Supported by Microsoft Entra External ID in external tenants only.- Returns:
- a
ContentCustomization
-
getCustomAccountResetCredentialsUrl
Gets the customAccountResetCredentialsUrl property value. A custom URL for resetting account credentials. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters.- Returns:
- a
String
-
getCustomCannotAccessYourAccountText
Gets the customCannotAccessYourAccountText property value. A string to replace the default 'Can't access your account?' self-service password reset (SSPR) hyperlink text on the sign-in page. This text must be in Unicode format and not exceed 256 characters.- Returns:
- a
String
-
getCustomCannotAccessYourAccountUrl
Gets the customCannotAccessYourAccountUrl property value. A custom URL to replace the default URL of the self-service password reset (SSPR) 'Can't access your account?' hyperlink on the sign-in page. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. DO NOT USE. Use customAccountResetCredentialsUrl instead.- Returns:
- a
String
-
getCustomCSS
@Nullable public byte[] getCustomCSS()Gets the customCSS property value. CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.- Returns:
- a
invalid reference
byte[]
-
getCustomCSSRelativeUrl
Gets the customCSSRelativeUrl property value. A relative URL for the customCSS property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.- Returns:
- a
String
-
getCustomForgotMyPasswordText
Gets the customForgotMyPasswordText property value. A string to replace the default 'Forgot my password' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters.- Returns:
- a
String
-
getCustomPrivacyAndCookiesText
Gets the customPrivacyAndCookiesText property value. A string to replace the default 'Privacy and Cookies' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters.- Returns:
- a
String
-
getCustomPrivacyAndCookiesUrl
Gets the customPrivacyAndCookiesUrl property value. A custom URL to replace the default URL of the 'Privacy and Cookies' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters.- Returns:
- a
String
-
getCustomResetItNowText
Gets the customResetItNowText property value. A string to replace the default 'reset it now' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters. DO NOT USE: Customization of the 'reset it now' hyperlink text is currently not supported.- Returns:
- a
String
-
getCustomTermsOfUseText
Gets the customTermsOfUseText property value. A string to replace the the default 'Terms of Use' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters.- Returns:
- a
String
-
getCustomTermsOfUseUrl
Gets the customTermsOfUseUrl property value. A custom URL to replace the default URL of the 'Terms of Use' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128characters.- Returns:
- a
String
-
getFavicon
@Nullable public byte[] getFavicon()Gets the favicon property value. A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.- Returns:
- a
invalid reference
byte[]
-
getFaviconRelativeUrl
Gets the faviconRelativeUrl property value. A relative url for the favicon above that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getHeaderBackgroundColor
Gets the headerBackgroundColor property value. The RGB color to apply to customize the color of the header.- Returns:
- a
String
-
getHeaderLogo
@Nullable public byte[] getHeaderLogo()Gets the headerLogo property value. A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 245 pixels. We recommend using a transparent image with no padding around the logo.- Returns:
- a
invalid reference
byte[]
-
getHeaderLogoRelativeUrl
Gets the headerLogoRelativeUrl property value. A relative URL for the headerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only.- Returns:
- a
String
-
getLoginPageLayoutConfiguration
Gets the loginPageLayoutConfiguration property value. Represents the layout configuration to be displayed on the login page for a tenant.- Returns:
- a
LoginPageLayoutConfiguration
-
getLoginPageTextVisibilitySettings
Gets the loginPageTextVisibilitySettings property value. Represents the various texts that can be hidden on the login page for a tenant.- Returns:
- a
LoginPageTextVisibilitySettings
-
getSignInPageText
Gets the signInPageText property value. Text that appears at the bottom of the sign-in box. Use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be in Unicode format and not exceed 1024 characters.- Returns:
- a
String
-
getSquareLogo
@Nullable public byte[] getSquareLogo()Gets the squareLogo property value. A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.- Returns:
- a
invalid reference
byte[]
-
getSquareLogoDark
@Nullable public byte[] getSquareLogoDark()Gets the squareLogoDark property value. A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.- Returns:
- a
invalid reference
byte[]
-
getSquareLogoDarkRelativeUrl
Gets the squareLogoDarkRelativeUrl property value. A relative URL for the squareLogoDark property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.- Returns:
- a
String
-
getSquareLogoRelativeUrl
Gets the squareLogoRelativeUrl property value. A relative URL for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.- Returns:
- a
String
-
getUsernameHintText
Gets the usernameHintText property value. A string that shows as the hint in the username textbox on the sign-in screen. This text must be a Unicode, without links or code, and can't exceed 64 characters.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setBackgroundColor
Sets the backgroundColor property value. Color that appears in place of the background image in low-bandwidth connections. We recommend that you use the primary color of your banner logo or your organization color. Specify this in hexadecimal format, for example, white is #FFFFFF.- Parameters:
value
- Value to set for the backgroundColor property.
-
setBackgroundImage
public void setBackgroundImage(@Nullable byte[] value) Sets the backgroundImage property value. Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 1080 pixels. A smaller image reduces bandwidth requirements and make the page load faster.- Parameters:
value
- Value to set for the backgroundImage property.
-
setBackgroundImageRelativeUrl
Sets the backgroundImageRelativeUrl property value. A relative URL for the backgroundImage property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.- Parameters:
value
- Value to set for the backgroundImageRelativeUrl property.
-
setBannerLogo
public void setBannerLogo(@Nullable byte[] value) Sets the bannerLogo property value. A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 245 pixels. We recommend using a transparent image with no padding around the logo.- Parameters:
value
- Value to set for the bannerLogo property.
-
setBannerLogoRelativeUrl
Sets the bannerLogoRelativeUrl property value. A relative URL for the bannerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only.- Parameters:
value
- Value to set for the bannerLogoRelativeUrl property.
-
setCdnList
Sets the cdnList property value. A list of base URLs for all available CDN providers that are serving the assets of the current resource. Several CDN providers are used at the same time for high availability of read requests. Read-only.- Parameters:
value
- Value to set for the cdnList property.
-
setContentCustomization
Sets the contentCustomization property value. Represents the content options to be customized throughout the authentication flow for a tenant. NOTE: Supported by Microsoft Entra External ID in external tenants only.- Parameters:
value
- Value to set for the contentCustomization property.
-
setCustomAccountResetCredentialsUrl
Sets the customAccountResetCredentialsUrl property value. A custom URL for resetting account credentials. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters.- Parameters:
value
- Value to set for the customAccountResetCredentialsUrl property.
-
setCustomCannotAccessYourAccountText
Sets the customCannotAccessYourAccountText property value. A string to replace the default 'Can't access your account?' self-service password reset (SSPR) hyperlink text on the sign-in page. This text must be in Unicode format and not exceed 256 characters.- Parameters:
value
- Value to set for the customCannotAccessYourAccountText property.
-
setCustomCannotAccessYourAccountUrl
Sets the customCannotAccessYourAccountUrl property value. A custom URL to replace the default URL of the self-service password reset (SSPR) 'Can't access your account?' hyperlink on the sign-in page. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. DO NOT USE. Use customAccountResetCredentialsUrl instead.- Parameters:
value
- Value to set for the customCannotAccessYourAccountUrl property.
-
setCustomCSS
public void setCustomCSS(@Nullable byte[] value) Sets the customCSS property value. CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.- Parameters:
value
- Value to set for the customCSS property.
-
setCustomCSSRelativeUrl
Sets the customCSSRelativeUrl property value. A relative URL for the customCSS property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.- Parameters:
value
- Value to set for the customCSSRelativeUrl property.
-
setCustomForgotMyPasswordText
Sets the customForgotMyPasswordText property value. A string to replace the default 'Forgot my password' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters.- Parameters:
value
- Value to set for the customForgotMyPasswordText property.
-
setCustomPrivacyAndCookiesText
Sets the customPrivacyAndCookiesText property value. A string to replace the default 'Privacy and Cookies' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters.- Parameters:
value
- Value to set for the customPrivacyAndCookiesText property.
-
setCustomPrivacyAndCookiesUrl
Sets the customPrivacyAndCookiesUrl property value. A custom URL to replace the default URL of the 'Privacy and Cookies' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters.- Parameters:
value
- Value to set for the customPrivacyAndCookiesUrl property.
-
setCustomResetItNowText
Sets the customResetItNowText property value. A string to replace the default 'reset it now' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters. DO NOT USE: Customization of the 'reset it now' hyperlink text is currently not supported.- Parameters:
value
- Value to set for the customResetItNowText property.
-
setCustomTermsOfUseText
Sets the customTermsOfUseText property value. A string to replace the the default 'Terms of Use' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters.- Parameters:
value
- Value to set for the customTermsOfUseText property.
-
setCustomTermsOfUseUrl
Sets the customTermsOfUseUrl property value. A custom URL to replace the default URL of the 'Terms of Use' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128characters.- Parameters:
value
- Value to set for the customTermsOfUseUrl property.
-
setFavicon
public void setFavicon(@Nullable byte[] value) Sets the favicon property value. A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.- Parameters:
value
- Value to set for the favicon property.
-
setFaviconRelativeUrl
Sets the faviconRelativeUrl property value. A relative url for the favicon above that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.- Parameters:
value
- Value to set for the faviconRelativeUrl property.
-
setHeaderBackgroundColor
Sets the headerBackgroundColor property value. The RGB color to apply to customize the color of the header.- Parameters:
value
- Value to set for the headerBackgroundColor property.
-
setHeaderLogo
public void setHeaderLogo(@Nullable byte[] value) Sets the headerLogo property value. A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 245 pixels. We recommend using a transparent image with no padding around the logo.- Parameters:
value
- Value to set for the headerLogo property.
-
setHeaderLogoRelativeUrl
Sets the headerLogoRelativeUrl property value. A relative URL for the headerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only.- Parameters:
value
- Value to set for the headerLogoRelativeUrl property.
-
setLoginPageLayoutConfiguration
Sets the loginPageLayoutConfiguration property value. Represents the layout configuration to be displayed on the login page for a tenant.- Parameters:
value
- Value to set for the loginPageLayoutConfiguration property.
-
setLoginPageTextVisibilitySettings
Sets the loginPageTextVisibilitySettings property value. Represents the various texts that can be hidden on the login page for a tenant.- Parameters:
value
- Value to set for the loginPageTextVisibilitySettings property.
-
setSignInPageText
Sets the signInPageText property value. Text that appears at the bottom of the sign-in box. Use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be in Unicode format and not exceed 1024 characters.- Parameters:
value
- Value to set for the signInPageText property.
-
setSquareLogo
public void setSquareLogo(@Nullable byte[] value) Sets the squareLogo property value. A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.- Parameters:
value
- Value to set for the squareLogo property.
-
setSquareLogoDark
public void setSquareLogoDark(@Nullable byte[] value) Sets the squareLogoDark property value. A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.- Parameters:
value
- Value to set for the squareLogoDark property.
-
setSquareLogoDarkRelativeUrl
Sets the squareLogoDarkRelativeUrl property value. A relative URL for the squareLogoDark property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.- Parameters:
value
- Value to set for the squareLogoDarkRelativeUrl property.
-
setSquareLogoRelativeUrl
Sets the squareLogoRelativeUrl property value. A relative URL for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.- Parameters:
value
- Value to set for the squareLogoRelativeUrl property.
-
setUsernameHintText
Sets the usernameHintText property value. A string that shows as the hint in the username textbox on the sign-in screen. This text must be a Unicode, without links or code, and can't exceed 64 characters.- Parameters:
value
- Value to set for the usernameHintText property.
-