Class: Imagekitio::Models::Accounts::URLEndpointRequest::URLRewriter::Imgix

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/imagekitio/models/accounts/url_endpoint_request.rb,
sig/imagekitio/models/accounts/url_endpoint_request.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

#initializeImgix

Returns a new instance of Imgix.

Parameters:

  • type: (:IMGIX)


77
# File 'sig/imagekitio/models/accounts/url_endpoint_request.rbs', line 77

def initialize: (?type: :IMGIX) -> void

Instance Attribute Details

#typeSymbol, :IMGIX

Parameters:

  • value (:IMGIX)

Returns:

  • (Symbol, :IMGIX)


88
# File 'lib/imagekitio/models/accounts/url_endpoint_request.rb', line 88

required :type, const: :IMGIX

Instance Method Details

#to_hash{ type: :IMGIX }

Returns:

  • ({ type: :IMGIX })


79
# File 'sig/imagekitio/models/accounts/url_endpoint_request.rbs', line 79

def to_hash: -> { type: :IMGIX }