Class: Imagekitio::Models::Accounts::OriginRequest::WebFolder
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::Accounts::OriginRequest::WebFolder
- Defined in:
- lib/imagekitio/models/accounts/origin_request.rb,
sig/imagekitio/models/accounts/origin_request.rbs
Instance Attribute Summary collapse
-
#base_url ⇒ String
Root URL for the web folder origin.
-
#base_url_for_canonical_header ⇒ String?
URL used in the Canonical header (if enabled).
-
#forward_host_header_to_origin ⇒ Boolean?
Forward the Host header to origin?.
-
#include_canonical_header ⇒ Boolean?
Whether to send a Canonical header.
-
#name ⇒ String
Display name of the origin.
- #type ⇒ Symbol, :WEB_FOLDER
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
246 |
# File 'sig/imagekitio/models/accounts/origin_request.rbs', line 246
def initialize: (
|
Instance Attribute Details
#base_url ⇒ String
Root URL for the web folder origin.
278 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 278 required :base_url, String, api_name: :baseUrl |
#base_url_for_canonical_header ⇒ String?
URL used in the Canonical header (if enabled).
295 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 295 optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader |
#forward_host_header_to_origin ⇒ Boolean?
Forward the Host header to origin?
301 302 303 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 301 optional :forward_host_header_to_origin, Imagekitio::Internal::Type::Boolean, api_name: :forwardHostHeaderToOrigin |
#include_canonical_header ⇒ Boolean?
Whether to send a Canonical header.
309 310 311 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 309 optional :include_canonical_header, Imagekitio::Internal::Type::Boolean, api_name: :includeCanonicalHeader |
#name ⇒ String
Display name of the origin.
284 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 284 required :name, String |
#type ⇒ Symbol, :WEB_FOLDER
289 |
# File 'lib/imagekitio/models/accounts/origin_request.rb', line 289 required :type, const: :WEB_FOLDER |
Instance Method Details
#to_hash ⇒ {
255 |
# File 'sig/imagekitio/models/accounts/origin_request.rbs', line 255
def to_hash: -> {
|