Class: Dodopayments::Models::Product::DigitalProductDelivery::File

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/dodopayments/models/product.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: , file_name: , url: ) ⇒ Object



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# File 'lib/dodopayments/models/product.rb', line 181

class File < Dodopayments::Internal::Type::BaseModel
  # @!attribute file_id
  #
  #   @return [String]
  required :file_id, String

  # @!attribute file_name
  #
  #   @return [String]
  required :file_name, String

  # @!attribute url
  #
  #   @return [String]
  required :url, String

  # @!method initialize(file_id:, file_name:, url:)
  #   @param file_id [String]
  #   @param file_name [String]
  #   @param url [String]
end

Instance Attribute Details

#file_idString



185
# File 'lib/dodopayments/models/product.rb', line 185

required :file_id, String

#file_nameString



190
# File 'lib/dodopayments/models/product.rb', line 190

required :file_name, String

#urlString



195
# File 'lib/dodopayments/models/product.rb', line 195

required :url, String