Class: Imagekitio::Models::Accounts::OriginResponse::WebFolder

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/imagekitio/models/accounts/origin_response.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Imagekitio::Internal::Type::BaseModel

Instance Attribute Details

#base_urlString

Root URL for the web folder origin.

Returns:

  • (String)


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

required :base_url, String, api_name: :baseUrl

#base_url_for_canonical_headerString?

URL used in the Canonical header (if enabled).

Returns:

  • (String, nil)


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

optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader

#forward_host_header_to_originBoolean

Forward the Host header to origin?

Returns:

  • (Boolean)


256
257
258
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 256

required :forward_host_header_to_origin,
Imagekitio::Internal::Type::Boolean,
api_name: :forwardHostHeaderToOrigin

#include_canonical_headerBoolean

Whether to send a Canonical header.

Returns:

  • (Boolean)


264
265
266
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 264

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

#nameString

Display name of the origin.

Returns:

  • (String)


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

required :name, String

#typeSymbol, :WEB_FOLDER

Returns:

  • (Symbol, :WEB_FOLDER)


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

required :type, const: :WEB_FOLDER