Class: Imagekitio::Models::Accounts::OriginResponse::WebFolder
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::Accounts::OriginResponse::WebFolder
- Defined in:
- lib/imagekitio/models/accounts/origin_response.rb,
sig/imagekitio/models/accounts/origin_response.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?.
-
#id ⇒ String
Returns the value of attribute id.
-
#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
216 |
# File 'sig/imagekitio/models/accounts/origin_response.rbs', line 216
def initialize: (
|
Instance Attribute Details
#base_url ⇒ String
Root URL for the web folder origin.
268 |
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 268 required :base_url, String, api_name: :baseUrl |
#base_url_for_canonical_header ⇒ String?
URL used in the Canonical header (if enabled).
301 |
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 301 optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader |
#forward_host_header_to_origin ⇒ Boolean
Forward the Host header to origin?
274 275 276 |
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 274 required :forward_host_header_to_origin, Imagekitio::Internal::Type::Boolean, api_name: :forwardHostHeaderToOrigin |
#id ⇒ String
Returns the value of attribute id.
214 215 216 |
# File 'sig/imagekitio/models/accounts/origin_response.rbs', line 214 def id @id end |
#include_canonical_header ⇒ Boolean
Whether to send a Canonical header.
282 283 284 |
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 282 required :include_canonical_header, Imagekitio::Internal::Type::Boolean, api_name: :includeCanonicalHeader |
#name ⇒ String
Display name of the origin.
290 |
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 290 required :name, String |
#type ⇒ Symbol, :WEB_FOLDER
295 |
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 295 required :type, const: :WEB_FOLDER |
Instance Method Details
#to_hash ⇒ {
226 |
# File 'sig/imagekitio/models/accounts/origin_response.rbs', line 226
def to_hash: -> {
|