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

com.microsoft.graph.models.extensions.WorkbookChartDataLabels Maven / Gradle / Ivy

// ------------------------------------------------------------------------------
// 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.extensions;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.Arrays;
import java.util.EnumSet;
import com.microsoft.graph.models.extensions.WorkbookChartDataLabelFormat;
import com.microsoft.graph.models.extensions.Entity;


import com.google.gson.JsonObject;
import com.google.gson.JsonElement;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
import java.util.Map;

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

/**
 * The class for the Workbook Chart Data Labels.
 */
public class WorkbookChartDataLabels extends Entity implements IJsonBackedObject {


    /**
     * The Position.
     * DataLabelPosition value that represents the position of the data label. The possible values are: None, Center, InsideEnd, InsideBase, OutsideEnd, Left, Right, Top, Bottom, BestFit, Callout.
     */
    @SerializedName("position")
    @Expose
    public String position;

    /**
     * The Separator.
     * String representing the separator used for the data labels on a chart.
     */
    @SerializedName("separator")
    @Expose
    public String separator;

    /**
     * The Show Bubble Size.
     * Boolean value representing if the data label bubble size is visible or not.
     */
    @SerializedName("showBubbleSize")
    @Expose
    public Boolean showBubbleSize;

    /**
     * The Show Category Name.
     * Boolean value representing if the data label category name is visible or not.
     */
    @SerializedName("showCategoryName")
    @Expose
    public Boolean showCategoryName;

    /**
     * The Show Legend Key.
     * Boolean value representing if the data label legend key is visible or not.
     */
    @SerializedName("showLegendKey")
    @Expose
    public Boolean showLegendKey;

    /**
     * The Show Percentage.
     * Boolean value representing if the data label percentage is visible or not.
     */
    @SerializedName("showPercentage")
    @Expose
    public Boolean showPercentage;

    /**
     * The Show Series Name.
     * Boolean value representing if the data label series name is visible or not.
     */
    @SerializedName("showSeriesName")
    @Expose
    public Boolean showSeriesName;

    /**
     * The Show Value.
     * Boolean value representing if the data label value is visible or not.
     */
    @SerializedName("showValue")
    @Expose
    public Boolean showValue;

    /**
     * The Format.
     * Represents the format of chart data labels, which includes fill and font formatting. Read-only.
     */
    @SerializedName("format")
    @Expose
    public WorkbookChartDataLabelFormat format;


    /**
     * The raw representation of this class
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this class
     *
     * @return the raw representation of this class
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

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

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy