// Copyright © 2020 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp.DevTools.IndexedDB
{
///
/// Object store.
///
[System.Runtime.Serialization.DataContractAttribute]
public class ObjectStore : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Object store name.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))]
public string Name
{
get;
set;
}
///
/// Object store key path.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("keyPath"), IsRequired = (true))]
public CefSharp.DevTools.IndexedDB.KeyPath KeyPath
{
get;
set;
}
///
/// If true, object store has auto increment flag set.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("autoIncrement"), IsRequired = (true))]
public bool AutoIncrement
{
get;
set;
}
///
/// Indexes in this object store.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("indexes"), IsRequired = (true))]
public System.Collections.Generic.IList Indexes
{
get;
set;
}
}
}