// 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.Profiler
{
///
/// Coverage data for a JavaScript script.
///
[System.Runtime.Serialization.DataContractAttribute]
public class ScriptCoverage : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// JavaScript script id.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (true))]
public string ScriptId
{
get;
set;
}
///
/// JavaScript script name or url.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))]
public string Url
{
get;
set;
}
///
/// Functions contained in the script that has coverage data.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("functions"), IsRequired = (true))]
public System.Collections.Generic.IList Functions
{
get;
set;
}
}
}