Class: Imagekitio::Models::Accounts::OriginResponse::AkeneoPim

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/imagekitio/models/accounts/origin_response.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(id:, base_url:, include_canonical_header:, name:, base_url_for_canonical_header: nil, type: :AKENEO_PIM) ⇒ Object

Some parameter documentations has been truncated, see Imagekitio::Models::Accounts::OriginResponse::AkeneoPim for more details.

Parameters:

  • id (String)

    Unique identifier for the origin. This is generated by ImageKit when you create

  • base_url (String)

    Akeneo instance base URL.

  • include_canonical_header (Boolean)

    Whether to send a Canonical header.

  • name (String)

    Display name of the origin.

  • base_url_for_canonical_header (String) (defaults to: nil)

    URL used in the Canonical header (if enabled).

  • type (Symbol, :AKENEO_PIM) (defaults to: :AKENEO_PIM)


# File 'lib/imagekitio/models/accounts/origin_response.rb', line 546

Instance Attribute Details

#base_urlString

Akeneo instance base URL.

Returns:

  • (String)


510
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 510

required :base_url, String, api_name: :baseUrl

#base_url_for_canonical_headerString?

URL used in the Canonical header (if enabled).

Returns:

  • (String, nil)


535
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 535

optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader

#include_canonical_headerBoolean

Whether to send a Canonical header.

Returns:

  • (Boolean)


516
517
518
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 516

required :include_canonical_header,
Imagekitio::Internal::Type::Boolean,
api_name: :includeCanonicalHeader

#nameString

Display name of the origin.

Returns:

  • (String)


524
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 524

required :name, String

#typeSymbol, :AKENEO_PIM

Returns:

  • (Symbol, :AKENEO_PIM)


529
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 529

required :type, const: :AKENEO_PIM