The constructor.
the body of the response.
Protected
dataThe response data.
Private
Readonly
pagingThe paging of the response.
Gets the response data.
the response data.
Finds the first metric that matches the given expression. Returns undefined if no match is found.
the first metric that matches the given expression or undefined if no match is found.
the expression to match with the metric.
Finds the metric with the given name. Returns undefined if not found.
the metric with the given name or undefined if not found.
the name of the metric.
whether to ignore the case of the name. True by default.
Gets the metrics in the response.
the metrics in the response.
Finds all the metrics that match the given expression.
an array of the metrics that match the expression.
the expression to match with the metrics.
Finds all the metrics whose names match the given regex.
the metrics whose names match the given regex.
Generated using TypeDoc
Class that represents a response from a Page Insights request for Day, Week or Month metrics.
Author
Tiago Grosso tiagogrosso99@gmail.com
Since
0.1.0