Class: Privy::Models::UserSearchParams::Body::SearchTerm
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::UserSearchParams::Body::SearchTerm
- Defined in:
- lib/privy/models/user_search_params.rb,
sig/privy/models/user_search_params.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ SearchTerm
constructor
A new instance of SearchTerm.
- #to_hash ⇒ { search_term: String }
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 ⇒ SearchTerm
Returns a new instance of SearchTerm.
35 |
# File 'sig/privy/models/user_search_params.rbs', line 35
def initialize: (search_term: String) -> void
|
Instance Attribute Details
#search_term ⇒ String
30 |
# File 'lib/privy/models/user_search_params.rb', line 30 required :search_term, String, api_name: :searchTerm |
Instance Method Details
#to_hash ⇒ { search_term: String }
37 |
# File 'sig/privy/models/user_search_params.rbs', line 37
def to_hash: -> { search_term: String }
|