Class: Inttegro::SecretKey::UsageRow

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/secret_key/usage_row.rb

Overview

Public authentication outcome associated with the selected key.

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

#auth_result ⇒ Inttegro::SecretKey::AuthResult (readonly)

Value of the auth_result field in the Inttegro API payload.

Required in the API payload. Wire name: auth_result.



36
37
38
39
40
# File 'lib/inttegro/secret_key/usage_row.rb', line 36

class UsageRow < T::Struct
  const :secret_key_id, String
  const :occurred_at, Time
  const :auth_result, Inttegro::SecretKey::AuthResult
end

#occurred_at ⇒ Time (readonly)

Value of the occurred_at field in the Inttegro API payload.

Required in the API payload. Wire name: occurred_at.

Returns:

  • (Time)


36
37
38
39
40
# File 'lib/inttegro/secret_key/usage_row.rb', line 36

class UsageRow < T::Struct
  const :secret_key_id, String
  const :occurred_at, Time
  const :auth_result, Inttegro::SecretKey::AuthResult
end

#secret_key_id ⇒ String (readonly)

Value of the secret_key_id field in the Inttegro API payload.

Required in the API payload. Wire name: secret_key_id.

Returns:

  • (String)


36
37
38
39
40
# File 'lib/inttegro/secret_key/usage_row.rb', line 36

class UsageRow < T::Struct
  const :secret_key_id, String
  const :occurred_at, Time
  const :auth_result, Inttegro::SecretKey::AuthResult
end