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

com.microsoft.graph.models.ColumnDefinition 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.models.BooleanColumn;
import com.microsoft.graph.models.CalculatedColumn;
import com.microsoft.graph.models.ChoiceColumn;
import com.microsoft.graph.models.ContentApprovalStatusColumn;
import com.microsoft.graph.models.CurrencyColumn;
import com.microsoft.graph.models.DateTimeColumn;
import com.microsoft.graph.models.DefaultColumnValue;
import com.microsoft.graph.models.GeolocationColumn;
import com.microsoft.graph.models.HyperlinkOrPictureColumn;
import com.microsoft.graph.models.LookupColumn;
import com.microsoft.graph.models.NumberColumn;
import com.microsoft.graph.models.PersonOrGroupColumn;
import com.microsoft.graph.models.ContentTypeInfo;
import com.microsoft.graph.models.TermColumn;
import com.microsoft.graph.models.TextColumn;
import com.microsoft.graph.models.ThumbnailColumn;
import com.microsoft.graph.models.ColumnTypes;
import com.microsoft.graph.models.ColumnValidation;
import com.microsoft.graph.models.ColumnDefinition;
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 Column Definition.
 */
public class ColumnDefinition extends Entity implements IJsonBackedObject {


    /**
     * The Boolean.
     * This column stores boolean values.
     */
    @SerializedName(value = "boolean", alternate = {"Boolean"})
    @Expose
	@Nullable
    public BooleanColumn msgraphBoolean;

    /**
     * The Calculated.
     * This column's data is calculated based on other columns.
     */
    @SerializedName(value = "calculated", alternate = {"Calculated"})
    @Expose
	@Nullable
    public CalculatedColumn calculated;

    /**
     * The Choice.
     * This column stores data from a list of choices.
     */
    @SerializedName(value = "choice", alternate = {"Choice"})
    @Expose
	@Nullable
    public ChoiceColumn choice;

    /**
     * The Column Group.
     * For site columns, the name of the group this column belongs to. Helps organize related columns.
     */
    @SerializedName(value = "columnGroup", alternate = {"ColumnGroup"})
    @Expose
	@Nullable
    public String columnGroup;

    /**
     * The Content Approval Status.
     * This column stores content approval status.
     */
    @SerializedName(value = "contentApprovalStatus", alternate = {"ContentApprovalStatus"})
    @Expose
	@Nullable
    public ContentApprovalStatusColumn contentApprovalStatus;

    /**
     * The Currency.
     * This column stores currency values.
     */
    @SerializedName(value = "currency", alternate = {"Currency"})
    @Expose
	@Nullable
    public CurrencyColumn currency;

    /**
     * The Date Time.
     * This column stores DateTime values.
     */
    @SerializedName(value = "dateTime", alternate = {"DateTime"})
    @Expose
	@Nullable
    public DateTimeColumn dateTime;

    /**
     * The Default Value.
     * The default value for this column.
     */
    @SerializedName(value = "defaultValue", alternate = {"DefaultValue"})
    @Expose
	@Nullable
    public DefaultColumnValue defaultValue;

    /**
     * The Description.
     * The user-facing description of the column.
     */
    @SerializedName(value = "description", alternate = {"Description"})
    @Expose
	@Nullable
    public String description;

    /**
     * The Display Name.
     * The user-facing name of the column.
     */
    @SerializedName(value = "displayName", alternate = {"DisplayName"})
    @Expose
	@Nullable
    public String displayName;

    /**
     * The Enforce Unique Values.
     * If true, no two list items may have the same value for this column.
     */
    @SerializedName(value = "enforceUniqueValues", alternate = {"EnforceUniqueValues"})
    @Expose
	@Nullable
    public Boolean enforceUniqueValues;

    /**
     * The Geolocation.
     * This column stores a geolocation.
     */
    @SerializedName(value = "geolocation", alternate = {"Geolocation"})
    @Expose
	@Nullable
    public GeolocationColumn geolocation;

    /**
     * The Hidden.
     * Specifies whether the column is displayed in the user interface.
     */
    @SerializedName(value = "hidden", alternate = {"Hidden"})
    @Expose
	@Nullable
    public Boolean hidden;

    /**
     * The Hyperlink Or Picture.
     * This column stores hyperlink or picture values.
     */
    @SerializedName(value = "hyperlinkOrPicture", alternate = {"HyperlinkOrPicture"})
    @Expose
	@Nullable
    public HyperlinkOrPictureColumn hyperlinkOrPicture;

    /**
     * The Indexed.
     * Specifies whether the column values can be used for sorting and searching.
     */
    @SerializedName(value = "indexed", alternate = {"Indexed"})
    @Expose
	@Nullable
    public Boolean indexed;

    /**
     * The Is Deletable.
     * Indicates whether this column can be deleted.
     */
    @SerializedName(value = "isDeletable", alternate = {"IsDeletable"})
    @Expose
	@Nullable
    public Boolean isDeletable;

    /**
     * The Is Reorderable.
     * Indicates whether values in the column can be reordered. Read-only.
     */
    @SerializedName(value = "isReorderable", alternate = {"IsReorderable"})
    @Expose
	@Nullable
    public Boolean isReorderable;

    /**
     * The Is Sealed.
     * Specifies whether the column can be changed.
     */
    @SerializedName(value = "isSealed", alternate = {"IsSealed"})
    @Expose
	@Nullable
    public Boolean isSealed;

    /**
     * The Lookup.
     * This column's data is looked up from another source in the site.
     */
    @SerializedName(value = "lookup", alternate = {"Lookup"})
    @Expose
	@Nullable
    public LookupColumn lookup;

    /**
     * The Name.
     * The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName.
     */
    @SerializedName(value = "name", alternate = {"Name"})
    @Expose
	@Nullable
    public String name;

    /**
     * The Number.
     * This column stores number values.
     */
    @SerializedName(value = "number", alternate = {"Number"})
    @Expose
	@Nullable
    public NumberColumn number;

    /**
     * The Person Or Group.
     * This column stores Person or Group values.
     */
    @SerializedName(value = "personOrGroup", alternate = {"PersonOrGroup"})
    @Expose
	@Nullable
    public PersonOrGroupColumn personOrGroup;

    /**
     * The Propagate Changes.
     * If 'true', changes to this column will be propagated to lists that implement the column.
     */
    @SerializedName(value = "propagateChanges", alternate = {"PropagateChanges"})
    @Expose
	@Nullable
    public Boolean propagateChanges;

    /**
     * The Read Only.
     * Specifies whether the column values can be modified.
     */
    @SerializedName(value = "readOnly", alternate = {"ReadOnly"})
    @Expose
	@Nullable
    public Boolean readOnly;

    /**
     * The Required.
     * Specifies whether the column value isn't optional.
     */
    @SerializedName(value = "required", alternate = {"Required"})
    @Expose
	@Nullable
    public Boolean required;

    /**
     * The Source Content Type.
     * ContentType from which this column is inherited from. Present only in contentTypes columns response. Read-only.
     */
    @SerializedName(value = "sourceContentType", alternate = {"SourceContentType"})
    @Expose
	@Nullable
    public ContentTypeInfo sourceContentType;

    /**
     * The Term.
     * This column stores taxonomy terms.
     */
    @SerializedName(value = "term", alternate = {"Term"})
    @Expose
	@Nullable
    public TermColumn term;

    /**
     * The Text.
     * This column stores text values.
     */
    @SerializedName(value = "text", alternate = {"Text"})
    @Expose
	@Nullable
    public TextColumn text;

    /**
     * The Thumbnail.
     * This column stores thumbnail values.
     */
    @SerializedName(value = "thumbnail", alternate = {"Thumbnail"})
    @Expose
	@Nullable
    public ThumbnailColumn thumbnail;

    /**
     * The Type.
     * For site columns, the type of column. Read-only.
     */
    @SerializedName(value = "type", alternate = {"Type"})
    @Expose
	@Nullable
    public ColumnTypes type;

    /**
     * The Validation.
     * This column stores validation formula and message for the column.
     */
    @SerializedName(value = "validation", alternate = {"Validation"})
    @Expose
	@Nullable
    public ColumnValidation validation;

    /**
     * The Source Column.
     * The source column for the content type column.
     */
    @SerializedName(value = "sourceColumn", alternate = {"SourceColumn"})
    @Expose
	@Nullable
    public ColumnDefinition sourceColumn;


    /**
     * 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) {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy