Class: Imagekitio::Models::NamedTransformationUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/imagekitio/models/named_transformation_update_params.rb,
sig/imagekitio/models/named_transformation_update_params.rbs

Overview

See Also:

  • Imagekitio::Resources::NamedTransformations#update

Constant Summary

Constants included from Internal::Type::RequestParameters

Internal::Type::RequestParameters::Imagekitio

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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

#initialize(id:, enabled: nil, name: nil, transformation: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Imagekitio::Models::NamedTransformationUpdateParams for more details.

Parameters:

  • id (String)

    Unique identifier for a named transformation.

  • enabled (Boolean) (defaults to: nil)

    Whether the named transformation is enabled. Omit to leave the current value unc

  • name (String) (defaults to: nil)

    Alias for the transformation string, used in URLs as tr:n-<name>. This is case

  • transformation (String) (defaults to: nil)

    The transformation string this named transformation refers to. Learn more about

  • request_options (Imagekitio::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/imagekitio/models/named_transformation_update_params.rb', line 38

Instance Attribute Details

#enabledBoolean?

Whether the named transformation is enabled. Omit to leave the current value unchanged.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


21
# File 'lib/imagekitio/models/named_transformation_update_params.rb', line 21

optional :enabled, Imagekitio::Internal::Type::Boolean

#idString

Unique identifier for a named transformation.

Parameters:

  • value (String)

Returns:

  • (String)


14
# File 'lib/imagekitio/models/named_transformation_update_params.rb', line 14

required :id, String

#nameString?

Alias for the transformation string, used in URLs as tr:n-<name>. This is case-sensitive, contains only alphanumeric characters or _ (underscore), and is unique across all named transformations for your account.

Parameters:

  • (String)

Returns:

  • (String, nil)


29
# File 'lib/imagekitio/models/named_transformation_update_params.rb', line 29

optional :name, String

#transformationString?

The transformation string this named transformation refers to. Learn more about the transformation string syntax.

Parameters:

  • (String)

Returns:

  • (String, nil)


36
# File 'lib/imagekitio/models/named_transformation_update_params.rb', line 36

optional :transformation, String

Instance Method Details

#to_hash{

Returns:

  • ({)


33
# File 'sig/imagekitio/models/named_transformation_update_params.rbs', line 33

def to_hash: -> {