CrystaLXD::BackgroundOperation
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance methods
class
Returns the runtime Class of an object.
1.class # => Int32
"hello".class # => String
Compare it with typeof, which returns the compile-time type of an object:
random_value = rand # => 0.627423
value = random_value < 0.5 ? 1 : "hello"
value # => "hello"
value.class # => String
typeof(value) # => Int32 | String
created_at
description
err
id
location
may_cancel
metadata
resources
status
status_code
updated_at