// 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
{
///
/// Database with an array of object stores.
///
[System.Runtime.Serialization.DataContractAttribute]
public class DatabaseWithObjectStores : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Database name.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))]
public string Name
{
get;
set;
}
///
/// Database version (type is not 'integer', as the standard
/// requires the version number to be 'unsigned long long')
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("version"), IsRequired = (true))]
public long Version
{
get;
set;
}
///
/// Object stores in this database.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("objectStores"), IsRequired = (true))]
public System.Collections.Generic.IList ObjectStores
{
get;
set;
}
}
}