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

com.microsoft.graph.beta.generated.models.AndroidDeviceOwnerKioskModeManagedFolderReference Maven / Gradle / Ivy

There is a newer version: 6.26.0
Show newest version
package com.microsoft.graph.beta.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;
/**
 * A reference to folder containing apps and weblinks on the Managed Home Screen
 */
@jakarta.annotation.Generated("com.microsoft.kiota")
public class AndroidDeviceOwnerKioskModeManagedFolderReference extends AndroidDeviceOwnerKioskModeHomeScreenItem implements Parsable {
    /**
     * Instantiates a new {@link AndroidDeviceOwnerKioskModeManagedFolderReference} and sets the default values.
     */
    public AndroidDeviceOwnerKioskModeManagedFolderReference() {
        super();
        this.setOdataType("#microsoft.graph.androidDeviceOwnerKioskModeManagedFolderReference");
    }
    /**
     * 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 AndroidDeviceOwnerKioskModeManagedFolderReference}
     */
    @jakarta.annotation.Nonnull
    public static AndroidDeviceOwnerKioskModeManagedFolderReference createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
        Objects.requireNonNull(parseNode);
        return new AndroidDeviceOwnerKioskModeManagedFolderReference();
    }
    /**
     * 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("folderIdentifier", (n) -> { this.setFolderIdentifier(n.getStringValue()); });
        deserializerMap.put("folderName", (n) -> { this.setFolderName(n.getStringValue()); });
        return deserializerMap;
    }
    /**
     * Gets the folderIdentifier property value. Unique identifier for the folder
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getFolderIdentifier() {
        return this.backingStore.get("folderIdentifier");
    }
    /**
     * Gets the folderName property value. Name of the folder
     * @return a {@link String}
     */
    @jakarta.annotation.Nullable
    public String getFolderName() {
        return this.backingStore.get("folderName");
    }
    /**
     * 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.writeStringValue("folderIdentifier", this.getFolderIdentifier());
        writer.writeStringValue("folderName", this.getFolderName());
    }
    /**
     * Sets the folderIdentifier property value. Unique identifier for the folder
     * @param value Value to set for the folderIdentifier property.
     */
    public void setFolderIdentifier(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("folderIdentifier", value);
    }
    /**
     * Sets the folderName property value. Name of the folder
     * @param value Value to set for the folderName property.
     */
    public void setFolderName(@jakarta.annotation.Nullable final String value) {
        this.backingStore.set("folderName", value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy