Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.microsoft.graph.models;
import com.microsoft.kiota.serialization.AdditionalDataHolder;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import com.microsoft.kiota.store.BackedModel;
import com.microsoft.kiota.store.BackingStore;
import com.microsoft.kiota.store.BackingStoreFactorySingleton;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
/**
* intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class IntuneBrand implements AdditionalDataHolder, BackedModel, Parsable {
/**
* Stores model information.
*/
@jakarta.annotation.Nonnull
protected BackingStore backingStore;
/**
* Instantiates a new {@link IntuneBrand} and sets the default values.
*/
public IntuneBrand() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
}
/**
* Creates a new instance of the appropriate class based on discriminator value
* @param parseNode The parse node to use to read the discriminator value and create the object
* @return a {@link IntuneBrand}
*/
@jakarta.annotation.Nonnull
public static IntuneBrand createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new IntuneBrand();
}
/**
* Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @return a {@link Map}
*/
@jakarta.annotation.Nonnull
public Map getAdditionalData() {
Map value = this.backingStore.get("additionalData");
if(value == null) {
value = new HashMap<>();
this.setAdditionalData(value);
}
return value;
}
/**
* Gets the backingStore property value. Stores model information.
* @return a {@link BackingStore}
*/
@jakarta.annotation.Nonnull
public BackingStore getBackingStore() {
return this.backingStore;
}
/**
* Gets the contactITEmailAddress property value. Email address of the person/organization responsible for IT support.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getContactITEmailAddress() {
return this.backingStore.get("contactITEmailAddress");
}
/**
* Gets the contactITName property value. Name of the person/organization responsible for IT support.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getContactITName() {
return this.backingStore.get("contactITName");
}
/**
* Gets the contactITNotes property value. Text comments regarding the person/organization responsible for IT support.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getContactITNotes() {
return this.backingStore.get("contactITNotes");
}
/**
* Gets the contactITPhoneNumber property value. Phone number of the person/organization responsible for IT support.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getContactITPhoneNumber() {
return this.backingStore.get("contactITPhoneNumber");
}
/**
* Gets the darkBackgroundLogo property value. Logo image displayed in Company Portal apps which have a dark background behind the logo.
* @return a {@link MimeContent}
*/
@jakarta.annotation.Nullable
public MimeContent getDarkBackgroundLogo() {
return this.backingStore.get("darkBackgroundLogo");
}
/**
* Gets the displayName property value. Company/organization name that is displayed to end users.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getDisplayName() {
return this.backingStore.get("displayName");
}
/**
* The deserialization information for the current model
* @return a {@link Map>}
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
final HashMap> deserializerMap = new HashMap>(15);
deserializerMap.put("contactITEmailAddress", (n) -> { this.setContactITEmailAddress(n.getStringValue()); });
deserializerMap.put("contactITName", (n) -> { this.setContactITName(n.getStringValue()); });
deserializerMap.put("contactITNotes", (n) -> { this.setContactITNotes(n.getStringValue()); });
deserializerMap.put("contactITPhoneNumber", (n) -> { this.setContactITPhoneNumber(n.getStringValue()); });
deserializerMap.put("darkBackgroundLogo", (n) -> { this.setDarkBackgroundLogo(n.getObjectValue(MimeContent::createFromDiscriminatorValue)); });
deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
deserializerMap.put("lightBackgroundLogo", (n) -> { this.setLightBackgroundLogo(n.getObjectValue(MimeContent::createFromDiscriminatorValue)); });
deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); });
deserializerMap.put("onlineSupportSiteName", (n) -> { this.setOnlineSupportSiteName(n.getStringValue()); });
deserializerMap.put("onlineSupportSiteUrl", (n) -> { this.setOnlineSupportSiteUrl(n.getStringValue()); });
deserializerMap.put("privacyUrl", (n) -> { this.setPrivacyUrl(n.getStringValue()); });
deserializerMap.put("showDisplayNameNextToLogo", (n) -> { this.setShowDisplayNameNextToLogo(n.getBooleanValue()); });
deserializerMap.put("showLogo", (n) -> { this.setShowLogo(n.getBooleanValue()); });
deserializerMap.put("showNameNextToLogo", (n) -> { this.setShowNameNextToLogo(n.getBooleanValue()); });
deserializerMap.put("themeColor", (n) -> { this.setThemeColor(n.getObjectValue(RgbColor::createFromDiscriminatorValue)); });
return deserializerMap;
}
/**
* Gets the lightBackgroundLogo property value. Logo image displayed in Company Portal apps which have a light background behind the logo.
* @return a {@link MimeContent}
*/
@jakarta.annotation.Nullable
public MimeContent getLightBackgroundLogo() {
return this.backingStore.get("lightBackgroundLogo");
}
/**
* Gets the @odata.type property value. The OdataType property
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getOdataType() {
return this.backingStore.get("odataType");
}
/**
* Gets the onlineSupportSiteName property value. Display name of the company/organizations IT helpdesk site.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getOnlineSupportSiteName() {
return this.backingStore.get("onlineSupportSiteName");
}
/**
* Gets the onlineSupportSiteUrl property value. URL to the company/organizations IT helpdesk site.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getOnlineSupportSiteUrl() {
return this.backingStore.get("onlineSupportSiteUrl");
}
/**
* Gets the privacyUrl property value. URL to the company/organizations privacy policy.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getPrivacyUrl() {
return this.backingStore.get("privacyUrl");
}
/**
* Gets the showDisplayNameNextToLogo property value. Boolean that represents whether the administrator-supplied display name will be shown next to the logo image.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getShowDisplayNameNextToLogo() {
return this.backingStore.get("showDisplayNameNextToLogo");
}
/**
* Gets the showLogo property value. Boolean that represents whether the administrator-supplied logo images are shown or not shown.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getShowLogo() {
return this.backingStore.get("showLogo");
}
/**
* Gets the showNameNextToLogo property value. Boolean that represents whether the administrator-supplied display name will be shown next to the logo image.
* @return a {@link Boolean}
*/
@jakarta.annotation.Nullable
public Boolean getShowNameNextToLogo() {
return this.backingStore.get("showNameNextToLogo");
}
/**
* Gets the themeColor property value. Primary theme color used in the Company Portal applications and web portal.
* @return a {@link RgbColor}
*/
@jakarta.annotation.Nullable
public RgbColor getThemeColor() {
return this.backingStore.get("themeColor");
}
/**
* Serializes information the current object
* @param writer Serialization writer to use to serialize this model
*/
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
writer.writeStringValue("contactITEmailAddress", this.getContactITEmailAddress());
writer.writeStringValue("contactITName", this.getContactITName());
writer.writeStringValue("contactITNotes", this.getContactITNotes());
writer.writeStringValue("contactITPhoneNumber", this.getContactITPhoneNumber());
writer.writeObjectValue("darkBackgroundLogo", this.getDarkBackgroundLogo());
writer.writeStringValue("displayName", this.getDisplayName());
writer.writeObjectValue("lightBackgroundLogo", this.getLightBackgroundLogo());
writer.writeStringValue("@odata.type", this.getOdataType());
writer.writeStringValue("onlineSupportSiteName", this.getOnlineSupportSiteName());
writer.writeStringValue("onlineSupportSiteUrl", this.getOnlineSupportSiteUrl());
writer.writeStringValue("privacyUrl", this.getPrivacyUrl());
writer.writeBooleanValue("showDisplayNameNextToLogo", this.getShowDisplayNameNextToLogo());
writer.writeBooleanValue("showLogo", this.getShowLogo());
writer.writeBooleanValue("showNameNextToLogo", this.getShowNameNextToLogo());
writer.writeObjectValue("themeColor", this.getThemeColor());
writer.writeAdditionalData(this.getAdditionalData());
}
/**
* Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @param value Value to set for the AdditionalData property.
*/
public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
this.backingStore.set("additionalData", value);
}
/**
* Sets the backingStore property value. Stores model information.
* @param value Value to set for the backingStore property.
*/
public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
Objects.requireNonNull(value);
this.backingStore = value;
}
/**
* Sets the contactITEmailAddress property value. Email address of the person/organization responsible for IT support.
* @param value Value to set for the contactITEmailAddress property.
*/
public void setContactITEmailAddress(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("contactITEmailAddress", value);
}
/**
* Sets the contactITName property value. Name of the person/organization responsible for IT support.
* @param value Value to set for the contactITName property.
*/
public void setContactITName(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("contactITName", value);
}
/**
* Sets the contactITNotes property value. Text comments regarding the person/organization responsible for IT support.
* @param value Value to set for the contactITNotes property.
*/
public void setContactITNotes(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("contactITNotes", value);
}
/**
* Sets the contactITPhoneNumber property value. Phone number of the person/organization responsible for IT support.
* @param value Value to set for the contactITPhoneNumber property.
*/
public void setContactITPhoneNumber(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("contactITPhoneNumber", value);
}
/**
* Sets the darkBackgroundLogo property value. Logo image displayed in Company Portal apps which have a dark background behind the logo.
* @param value Value to set for the darkBackgroundLogo property.
*/
public void setDarkBackgroundLogo(@jakarta.annotation.Nullable final MimeContent value) {
this.backingStore.set("darkBackgroundLogo", value);
}
/**
* Sets the displayName property value. Company/organization name that is displayed to end users.
* @param value Value to set for the displayName property.
*/
public void setDisplayName(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("displayName", value);
}
/**
* Sets the lightBackgroundLogo property value. Logo image displayed in Company Portal apps which have a light background behind the logo.
* @param value Value to set for the lightBackgroundLogo property.
*/
public void setLightBackgroundLogo(@jakarta.annotation.Nullable final MimeContent value) {
this.backingStore.set("lightBackgroundLogo", value);
}
/**
* Sets the @odata.type property value. The OdataType property
* @param value Value to set for the @odata.type property.
*/
public void setOdataType(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("odataType", value);
}
/**
* Sets the onlineSupportSiteName property value. Display name of the company/organizations IT helpdesk site.
* @param value Value to set for the onlineSupportSiteName property.
*/
public void setOnlineSupportSiteName(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("onlineSupportSiteName", value);
}
/**
* Sets the onlineSupportSiteUrl property value. URL to the company/organizations IT helpdesk site.
* @param value Value to set for the onlineSupportSiteUrl property.
*/
public void setOnlineSupportSiteUrl(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("onlineSupportSiteUrl", value);
}
/**
* Sets the privacyUrl property value. URL to the company/organizations privacy policy.
* @param value Value to set for the privacyUrl property.
*/
public void setPrivacyUrl(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("privacyUrl", value);
}
/**
* Sets the showDisplayNameNextToLogo property value. Boolean that represents whether the administrator-supplied display name will be shown next to the logo image.
* @param value Value to set for the showDisplayNameNextToLogo property.
*/
public void setShowDisplayNameNextToLogo(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("showDisplayNameNextToLogo", value);
}
/**
* Sets the showLogo property value. Boolean that represents whether the administrator-supplied logo images are shown or not shown.
* @param value Value to set for the showLogo property.
*/
public void setShowLogo(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("showLogo", value);
}
/**
* Sets the showNameNextToLogo property value. Boolean that represents whether the administrator-supplied display name will be shown next to the logo image.
* @param value Value to set for the showNameNextToLogo property.
*/
public void setShowNameNextToLogo(@jakarta.annotation.Nullable final Boolean value) {
this.backingStore.set("showNameNextToLogo", value);
}
/**
* Sets the themeColor property value. Primary theme color used in the Company Portal applications and web portal.
* @param value Value to set for the themeColor property.
*/
public void setThemeColor(@jakarta.annotation.Nullable final RgbColor value) {
this.backingStore.set("themeColor", value);
}
}