Class: Imagekitio::Models::Accounts::OriginResponse::CloudinaryBackup

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

URL used in the Canonical header (if enabled).

Returns:

  • (String, nil)


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

optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader

#bucketString

S3 bucket name.

Returns:

  • (String)


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

required :bucket, String

#include_canonical_headerBoolean

Whether to send a Canonical header.

Returns:

  • (Boolean)


189
190
191
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 189

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

#nameString

Display name of the origin.

Returns:

  • (String)


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

required :name, String

#prefixString

Path prefix inside the bucket.

Returns:

  • (String)


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

required :prefix, String

#typeSymbol, :CLOUDINARY_BACKUP

Returns:

  • (Symbol, :CLOUDINARY_BACKUP)


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

required :type, const: :CLOUDINARY_BACKUP