Class: Inttegro::MessageTemplate::ScannedLink
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::MessageTemplate::ScannedLink
- Defined in:
- lib/inttegro/message_template/scanned_link.rb
Overview
Typed representation of the scanned link 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
-
#host ⇒ String?
readonly
Value of the
hostfield in the Inttegro API payload. -
#raw ⇒ String
readonly
Value of the
rawfield in the Inttegro API payload. -
#reason ⇒ String?
readonly
Value of the
reasonfield in the Inttegro API payload. -
#scheme ⇒ String
readonly
Value of the
schemefield in the Inttegro API payload. -
#status ⇒ String
readonly
Value of the
statusfield in the Inttegro API payload.
Instance Attribute Details
#host ⇒ String? (readonly)
Value of the host field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: host.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/message_template/scanned_link.rb', line 47 class ScannedLink < T::Struct const :host, T.nilable(String), default: nil const :raw, String const :reason, T.nilable(String), default: nil const :scheme, String const :status, String end |
#raw ⇒ String (readonly)
Value of the raw field in the Inttegro API payload.
Required in the API payload. Wire name: raw.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/message_template/scanned_link.rb', line 47 class ScannedLink < T::Struct const :host, T.nilable(String), default: nil const :raw, String const :reason, T.nilable(String), default: nil const :scheme, String const :status, String end |
#reason ⇒ String? (readonly)
Value of the reason field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: reason.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/message_template/scanned_link.rb', line 47 class ScannedLink < T::Struct const :host, T.nilable(String), default: nil const :raw, String const :reason, T.nilable(String), default: nil const :scheme, String const :status, String end |
#scheme ⇒ String (readonly)
Value of the scheme field in the Inttegro API payload.
Required in the API payload. Wire name: scheme.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/message_template/scanned_link.rb', line 47 class ScannedLink < T::Struct const :host, T.nilable(String), default: nil const :raw, String const :reason, T.nilable(String), default: nil const :scheme, String const :status, String end |
#status ⇒ String (readonly)
Value of the status field in the Inttegro API payload.
Required in the API payload. Wire name: status.
47 48 49 50 51 52 53 |
# File 'lib/inttegro/message_template/scanned_link.rb', line 47 class ScannedLink < T::Struct const :host, T.nilable(String), default: nil const :raw, String const :reason, T.nilable(String), default: nil const :scheme, String const :status, String end |