Class: Moonbase::Models::SocialProfileLinkedInParam

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/moonbase/models/social_profile_linked_in_param.rb

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(url: nil, username: nil) ⇒ Object

Some parameter documentations has been truncated, see Moonbase::Models::SocialProfileLinkedInParam for more details.

Social media profile information including both the full URL and extracted username.

Parameters:

  • url (String) (defaults to: nil)

    The full URL to the LinkedIn profile.

  • username (String) (defaults to: nil)

    The LinkedIn username, including the prefix ‘company/’ for company pages or ‘in/



# File 'lib/moonbase/models/social_profile_linked_in_param.rb', line 19

Instance Attribute Details

#urlString?

The full URL to the LinkedIn profile.

Returns:

  • (String, nil)


10
# File 'lib/moonbase/models/social_profile_linked_in_param.rb', line 10

optional :url, String

#usernameString?

The LinkedIn username, including the prefix ‘company/’ for company pages or ‘in/’ for personal profiles.

Returns:

  • (String, nil)


17
# File 'lib/moonbase/models/social_profile_linked_in_param.rb', line 17

optional :username, String