GetPropertiesRequest

@Serializable
data class GetPropertiesRequest(val objectId: RemoteObjectId, val ownProperties: Boolean? = null, val accessorPropertiesOnly: Boolean? = null, val generatePreview: Boolean? = null, val nonIndexedPropertiesOnly: Boolean? = null)

Request object containing input parameters for the RuntimeDomain.getProperties command.

Constructors

Link copied to clipboard
constructor(objectId: RemoteObjectId, ownProperties: Boolean? = null, accessorPropertiesOnly: Boolean? = null, generatePreview: Boolean? = null, nonIndexedPropertiesOnly: Boolean? = null)

Types

Link copied to clipboard
class Builder(val objectId: RemoteObjectId)

A builder for GetPropertiesRequest, which allows setting the optional parameters of the RuntimeDomain.getProperties command via a lambda.

Properties

Link copied to clipboard

If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.

Link copied to clipboard

Whether preview should be generated for the results.

Link copied to clipboard

If true, returns non-indexed properties only.

Link copied to clipboard

Identifier of the object to return properties for.

Link copied to clipboard

If true, returns properties belonging only to the element itself, not to its prototype chain.