struct Protocol::Network::ReportingApiReport

Overview

An object representing a report generated by the Reporting API.

Included Modules

Defined in:

protocol/network.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def body : JSON::Any #

[View source]
def completed_attempts : Int::Primitive #

The number of delivery attempts made so far, not including an active attempt.


[View source]
def depth : Int::Primitive #

How many uploads deep the related request was.


[View source]
def destination : String #

The name of the endpoint group that should be used to deliver the report.


[View source]
def id : ReportId #

[View source]
def initiator_url : String #

The URL of the document that triggered the report.


[View source]
def status : ReportStatus #

[View source]
def timestamp : Network::TimeSinceEpoch #

When the report was generated.


[View source]
def type : String #

The type of the report (specifies the set of data that is contained in the report body).


[View source]