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.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
import com.microsoft.kiota.serialization.SerializationWriter;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
@jakarta.annotation.Generated("com.microsoft.kiota")
public class ApplicationTemplate extends Entity implements Parsable {
/**
* Instantiates a new {@link ApplicationTemplate} and sets the default values.
*/
public ApplicationTemplate() {
super();
}
/**
* 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 ApplicationTemplate}
*/
@jakarta.annotation.Nonnull
public static ApplicationTemplate createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new ApplicationTemplate();
}
/**
* Gets the categories property value. The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getCategories() {
return this.backingStore.get("categories");
}
/**
* Gets the description property value. A description of the application.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getDescription() {
return this.backingStore.get("description");
}
/**
* Gets the displayName property value. The name of the application.
* @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>(super.getFieldDeserializers());
deserializerMap.put("categories", (n) -> { this.setCategories(n.getCollectionOfPrimitiveValues(String.class)); });
deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); });
deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
deserializerMap.put("homePageUrl", (n) -> { this.setHomePageUrl(n.getStringValue()); });
deserializerMap.put("logoUrl", (n) -> { this.setLogoUrl(n.getStringValue()); });
deserializerMap.put("publisher", (n) -> { this.setPublisher(n.getStringValue()); });
deserializerMap.put("supportedProvisioningTypes", (n) -> { this.setSupportedProvisioningTypes(n.getCollectionOfPrimitiveValues(String.class)); });
deserializerMap.put("supportedSingleSignOnModes", (n) -> { this.setSupportedSingleSignOnModes(n.getCollectionOfPrimitiveValues(String.class)); });
return deserializerMap;
}
/**
* Gets the homePageUrl property value. The home page URL of the application.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getHomePageUrl() {
return this.backingStore.get("homePageUrl");
}
/**
* Gets the logoUrl property value. The URL to get the logo for this application.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getLogoUrl() {
return this.backingStore.get("logoUrl");
}
/**
* Gets the publisher property value. The name of the publisher for this application.
* @return a {@link String}
*/
@jakarta.annotation.Nullable
public String getPublisher() {
return this.backingStore.get("publisher");
}
/**
* Gets the supportedProvisioningTypes property value. The list of provisioning modes supported by this application. The only valid value is sync.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getSupportedProvisioningTypes() {
return this.backingStore.get("supportedProvisioningTypes");
}
/**
* Gets the supportedSingleSignOnModes property value. The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported.
* @return a {@link java.util.List}
*/
@jakarta.annotation.Nullable
public java.util.List getSupportedSingleSignOnModes() {
return this.backingStore.get("supportedSingleSignOnModes");
}
/**
* 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);
super.serialize(writer);
writer.writeCollectionOfPrimitiveValues("categories", this.getCategories());
writer.writeStringValue("description", this.getDescription());
writer.writeStringValue("displayName", this.getDisplayName());
writer.writeStringValue("homePageUrl", this.getHomePageUrl());
writer.writeStringValue("logoUrl", this.getLogoUrl());
writer.writeStringValue("publisher", this.getPublisher());
writer.writeCollectionOfPrimitiveValues("supportedProvisioningTypes", this.getSupportedProvisioningTypes());
writer.writeCollectionOfPrimitiveValues("supportedSingleSignOnModes", this.getSupportedSingleSignOnModes());
}
/**
* Sets the categories property value. The list of categories for the application. Supported values can be: Collaboration, Business Management, Consumer, Content management, CRM, Data services, Developer services, E-commerce, Education, ERP, Finance, Health, Human resources, IT infrastructure, Mail, Management, Marketing, Media, Productivity, Project management, Telecommunications, Tools, Travel, and Web design & hosting.
* @param value Value to set for the categories property.
*/
public void setCategories(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("categories", value);
}
/**
* Sets the description property value. A description of the application.
* @param value Value to set for the description property.
*/
public void setDescription(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("description", value);
}
/**
* Sets the displayName property value. The name of the application.
* @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 homePageUrl property value. The home page URL of the application.
* @param value Value to set for the homePageUrl property.
*/
public void setHomePageUrl(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("homePageUrl", value);
}
/**
* Sets the logoUrl property value. The URL to get the logo for this application.
* @param value Value to set for the logoUrl property.
*/
public void setLogoUrl(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("logoUrl", value);
}
/**
* Sets the publisher property value. The name of the publisher for this application.
* @param value Value to set for the publisher property.
*/
public void setPublisher(@jakarta.annotation.Nullable final String value) {
this.backingStore.set("publisher", value);
}
/**
* Sets the supportedProvisioningTypes property value. The list of provisioning modes supported by this application. The only valid value is sync.
* @param value Value to set for the supportedProvisioningTypes property.
*/
public void setSupportedProvisioningTypes(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("supportedProvisioningTypes", value);
}
/**
* Sets the supportedSingleSignOnModes property value. The list of single sign-on modes supported by this application. The supported values are oidc, password, saml, and notSupported.
* @param value Value to set for the supportedSingleSignOnModes property.
*/
public void setSupportedSingleSignOnModes(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("supportedSingleSignOnModes", value);
}
}