42 lines
1.7 KiB
C#
42 lines
1.7 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Shuttle.Api.AfterEffectsDTO.Items
|
|
{
|
|
/// <summary>
|
|
/// The FolderItem object corresponds to a folder in your Project panel. It can contain various types
|
|
/// of items (footage, compositions, solids) as well as other folders.
|
|
/// </summary>
|
|
public class FolderItem : Item
|
|
{
|
|
/// <summary>
|
|
/// An ItemCollection object containing Item object that represent the top-level contents of this
|
|
/// folder. Unlike the ItemCollection in the Project object, this collection contains only the top-level
|
|
/// items in the folder. Top-level within the folder is not the same as top-level within the project. Only
|
|
/// those items that are top-level in the root folder are also top-level in the Project.
|
|
/// </summary>
|
|
[JsonProperty("items")]
|
|
public int[] ItemIds { get; set; } = new int[0];
|
|
|
|
/// <summary>
|
|
/// The number of items contained in the items collection (folderItem.items.length). If the folder
|
|
/// contains another folder, only the FolderItem for that folder is counted, not any subitems contained in
|
|
/// it.
|
|
/// </summary>
|
|
[JsonProperty("numItems")]
|
|
public int NumItems { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return Name;
|
|
}
|
|
}
|
|
}
|