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

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

Defined Under Namespace

Classes: Bluesky, Facebook, Instagram, Linkedin, Pinterest, Threads, Tiktok, TiktokBusiness, X, Youtube

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

Some parameter documentations has been truncated, see TiktokBusiness for more details.

Additional data for connecting TikTok Business accounts

Parameters:

  • permission_overrides (Array<String>) (defaults to: nil)

    Override the default permissions/scopes requested during OAuth. Default scopes:



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

Instance Attribute Details

#blueskyPostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::Bluesky?

Additional data needed for connecting bluesky accounts



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

optional :bluesky, -> { PostForMe::SocialAccountCreateAuthURLParams::PlatformData::Bluesky }

#facebookPostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::Facebook?

Additional data for connecting facebook accounts



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

optional :facebook, -> { PostForMe::SocialAccountCreateAuthURLParams::PlatformData::Facebook }

#instagramPostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::Instagram?

Additional data for connecting instagram accounts



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

optional :instagram, -> { PostForMe::SocialAccountCreateAuthURLParams::PlatformData::Instagram }

#linkedinPostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::Linkedin?

Additional data for connecting linkedin accounts



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

optional :linkedin, -> { PostForMe::SocialAccountCreateAuthURLParams::PlatformData::Linkedin }

#pinterestPostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::Pinterest?

Additional data for connecting Pinterest accounts



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

optional :pinterest, -> { PostForMe::SocialAccountCreateAuthURLParams::PlatformData::Pinterest }

#threadsPostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::Threads?

Additional data for connecting Threads accounts



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

optional :threads, -> { PostForMe::SocialAccountCreateAuthURLParams::PlatformData::Threads }

#tiktokPostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::Tiktok?

Additional data for connecting TikTok accounts



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

optional :tiktok, -> { PostForMe::SocialAccountCreateAuthURLParams::PlatformData::Tiktok }

#tiktok_businessPostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::TiktokBusiness?

Additional data for connecting TikTok Business accounts



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

optional :tiktok_business,
-> { PostForMe::SocialAccountCreateAuthURLParams::PlatformData::TiktokBusiness }

#xPostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::X?

Additional data for connecting X accounts



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

optional :x, -> { PostForMe::SocialAccountCreateAuthURLParams::PlatformData::X }

#youtubePostForMe::Models::SocialAccountCreateAuthURLParams::PlatformData::Youtube?

Additional data for connecting YouTube accounts



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

optional :youtube, -> { PostForMe::SocialAccountCreateAuthURLParams::PlatformData::Youtube }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {