Class: PostForMe::Models::AccountConfiguration

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/post_for_me/models/account_configuration.rb,
sig/post_for_me/models/account_configuration.rbs

Defined Under Namespace

Classes: Configuration

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(configuration:, social_account_id:) ⇒ Object

Parameters:



# File 'lib/post_for_me/models/account_configuration.rb', line 18

Instance Attribute Details

#configurationPostForMe::Models::AccountConfiguration::Configuration

Configuration for the social account

Parameters:

  • value (PostForMe::AccountConfiguration::Configuration)

Returns:



10
# File 'lib/post_for_me/models/account_configuration.rb', line 10

required :configuration, -> { PostForMe::AccountConfiguration::Configuration }

#social_account_idString

ID of the social account, you want to apply the configuration to

Parameters:

  • value (String)

Returns:

  • (String)


16
# File 'lib/post_for_me/models/account_configuration.rb', line 16

required :social_account_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


19
# File 'sig/post_for_me/models/account_configuration.rbs', line 19

def to_hash: -> {