Search Results for

    Show / Hide Table of Contents
    View Source

    Class ItemResponseModelBase

    Serves as the base response model for items in the Umbraco CMS Management API.

    Inheritance
    object
    Namespace: Umbraco.Cms.Api.Management.ViewModels.Item
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public abstract class ItemResponseModelBase : IHasFlags

    Constructors

    View Source

    ItemResponseModelBase()

    Declaration
    protected ItemResponseModelBase()

    Properties

    View Source

    Flags

    Gets or sets the collection of flags associated with the item.

    Declaration
    public IEnumerable<FlagModel> Flags { get; set; }
    Property Value
    Type Description
    IEnumerable<FlagModel>
    View Source

    Id

    Gets or sets the unique identifier of the item.

    Declaration
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid

    Methods

    View Source

    AddFlag(string)

    Adds a flag with the specified alias to the item.

    Declaration
    public void AddFlag(string alias)
    Parameters
    Type Name Description
    string alias

    The alias of the flag to add.

    View Source

    RemoveFlag(string)

    Removes a flag identified by the specified alias.

    Declaration
    public void RemoveFlag(string alias)
    Parameters
    Type Name Description
    string alias

    The alias of the flag to remove.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX