Class: Inttegro::Order::DocumentDeliveryChannelSummary

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/order/document_delivery_channel_summary.rb

Overview

Bounded aggregate of Chime-accepted sends through one channel.

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

#count ⇒ Integer (readonly)

Number of deliveries accepted through this channel.

Required in the API payload. Wire name: count.

Returns:

  • (Integer)


29
30
31
32
# File 'lib/inttegro/order/document_delivery_channel_summary.rb', line 29

class DocumentDeliveryChannelSummary < T::Struct
  const :count, Integer
  const :latest_sent_at, Time
end

#latest_sent_at ⇒ Time (readonly)

Latest authoritative Chime acceptance time for this channel.

Required in the API payload. Wire name: latest_sent_at.

Returns:

  • (Time)


29
30
31
32
# File 'lib/inttegro/order/document_delivery_channel_summary.rb', line 29

class DocumentDeliveryChannelSummary < T::Struct
  const :count, Integer
  const :latest_sent_at, Time
end