Class: Privy::Models::KeyQuorum::AuthorizationKey
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::KeyQuorum::AuthorizationKey
- Defined in:
- lib/privy/models/key_quorum.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
- #initialize(display_name:, public_key:) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(display_name:, public_key:) ⇒ Object
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/privy/models/key_quorum.rb', line 53 class AuthorizationKey < Privy::Internal::Type::BaseModel # @!attribute display_name # # @return [String, nil] required :display_name, String, nil?: true # @!attribute public_key # # @return [String] required :public_key, String # @!method initialize(display_name:, public_key:) # @param display_name [String, nil] # @param public_key [String] end |
Instance Attribute Details
#display_name ⇒ String?
57 |
# File 'lib/privy/models/key_quorum.rb', line 57 required :display_name, String, nil?: true |
#public_key ⇒ String
62 |
# File 'lib/privy/models/key_quorum.rb', line 62 required :public_key, String |