getProperties
suspend fun getProperties(args: Runtime.GetPropertiesParameter, mode: CommandMode = CommandMode.DEFAULT): Runtime.GetPropertiesReturn
Returns properties of a given object. Object group of the result is inherited from the target object.
suspend fun getProperties(objectId: String, ownProperties: Boolean? = null, accessorPropertiesOnly: Boolean? = null, generatePreview: Boolean? = null, nonIndexedPropertiesOnly: Boolean? = null): Runtime.GetPropertiesReturn
Returns properties of a given object. Object group of the result is inherited from the target object.
Parameters
objectId
Identifier of the object to return properties for.
ownProperties
If true, returns properties belonging only to the element itself, not to its prototype chain.
accessorPropertiesOnly
If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.
generatePreview
Whether preview should be generated for the results.
nonIndexedPropertiesOnly
If true, returns non-indexed properties only.