// 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.Security
{
///
/// Information about insecure content on the page.
///
[System.Runtime.Serialization.DataContractAttribute]
public class InsecureContentStatus : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Always false.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("ranMixedContent"), IsRequired = (true))]
public bool RanMixedContent
{
get;
set;
}
///
/// Always false.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("displayedMixedContent"), IsRequired = (true))]
public bool DisplayedMixedContent
{
get;
set;
}
///
/// Always false.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("containedMixedForm"), IsRequired = (true))]
public bool ContainedMixedForm
{
get;
set;
}
///
/// Always false.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("ranContentWithCertErrors"), IsRequired = (true))]
public bool RanContentWithCertErrors
{
get;
set;
}
///
/// Always false.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("displayedContentWithCertErrors"), IsRequired = (true))]
public bool DisplayedContentWithCertErrors
{
get;
set;
}
///
/// Always set to unknown.
///
public CefSharp.DevTools.Security.SecurityState RanInsecureContentStyle
{
get
{
return (CefSharp.DevTools.Security.SecurityState)(StringToEnum(typeof(CefSharp.DevTools.Security.SecurityState), ranInsecureContentStyle));
}
set
{
ranInsecureContentStyle = (EnumToString(value));
}
}
///
/// Always set to unknown.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("ranInsecureContentStyle"), IsRequired = (true))]
internal string ranInsecureContentStyle
{
get;
set;
}
///
/// Always set to unknown.
///
public CefSharp.DevTools.Security.SecurityState DisplayedInsecureContentStyle
{
get
{
return (CefSharp.DevTools.Security.SecurityState)(StringToEnum(typeof(CefSharp.DevTools.Security.SecurityState), displayedInsecureContentStyle));
}
set
{
displayedInsecureContentStyle = (EnumToString(value));
}
}
///
/// Always set to unknown.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("displayedInsecureContentStyle"), IsRequired = (true))]
internal string displayedInsecureContentStyle
{
get;
set;
}
}
}