Class: Imagekitio::Models::Accounts::OriginRequest::WebFolder

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/imagekitio/models/accounts/origin_request.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)


253
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 253

required :base_url, String, api_name: :baseUrl

#base_url_for_canonical_headerString?

URL used in the Canonical header (if enabled).

Returns:

  • (String, nil)


270
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 270

optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader

#forward_host_header_to_originBoolean?

Forward the Host header to origin?

Returns:

  • (Boolean, nil)


276
277
278
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 276

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

#include_canonical_headerBoolean?

Whether to send a Canonical header.

Returns:

  • (Boolean, nil)


284
285
286
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 284

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

#nameString

Display name of the origin.

Returns:

  • (String)


259
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 259

required :name, String

#typeSymbol, :WEB_FOLDER

Returns:

  • (Symbol, :WEB_FOLDER)


264
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 264

required :type, const: :WEB_FOLDER