Class: OpenObserve::Api::Models::SearchHistoryRequest
- Inherits:
-
Object
- Object
- OpenObserve::Api::Models::SearchHistoryRequest
- Includes:
- Serializable, Validations
- Defined in:
- lib/openobserve-api/models/search_history_request.rb
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ SearchHistoryRequest
constructor
A new instance of SearchHistoryRequest.
Methods included from Validations
included, #list_invalid_properties, #valid?
Methods included from Serializable
#==, #hash, serialize, #to_body, #to_hash, #to_json, #to_s
Constructor Details
#initialize(**attrs) ⇒ SearchHistoryRequest
Returns a new instance of SearchHistoryRequest.
55 56 57 58 59 60 61 62 |
# File 'lib/openobserve-api/models/search_history_request.rb', line 55 def initialize(**attrs) attrs.each do |k, v| raise ArgumentError, "unknown attribute: #{k}" unless respond_to?("#{k}=") public_send("#{k}=", v) end raise ArgumentError, list_invalid_properties.join(', ') unless valid? end |