Class: WhopSDK::Models::SocialAccountCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::SocialAccountCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/whop_sdk/models/social_account_create_params.rb,
sig/whop_sdk/models/social_account_create_params.rbs
Overview
Defined Under Namespace
Modules: Platform
Instance Attribute Summary collapse
-
#account_id ⇒ String?
The Account (biz_ identifier) to create the social account for.
-
#platform ⇒ Symbol, WhopSDK::Models::SocialAccountCreateParams::Platform
The platform to create the social account on.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(platform:, account_id: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see SocialAccountCreateParams for more details.
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(platform:, account_id: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see WhopSDK::Models::SocialAccountCreateParams for more details.
account-scope
|
|
# File 'lib/whop_sdk/models/social_account_create_params.rb', line 23
|
Instance Attribute Details
#account_id ⇒ String?
The Account (biz_ identifier) to create the social account for. An account-scoped API key may omit this to default to its own account.
21 |
# File 'lib/whop_sdk/models/social_account_create_params.rb', line 21 optional :account_id, String |
#platform ⇒ Symbol, WhopSDK::Models::SocialAccountCreateParams::Platform
The platform to create the social account on.
14 |
# File 'lib/whop_sdk/models/social_account_create_params.rb', line 14 required :platform, enum: -> { WhopSDK::SocialAccountCreateParams::Platform } |
Instance Method Details
#to_hash ⇒ {
26 |
# File 'sig/whop_sdk/models/social_account_create_params.rbs', line 26
def to_hash: -> {
|