Class: Imagekitio::Models::Accounts::OriginResponse::S3Compatible

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)


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

optional :base_url_for_canonical_header, String, api_name: :baseUrlForCanonicalHeader

#bucketString

S3 bucket name.

Returns:

  • (String)


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

required :bucket, String

#endpointString

Custom S3-compatible endpoint.

Returns:

  • (String)


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

required :endpoint, String

#include_canonical_headerBoolean

Whether to send a Canonical header.

Returns:

  • (Boolean)


113
114
115
# File 'lib/imagekitio/models/accounts/origin_response.rb', line 113

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

#nameString

Display name of the origin.

Returns:

  • (String)


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

required :name, String

#prefixString

Path prefix inside the bucket.

Returns:

  • (String)


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

required :prefix, String

#s3_force_path_styleBoolean

Use path-style S3 URLs?

Returns:

  • (Boolean)


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

required :s3_force_path_style, Imagekitio::Internal::Type::Boolean, api_name: :s3ForcePathStyle

#typeSymbol, :S3_COMPATIBLE

Returns:

  • (Symbol, :S3_COMPATIBLE)


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

required :type, const: :S3_COMPATIBLE