Class: Moonbase::Models::SocialLinkedInValue::Data

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

Overview

See Also:

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

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

The social media profile for the LinkedIn platform

Parameters:

  • url (String)

    The full URL to the LinkedIn profile.

  • username (String)

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



# File 'lib/moonbase/models/social_linked_in_value.rb', line 39

Instance Attribute Details

#urlString

The full URL to the LinkedIn profile.

Returns:

  • (String)


30
# File 'lib/moonbase/models/social_linked_in_value.rb', line 30

required :url, String

#usernameString

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

Returns:

  • (String)


37
# File 'lib/moonbase/models/social_linked_in_value.rb', line 37

required :username, String