Class: Increase::Models::AccountTransfer::CreatedBy

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/account_transfer.rb

Overview

See Also:

Defined Under Namespace

Modules: Category Classes: APIKey, OAuthApplication, User

Instance Attribute Summary collapse

Class Method 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(name: ) ⇒ Object

If present, details about the OAuth Application that created the transfer.

Parameters:

  • name (String) (defaults to: )

    The name of the OAuth Application.



# File 'lib/increase/models/account_transfer.rb', line 242

Instance Attribute Details

#api_keyIncrease::Models::AccountTransfer::CreatedBy::APIKey?

If present, details about the API key that created the transfer.



222
# File 'lib/increase/models/account_transfer.rb', line 222

required :api_key, -> { Increase::AccountTransfer::CreatedBy::APIKey }, nil?: true

#categorySymbol, Increase::Models::AccountTransfer::CreatedBy::Category

The type of object that created this transfer.



228
# File 'lib/increase/models/account_transfer.rb', line 228

required :category, enum: -> { Increase::AccountTransfer::CreatedBy::Category }

#oauth_applicationIncrease::Models::AccountTransfer::CreatedBy::OAuthApplication?

If present, details about the OAuth Application that created the transfer.



234
# File 'lib/increase/models/account_transfer.rb', line 234

required :oauth_application, -> { Increase::AccountTransfer::CreatedBy::OAuthApplication }, nil?: true

#userIncrease::Models::AccountTransfer::CreatedBy::User?

If present, details about the User that created the transfer.



240
# File 'lib/increase/models/account_transfer.rb', line 240

required :user, -> { Increase::AccountTransfer::CreatedBy::User }, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/account_transfer.rb', line 282