Class: Altertable::Lakehouse::Models::CancelQueryResponse
- Defined in:
- lib/altertable/lakehouse/models.rb
Instance Attribute Summary collapse
-
#cancelled ⇒ Object
readonly
Returns the value of attribute cancelled.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cancelled:, message:) ⇒ CancelQueryResponse
constructor
A new instance of CancelQueryResponse.
Methods inherited from Request
Constructor Details
#initialize(cancelled:, message:) ⇒ CancelQueryResponse
Returns a new instance of CancelQueryResponse.
175 176 177 178 |
# File 'lib/altertable/lakehouse/models.rb', line 175 def initialize(cancelled:, message:) @cancelled = cancelled @message = end |
Instance Attribute Details
#cancelled ⇒ Object (readonly)
Returns the value of attribute cancelled.
173 174 175 |
# File 'lib/altertable/lakehouse/models.rb', line 173 def cancelled @cancelled end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
173 174 175 |
# File 'lib/altertable/lakehouse/models.rb', line 173 def @message end |
Class Method Details
.from_h(h) ⇒ Object
180 181 182 |
# File 'lib/altertable/lakehouse/models.rb', line 180 def self.from_h(h) new(cancelled: h["cancelled"], message: h["message"]) end |