Class: Inttegro::Chime::EmailScannedLink
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Chime::EmailScannedLink
- Defined in:
- lib/inttegro/chime/email_scanned_link.rb
Overview
Typed representation of the email 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 ⇒ Inttegro::Shared::ContentSafetyStatus?
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.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/chime/email_scanned_link.rb', line 48 class EmailScannedLink < T::Struct const :raw, T.nilable(String), default: nil const :scheme, T.nilable(String), default: nil const :host, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Shared::ContentSafetyStatus), default: nil const :reason, T.nilable(String), default: nil end |
#raw ⇒ String? (readonly)
Value of the raw field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: raw.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/chime/email_scanned_link.rb', line 48 class EmailScannedLink < T::Struct const :raw, T.nilable(String), default: nil const :scheme, T.nilable(String), default: nil const :host, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Shared::ContentSafetyStatus), default: nil const :reason, T.nilable(String), default: nil 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.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/chime/email_scanned_link.rb', line 48 class EmailScannedLink < T::Struct const :raw, T.nilable(String), default: nil const :scheme, T.nilable(String), default: nil const :host, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Shared::ContentSafetyStatus), default: nil const :reason, T.nilable(String), default: nil end |
#scheme ⇒ String? (readonly)
Value of the scheme field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: scheme.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/chime/email_scanned_link.rb', line 48 class EmailScannedLink < T::Struct const :raw, T.nilable(String), default: nil const :scheme, T.nilable(String), default: nil const :host, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Shared::ContentSafetyStatus), default: nil const :reason, T.nilable(String), default: nil end |
#status ⇒ Inttegro::Shared::ContentSafetyStatus? (readonly)
Value of the status field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: status.
48 49 50 51 52 53 54 |
# File 'lib/inttegro/chime/email_scanned_link.rb', line 48 class EmailScannedLink < T::Struct const :raw, T.nilable(String), default: nil const :scheme, T.nilable(String), default: nil const :host, T.nilable(String), default: nil const :status, T.nilable(Inttegro::Shared::ContentSafetyStatus), default: nil const :reason, T.nilable(String), default: nil end |