com.hubspot.chrome.devtools.client.core.dom.SetChildNodesEvent Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.dom;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.chrome.devtools.client.core.Event;
import java.util.List;
/**
* Fired when backend wants to provide client with the missing DOM structure. This happens upon
* most of the calls requesting node ids.
*/
public final class SetChildNodesEvent extends Event {
private NodeId parentId;
private List nodes;
@JsonCreator
public SetChildNodesEvent(@JsonProperty("parentId") NodeId parentId,
@JsonProperty("nodes") List nodes) {
this.parentId = parentId;
this.nodes = nodes;
}
public NodeId getParentId() {
return parentId;
}
public List getNodes() {
return nodes;
}
}