Class: Imagekitio::Models::Accounts::OriginResponse::AzureBlob

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



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

def initialize: (

Instance Attribute Details

#account_nameString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :account_name, String, api_name: :accountName

#base_url_for_canonical_headerString?

URL used in the Canonical header (if enabled).

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader

#containerString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :container, String

#idString

Returns the value of attribute id.

Returns:

  • (String)


359
360
361
# File 'sig/imagekitio/models/accounts/origin_response.rbs', line 359

def id
  @id
end

#include_canonical_headerBoolean

Whether to send a Canonical header.

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


467
468
469
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 467

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

#nameString

Display name of the origin.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :name, String

#prefixString

Parameters:

  • value (String)

Returns:

  • (String)


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

required :prefix, String

#typeSymbol, :AZURE_BLOB

Parameters:

  • value (:AZURE_BLOB)

Returns:

  • (Symbol, :AZURE_BLOB)


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

required :type, const: :AZURE_BLOB

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {