Class: PostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::X

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

Overview

See Also:

  • PostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData#x

Defined Under Namespace

Modules: ConnectionType

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(connection_type:) ⇒ Object

Some parameter documentations has been truncated, see PostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::X for more details.

Additional data for connecting X accounts

Parameters:



# File 'lib/post_for_me/models/social_account_create_auth_url_params.rb', line 379

Instance Attribute Details

#connection_typeSymbol, PostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::X::ConnectionType

The type of connection; oauth1 for OAuth 1.0a app credentials, oauth2 for OAuth 2.0 app credentials.

Parameters:

  • value (PostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::X::connection_type)

Returns:



376
377
# File 'lib/post_for_me/models/social_account_create_auth_url_params.rb', line 376

required :connection_type,
enum: -> { PostForMe::SocialAccountCreateAuthURLParams::PlatformData::X::ConnectionType }

Instance Method Details

#to_hash{

Returns:

  • ({)


323
# File 'sig/post_for_me/models/social_account_create_auth_url_params.rbs', line 323

def to_hash: -> {