Class: Inttegro::Application::PendingReviewCapability

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

Overview

Typed representation of the pending review 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::PendingReviewCapabilityStatus (readonly)

Value of the status field in the Inttegro API payload.

Required in the API payload. Wire name: status.



37
38
39
40
41
# File 'lib/inttegro/app/pending_review_capability.rb', line 37

class PendingReviewCapability < T::Struct
  const :status, Inttegro::Application::PendingReviewCapabilityStatus
  const :status_reason, Inttegro::Application::PendingReviewCapabilityStatusReason
  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)


37
38
39
40
41
# File 'lib/inttegro/app/pending_review_capability.rb', line 37

class PendingReviewCapability < T::Struct
  const :status, Inttegro::Application::PendingReviewCapabilityStatus
  const :status_reason, Inttegro::Application::PendingReviewCapabilityStatusReason
  const :status_changed_at, Time
end

#status_reason ⇒ Inttegro::Application::PendingReviewCapabilityStatusReason (readonly)

Value of the status_reason field in the Inttegro API payload.

Required in the API payload. Wire name: status_reason.



37
38
39
40
41
# File 'lib/inttegro/app/pending_review_capability.rb', line 37

class PendingReviewCapability < T::Struct
  const :status, Inttegro::Application::PendingReviewCapabilityStatus
  const :status_reason, Inttegro::Application::PendingReviewCapabilityStatusReason
  const :status_changed_at, Time
end