Class: HubSpotSDK::Models::Scheduler::ExternalBrandingMetadata

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/scheduler/external_branding_metadata.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(logo_alt_text:, show_marketing_ad:, show_sales_ad:, accent2_color: nil, accent_color: nil, company_address_line1: nil, company_address_line2: nil, company_avatar: nil, company_city: nil, company_country: nil, company_domain: nil, company_name: nil, company_state: nil, company_zip: nil, logo_height: nil, logo_url: nil, logo_width: nil, primary_color: nil, secondary_color: nil) ⇒ Object

Parameters:

  • logo_alt_text (String)

    The alternative text for the current logo.

  • show_marketing_ad (Boolean)

    Whether Hubspot Marketing ads are shown.

  • show_sales_ad (Boolean)

    Whether Hubspot Sales ads are shown.

  • accent2_color (String) (defaults to: nil)

    The secondary accent color used in branding.

  • accent_color (String) (defaults to: nil)

    The primary accent color used in branding.

  • company_address_line1 (String) (defaults to: nil)

    The first line of the company’s address.

  • company_address_line2 (String) (defaults to: nil)

    The second line of the company’s address.

  • company_avatar (String) (defaults to: nil)

    The URL of the company’s avatar image.

  • company_city (String) (defaults to: nil)

    The city where the company is located.

  • company_country (String) (defaults to: nil)

    The country where the company is located.

  • company_domain (String) (defaults to: nil)

    The domain of the company’s website.

  • company_name (String) (defaults to: nil)

    The name of the company.

  • company_state (String) (defaults to: nil)

    The state where the company is located.

  • company_zip (String) (defaults to: nil)

    The ZIP code of the company’s location.

  • logo_height (Integer) (defaults to: nil)

    The height of the logo in pixels.

  • logo_url (String) (defaults to: nil)

    The URL of a custom logo image.

  • logo_width (Integer) (defaults to: nil)

    The width of the logo in pixels.

  • primary_color (String) (defaults to: nil)

    The primary color used in branding.

  • secondary_color (String) (defaults to: nil)

    The secondary color used in branding.



# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 121

Instance Attribute Details

#accent2_colorString?

The secondary accent color used in branding.

Returns:

  • (String, nil)


29
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 29

optional :accent2_color, String, api_name: :accent2Color

#accent_colorString?

The primary accent color used in branding.

Returns:

  • (String, nil)


35
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 35

optional :accent_color, String, api_name: :accentColor

#company_address_line1String?

The first line of the company’s address.

Returns:

  • (String, nil)


41
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 41

optional :company_address_line1, String, api_name: :companyAddressLine1

#company_address_line2String?

The second line of the company’s address.

Returns:

  • (String, nil)


47
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 47

optional :company_address_line2, String, api_name: :companyAddressLine2

#company_avatarString?

The URL of the company’s avatar image.

Returns:

  • (String, nil)


53
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 53

optional :company_avatar, String, api_name: :companyAvatar

#company_cityString?

The city where the company is located.

Returns:

  • (String, nil)


59
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 59

optional :company_city, String, api_name: :companyCity

#company_countryString?

The country where the company is located.

Returns:

  • (String, nil)


65
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 65

optional :company_country, String, api_name: :companyCountry

#company_domainString?

The domain of the company’s website.

Returns:

  • (String, nil)


71
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 71

optional :company_domain, String, api_name: :companyDomain

#company_nameString?

The name of the company.

Returns:

  • (String, nil)


77
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 77

optional :company_name, String, api_name: :companyName

#company_stateString?

The state where the company is located.

Returns:

  • (String, nil)


83
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 83

optional :company_state, String, api_name: :companyState

#company_zipString?

The ZIP code of the company’s location.

Returns:

  • (String, nil)


89
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 89

optional :company_zip, String, api_name: :companyZip

#logo_alt_textString

The alternative text for the current logo.

Returns:

  • (String)


11
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 11

required :logo_alt_text, String, api_name: :logoAltText

#logo_heightInteger?

The height of the logo in pixels.

Returns:

  • (Integer, nil)


95
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 95

optional :logo_height, Integer, api_name: :logoHeight

#logo_urlString?

The URL of a custom logo image.

Returns:

  • (String, nil)


101
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 101

optional :logo_url, String, api_name: :logoUrl

#logo_widthInteger?

The width of the logo in pixels.

Returns:

  • (Integer, nil)


107
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 107

optional :logo_width, Integer, api_name: :logoWidth

#primary_colorString?

The primary color used in branding.

Returns:

  • (String, nil)


113
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 113

optional :primary_color, String, api_name: :primaryColor

#secondary_colorString?

The secondary color used in branding.

Returns:

  • (String, nil)


119
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 119

optional :secondary_color, String, api_name: :secondaryColor

#show_marketing_adBoolean

Whether Hubspot Marketing ads are shown.

Returns:

  • (Boolean)


17
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 17

required :show_marketing_ad, HubSpotSDK::Internal::Type::Boolean, api_name: :showMarketingAd

#show_sales_adBoolean

Whether Hubspot Sales ads are shown.

Returns:

  • (Boolean)


23
# File 'lib/hubspot_sdk/models/scheduler/external_branding_metadata.rb', line 23

required :show_sales_ad, HubSpotSDK::Internal::Type::Boolean, api_name: :showSalesAd