Class: Privy::Models::KrakenEmbedGetPortfolioTransactionsQueryParamsSchema::RefID
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::KrakenEmbedGetPortfolioTransactionsQueryParamsSchema::RefID
- Defined in:
- lib/privy/models/kraken_embed_get_portfolio_transactions_query_params_schema.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
- #ref_id ⇒ String
- #type ⇒ Symbol, Privy::Models::KrakenEmbedGetPortfolioTransactionsQueryParamsSchema::RefID::Type
Instance Method Summary collapse
- #initialize(ref_id:, type:) ⇒ 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(ref_id:, type:) ⇒ Object
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
# File 'lib/privy/models/kraken_embed_get_portfolio_transactions_query_params_schema.rb', line 79 class RefID < Privy::Internal::Type::BaseModel # @!attribute ref_id # # @return [String] required :ref_id, String # @!attribute type # # @return [Symbol, Privy::Models::KrakenEmbedGetPortfolioTransactionsQueryParamsSchema::RefID::Type] required :type, enum: -> { Privy::KrakenEmbedGetPortfolioTransactionsQueryParamsSchema::RefID::Type } # @!method initialize(ref_id:, type:) # @param ref_id [String] # @param type [Symbol, Privy::Models::KrakenEmbedGetPortfolioTransactionsQueryParamsSchema::RefID::Type] # @see Privy::Models::KrakenEmbedGetPortfolioTransactionsQueryParamsSchema::RefID#type module Type extend Privy::Internal::Type::Enum SIMPLE_ORDER_QUOTE = :simple_order_quote SIMPLE_ORDER_QUOTE_FAILED = :simple_order_quote_failed # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#ref_id ⇒ String
83 |
# File 'lib/privy/models/kraken_embed_get_portfolio_transactions_query_params_schema.rb', line 83 required :ref_id, String |
#type ⇒ Symbol, Privy::Models::KrakenEmbedGetPortfolioTransactionsQueryParamsSchema::RefID::Type
88 |
# File 'lib/privy/models/kraken_embed_get_portfolio_transactions_query_params_schema.rb', line 88 required :type, enum: -> { Privy::KrakenEmbedGetPortfolioTransactionsQueryParamsSchema::RefID::Type } |