Class: Inttegro::Chime::EmailScannedLink

Inherits:
T::Struct
  • Object
show all
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

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.

Returns:

  • (String, nil)


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.

Returns:

  • (String, nil)


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.

Returns:

  • (String, nil)


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.

Returns:

  • (String, nil)


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