Class: Imagekitio::Models::FileVersionDeleteEvent::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/imagekitio/models/file_version_delete_event.rb

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

#initialize(file_id:, version_id:) ⇒ Object

Parameters:

  • file_id (String)

    The unique ‘fileId` of the deleted file.

  • version_id (String)

    The unique ‘versionId` of the deleted file version.



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/imagekitio/models/file_version_delete_event.rb', line 32

class Data < Imagekitio::Internal::Type::BaseModel
  # @!attribute file_id
  #   The unique `fileId` of the deleted file.
  #
  #   @return [String]
  required :file_id, String, api_name: :fileId

  # @!attribute version_id
  #   The unique `versionId` of the deleted file version.
  #
  #   @return [String]
  required :version_id, String, api_name: :versionId

  # @!method initialize(file_id:, version_id:)
  #   @param file_id [String] The unique `fileId` of the deleted file.
  #
  #   @param version_id [String] The unique `versionId` of the deleted file version.
end

Instance Attribute Details

#file_idString

The unique ‘fileId` of the deleted file.

Returns:

  • (String)


37
# File 'lib/imagekitio/models/file_version_delete_event.rb', line 37

required :file_id, String, api_name: :fileId

#version_idString

The unique ‘versionId` of the deleted file version.

Returns:

  • (String)


43
# File 'lib/imagekitio/models/file_version_delete_event.rb', line 43

required :version_id, String, api_name: :versionId