Class: Inttegro::Request::Response

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

Overview

Caller-controlled preferences for computing and representing the successful response.

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

#projection ⇒ Hash{String => Inttegro::Request::PropertySelection} (readonly)

Public property selections keyed by the endpoint's response resource names.

Required in the API payload. Wire name: projection.

Returns:



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

class Response < T::Struct
  const :projection, T::Hash[String, Inttegro::Request::PropertySelection]
end