All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.graph.models.UserFlowLanguageConfiguration Maven / Gradle / Ivy

// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.Entity;


import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
 * The class for the User Flow Language Configuration.
 */
public class UserFlowLanguageConfiguration extends Entity implements IJsonBackedObject {


    /**
     * The Display Name.
     * The language name to display. This property is read-only.
     */
    @SerializedName(value = "displayName", alternate = {"DisplayName"})
    @Expose
	@Nullable
    public String displayName;

    /**
     * The Is Enabled.
     * Indicates whether the language is enabled within the user flow.
     */
    @SerializedName(value = "isEnabled", alternate = {"IsEnabled"})
    @Expose
	@Nullable
    public Boolean isEnabled;

    /**
     * The Default Pages.
     * Collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification.
     */
    @SerializedName(value = "defaultPages", alternate = {"DefaultPages"})
    @Expose
	@Nullable
    public com.microsoft.graph.requests.UserFlowLanguagePageCollectionPage defaultPages;

    /**
     * The Overrides Pages.
     * Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages).
     */
    @SerializedName(value = "overridesPages", alternate = {"OverridesPages"})
    @Expose
	@Nullable
    public com.microsoft.graph.requests.UserFlowLanguagePageCollectionPage overridesPages;


    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {


        if (json.has("defaultPages")) {
            defaultPages = serializer.deserializeObject(json.get("defaultPages"), com.microsoft.graph.requests.UserFlowLanguagePageCollectionPage.class);
        }

        if (json.has("overridesPages")) {
            overridesPages = serializer.deserializeObject(json.get("overridesPages"), com.microsoft.graph.requests.UserFlowLanguagePageCollectionPage.class);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy