Class: Inttegro::Shared::PolicyLimits

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/shared/policy_limits.rb

Overview

Typed representation of the policy limits 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

#amount ⇒ Inttegro::Shared::PolicyAmountRange (readonly)

Value of the amount field in the Inttegro API payload.

Required in the API payload. Wire name: amount.



24
25
26
# File 'lib/inttegro/shared/policy_limits.rb', line 24

class PolicyLimits < T::Struct
  const :amount, Inttegro::Shared::PolicyAmountRange
end