Class: ContextDev::Models::BrandRetrieveResponse::Brand::Links

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/context_dev/models/brand_retrieve_response.rb,
sig/context_dev/models/brand_retrieve_response.rbs

Overview

See Also:

  • ContextDev::Models::BrandRetrieveResponse::Brand#links

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

#initializeObject



914
# File 'sig/context_dev/models/brand_retrieve_response.rbs', line 914

def initialize: (

Instance Attribute Details

#blogString?

URL to the brand's blog or news page

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


653
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 653

optional :blog, String, nil?: true

#careersString?

URL to the brand's careers or job opportunities page

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


659
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 659

optional :careers, String, nil?: true

#contactString?

URL to the brand's contact or contact us page

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


665
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 665

optional :contact, String, nil?: true

#pricingString?

URL to the brand's pricing or plans page

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


671
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 671

optional :pricing, String, nil?: true

#privacyString?

URL to the brand's privacy policy page

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


677
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 677

optional :privacy, String, nil?: true

#termsString?

URL to the brand's terms of service or terms and conditions page

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


683
# File 'lib/context_dev/models/brand_retrieve_response.rb', line 683

optional :terms, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


923
# File 'sig/context_dev/models/brand_retrieve_response.rbs', line 923

def to_hash: -> {