Class ReportRun

    • Constructor Detail

      • ReportRun

        public ReportRun()
    • Method Detail

      • getCreated

        public java.lang.Long getCreated()
        Time at which the object was created. Measured in seconds since the Unix epoch.
      • getError

        public java.lang.String getError()
        If something should go wrong during the run, a message about the failure (populated when status=failed).
      • getLivemode

        public java.lang.Boolean getLivemode()
        true if the report is run on live mode data and false if it is run on test mode data.
      • getObject

        public java.lang.String getObject()
        String representing the object's type. Objects of the same type share the same value.

        Equal to reporting.report_run.

      • getReportType

        public java.lang.String getReportType()
        The ID of the report type to run, such as "balance.summary.1".
      • getResult

        public File getResult()
        The file object representing the result of the report run (populated when status=succeeded).
      • getStatus

        public java.lang.String getStatus()
        Status of this report run. This will be pending when the run is initially created. When the run finishes, this will be set to succeeded and the result field will be populated. Rarely, we may encounter an error, at which point this will be set to failed and the error field will be populated.
      • getSucceededAt

        public java.lang.Long getSucceededAt()
        Timestamp at which this run successfully finished (populated when status=succeeded). Measured in seconds since the Unix epoch.
      • setCreated

        public void setCreated​(java.lang.Long created)
        Time at which the object was created. Measured in seconds since the Unix epoch.
      • setError

        public void setError​(java.lang.String error)
        If something should go wrong during the run, a message about the failure (populated when status=failed).
      • setId

        public void setId​(java.lang.String id)
        Unique identifier for the object.
      • setLivemode

        public void setLivemode​(java.lang.Boolean livemode)
        true if the report is run on live mode data and false if it is run on test mode data.
      • setObject

        public void setObject​(java.lang.String object)
        String representing the object's type. Objects of the same type share the same value.

        Equal to reporting.report_run.

      • setReportType

        public void setReportType​(java.lang.String reportType)
        The ID of the report type to run, such as "balance.summary.1".
      • setResult

        public void setResult​(File result)
        The file object representing the result of the report run (populated when status=succeeded).
      • setStatus

        public void setStatus​(java.lang.String status)
        Status of this report run. This will be pending when the run is initially created. When the run finishes, this will be set to succeeded and the result field will be populated. Rarely, we may encounter an error, at which point this will be set to failed and the error field will be populated.
      • setSucceededAt

        public void setSucceededAt​(java.lang.Long succeededAt)
        Timestamp at which this run successfully finished (populated when status=succeeded). Measured in seconds since the Unix epoch.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getId

        public java.lang.String getId()
        Unique identifier for the object.
        Specified by:
        getId in interface HasId