Class: Privy::Models::UserCreateParams::Wallet::AdditionalSigner

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/user_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(signer_id:, override_policy_ids: nil) ⇒ Object

Some parameter documentations has been truncated, see Privy::Models::UserCreateParams::Wallet::AdditionalSigner for more details.

Parameters:

  • signer_id (String)

    A unique identifier for a key quorum.

  • override_policy_ids (Array<String>) (defaults to: nil)

    The array of policy IDs that will be applied to wallet requests. If specified, t



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'lib/privy/models/user_create_params.rb', line 76

class AdditionalSigner < Privy::Internal::Type::BaseModel
  # @!attribute signer_id
  #   A unique identifier for a key quorum.
  #
  #   @return [String]
  required :signer_id, String

  # @!attribute override_policy_ids
  #   The array of policy IDs that will be applied to wallet requests. If specified,
  #   this will override the base policy IDs set on the wallet. Currently, only one
  #   policy is supported per signer.
  #
  #   @return [Array<String>, nil]
  optional :override_policy_ids, Privy::Internal::Type::ArrayOf[String]

  # @!method initialize(signer_id:, override_policy_ids: nil)
  #   Some parameter documentations has been truncated, see
  #   {Privy::Models::UserCreateParams::Wallet::AdditionalSigner} for more details.
  #
  #   @param signer_id [String] A unique identifier for a key quorum.
  #
  #   @param override_policy_ids [Array<String>] The array of policy IDs that will be applied to wallet requests. If specified, t
end

Instance Attribute Details

#override_policy_idsArray<String>?

The array of policy IDs that will be applied to wallet requests. If specified, this will override the base policy IDs set on the wallet. Currently, only one policy is supported per signer.

Returns:

  • (Array<String>, nil)


89
# File 'lib/privy/models/user_create_params.rb', line 89

optional :override_policy_ids, Privy::Internal::Type::ArrayOf[String]

#signer_idString

A unique identifier for a key quorum.

Returns:

  • (String)


81
# File 'lib/privy/models/user_create_params.rb', line 81

required :signer_id, String