Class: Inttegro::Application::EnabledCapability

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/app/enabled_capability.rb

Overview

Typed representation of the enabled capability 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

#status ⇒ Inttegro::Application::EnabledCapabilityStatus (readonly)

Value of the status field in the Inttegro API payload.

Required in the API payload. Wire name: status.



30
31
32
33
# File 'lib/inttegro/app/enabled_capability.rb', line 30

class EnabledCapability < T::Struct
  const :status, Inttegro::Application::EnabledCapabilityStatus
  const :status_changed_at, Time
end

#status_changed_at ⇒ Time (readonly)

Value of the status_changed_at field in the Inttegro API payload.

Required in the API payload. Wire name: status_changed_at.

Returns:

  • (Time)


30
31
32
33
# File 'lib/inttegro/app/enabled_capability.rb', line 30

class EnabledCapability < T::Struct
  const :status, Inttegro::Application::EnabledCapabilityStatus
  const :status_changed_at, Time
end