Class: Inttegro::Search::Response

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/search/response.rb

Overview

Typed representation of the response object in the Inttegro API.

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#search ⇒ Inttegro::Search::Page (readonly)

Value of the search field in the Inttegro API payload.

Required in the API payload. Wire name: search.



24
25
26
# File 'lib/inttegro/search/response.rb', line 24

class Response < T::Struct
  const :search, Inttegro::Search::Page
end