Class: Firecrawl::Models::MonitorCheck
- Inherits:
-
Object
- Object
- Firecrawl::Models::MonitorCheck
- Defined in:
- lib/firecrawl/models/monitor.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#actual_credits ⇒ Object
readonly
Returns the value of attribute actual_credits.
-
#billing_status ⇒ Object
readonly
Returns the value of attribute billing_status.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#estimated_credits ⇒ Object
readonly
Returns the value of attribute estimated_credits.
-
#finished_at ⇒ Object
readonly
Returns the value of attribute finished_at.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#monitor_id ⇒ Object
readonly
Returns the value of attribute monitor_id.
-
#notification_status ⇒ Object
readonly
Returns the value of attribute notification_status.
-
#reserved_credits ⇒ Object
readonly
Returns the value of attribute reserved_credits.
-
#scheduled_for ⇒ Object
readonly
Returns the value of attribute scheduled_for.
-
#started_at ⇒ Object
readonly
Returns the value of attribute started_at.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
-
#target_results ⇒ Object
readonly
Returns the value of attribute target_results.
-
#trigger ⇒ Object
readonly
Returns the value of attribute trigger.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Instance Method Summary collapse
-
#initialize(data) ⇒ MonitorCheck
constructor
A new instance of MonitorCheck.
Constructor Details
#initialize(data) ⇒ MonitorCheck
Returns a new instance of MonitorCheck.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/firecrawl/models/monitor.rb', line 37 def initialize(data) @id = data["id"] @monitor_id = data["monitorId"] @status = data["status"] @trigger = data["trigger"] @scheduled_for = data["scheduledFor"] @started_at = data["startedAt"] @finished_at = data["finishedAt"] @estimated_credits = data["estimatedCredits"] @reserved_credits = data["reservedCredits"] @actual_credits = data["actualCredits"] @billing_status = data["billingStatus"] @summary = data["summary"] || {} @target_results = data["targetResults"] @notification_status = data["notificationStatus"] @error = data["error"] @created_at = data["createdAt"] @updated_at = data["updatedAt"] end |
Instance Attribute Details
#actual_credits ⇒ Object (readonly)
Returns the value of attribute actual_credits.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def actual_credits @actual_credits end |
#billing_status ⇒ Object (readonly)
Returns the value of attribute billing_status.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def billing_status @billing_status end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def created_at @created_at end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def error @error end |
#estimated_credits ⇒ Object (readonly)
Returns the value of attribute estimated_credits.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def estimated_credits @estimated_credits end |
#finished_at ⇒ Object (readonly)
Returns the value of attribute finished_at.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def finished_at @finished_at end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def id @id end |
#monitor_id ⇒ Object (readonly)
Returns the value of attribute monitor_id.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def monitor_id @monitor_id end |
#notification_status ⇒ Object (readonly)
Returns the value of attribute notification_status.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def notification_status @notification_status end |
#reserved_credits ⇒ Object (readonly)
Returns the value of attribute reserved_credits.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def reserved_credits @reserved_credits end |
#scheduled_for ⇒ Object (readonly)
Returns the value of attribute scheduled_for.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def scheduled_for @scheduled_for end |
#started_at ⇒ Object (readonly)
Returns the value of attribute started_at.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def started_at @started_at end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def status @status end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def summary @summary end |
#target_results ⇒ Object (readonly)
Returns the value of attribute target_results.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def target_results @target_results end |
#trigger ⇒ Object (readonly)
Returns the value of attribute trigger.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def trigger @trigger end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
31 32 33 |
# File 'lib/firecrawl/models/monitor.rb', line 31 def updated_at @updated_at end |