Class: Imagekitio::Models::Accounts::OriginResponse::WebProxy

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

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

#initializeObject



259
# File 'sig/imagekitio/models/accounts/origin_response.rbs', line 259

def initialize: (

Instance Attribute Details

#base_url_for_canonical_headerString?

URL used in the Canonical header (if enabled).

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader

#idString

Returns the value of attribute id.

Returns:

  • (String)


257
258
259
# File 'sig/imagekitio/models/accounts/origin_response.rbs', line 257

def id
  @id
end

#include_canonical_headerBoolean

Whether to send a Canonical header.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


336
337
338
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 336

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

#nameString

Display name of the origin.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :name, String

#typeSymbol, :WEB_PROXY

Parameters:

  • value (:WEB_PROXY)

Returns:

  • (Symbol, :WEB_PROXY)


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

required :type, const: :WEB_PROXY

Instance Method Details

#to_hash{

Returns:

  • ({)


267
# File 'sig/imagekitio/models/accounts/origin_response.rbs', line 267

def to_hash: -> {