// 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.Runtime { /// /// Mirror object referencing original JavaScript object. /// [System.Runtime.Serialization.DataContractAttribute] public class RemoteObject : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// Object type. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] public string Type { get; set; } /// /// Object subtype hint. Specified for `object` or `wasm` type values only. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("subtype"), IsRequired = (false))] public string Subtype { get; set; } /// /// Object class (constructor) name. Specified for `object` type values only. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("className"), IsRequired = (false))] public string ClassName { get; set; } /// /// Remote object value in case of primitive values or JSON values (if it was requested). /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))] public object Value { get; set; } /// /// Primitive value which can not be JSON-stringified does not have `value`, but gets this /// property. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("unserializableValue"), IsRequired = (false))] public string UnserializableValue { get; set; } /// /// String representation of the object. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("description"), IsRequired = (false))] public string Description { get; set; } /// /// Unique object identifier (for non-primitive values). /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("objectId"), IsRequired = (false))] public string ObjectId { get; set; } /// /// Preview containing abbreviated property values. Specified for `object` type values only. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("preview"), IsRequired = (false))] public CefSharp.DevTools.Runtime.ObjectPreview Preview { get; set; } /// /// CustomPreview /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("customPreview"), IsRequired = (false))] public CefSharp.DevTools.Runtime.CustomPreview CustomPreview { get; set; } } }