Class: Fizzy::Types::DataExport
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::DataExport
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#download_url ⇒ Object
readonly
Returns the value of attribute download_url.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Class Method Summary collapse
Instance Attribute Details
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
492 493 494 |
# File 'lib/fizzy/generated/types.rb', line 492 def created_at @created_at end |
#download_url ⇒ Object (readonly)
Returns the value of attribute download_url
492 493 494 |
# File 'lib/fizzy/generated/types.rb', line 492 def download_url @download_url end |
#id ⇒ Object (readonly)
Returns the value of attribute id
492 493 494 |
# File 'lib/fizzy/generated/types.rb', line 492 def id @id end |
#status ⇒ Object (readonly)
Returns the value of attribute status
492 493 494 |
# File 'lib/fizzy/generated/types.rb', line 492 def status @status end |
Class Method Details
.from_json(data) ⇒ Object
494 495 496 497 498 499 500 501 |
# File 'lib/fizzy/generated/types.rb', line 494 def self.from_json(data) new( id: data["id"], status: data["status"], created_at: data["created_at"], download_url: data["download_url"] ) end |