Class: Inttegro::File::ServiceHealthResponse
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::File::ServiceHealthResponse
- Defined in:
- lib/inttegro/file/service_health_response.rb
Overview
Typed representation of the service health response 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
-
#checked_at ⇒ Time
readonly
Value of the
checked_atfield in the Inttegro API payload. -
#environment ⇒ String
readonly
Value of the
environmentfield in the Inttegro API payload. -
#service ⇒ String
readonly
Value of the
servicefield in the Inttegro API payload. -
#status ⇒ String
readonly
Value of the
statusfield in the Inttegro API payload.
Instance Attribute Details
#checked_at ⇒ Time (readonly)
Value of the checked_at field in the Inttegro API payload.
Required in the API payload. Wire name: checked_at.
41 42 43 44 45 46 |
# File 'lib/inttegro/file/service_health_response.rb', line 41 class ServiceHealthResponse < T::Struct const :service, String const :status, String const :environment, String const :checked_at, Time end |
#environment ⇒ String (readonly)
Value of the environment field in the Inttegro API payload.
Required in the API payload. Wire name: environment.
41 42 43 44 45 46 |
# File 'lib/inttegro/file/service_health_response.rb', line 41 class ServiceHealthResponse < T::Struct const :service, String const :status, String const :environment, String const :checked_at, Time end |
#service ⇒ String (readonly)
Value of the service field in the Inttegro API payload.
Required in the API payload. Wire name: service.
41 42 43 44 45 46 |
# File 'lib/inttegro/file/service_health_response.rb', line 41 class ServiceHealthResponse < T::Struct const :service, String const :status, String const :environment, String const :checked_at, Time end |
#status ⇒ String (readonly)
Value of the status field in the Inttegro API payload.
Required in the API payload. Wire name: status.
41 42 43 44 45 46 |
# File 'lib/inttegro/file/service_health_response.rb', line 41 class ServiceHealthResponse < T::Struct const :service, String const :status, String const :environment, String const :checked_at, Time end |