Class: Inttegro::Application::CapabilityRequirement
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Application::CapabilityRequirement
- Defined in:
- lib/inttegro/app/capability_requirement.rb
Overview
Typed representation of the capability requirement 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
-
#code ⇒ String
readonly
Stable public identifier for the requirement.
-
#description ⇒ String
readonly
Public explanation of what must be completed.
-
#due_at ⇒ Time?
readonly
Requirement deadline, or null when no deadline applies.
Instance Attribute Details
#code ⇒ String (readonly)
Stable public identifier for the requirement.
Required in the API payload. Wire name: code.
35 36 37 38 39 |
# File 'lib/inttegro/app/capability_requirement.rb', line 35 class CapabilityRequirement < T::Struct const :code, String const :description, String const :due_at, T.nilable(Time) end |
#description ⇒ String (readonly)
Public explanation of what must be completed.
Required in the API payload. Wire name: description.
35 36 37 38 39 |
# File 'lib/inttegro/app/capability_requirement.rb', line 35 class CapabilityRequirement < T::Struct const :code, String const :description, String const :due_at, T.nilable(Time) end |
#due_at ⇒ Time? (readonly)
Requirement deadline, or null when no deadline applies.
Required in the API payload. Wire name: due_at.
35 36 37 38 39 |
# File 'lib/inttegro/app/capability_requirement.rb', line 35 class CapabilityRequirement < T::Struct const :code, String const :description, String const :due_at, T.nilable(Time) end |