Class: Increase::Models::CardDisputeCreateParams::AttachmentFile
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardDisputeCreateParams::AttachmentFile
- Defined in:
- lib/increase/models/card_dispute_create_params.rb,
sig/increase/models/card_dispute_create_params.rbs
Instance Attribute Summary collapse
-
#file_id ⇒ String
The ID of the file to be attached.
Instance Method Summary collapse
-
#initialize ⇒ AttachmentFile
constructor
A new instance of AttachmentFile.
- #to_hash ⇒ { file_id: String }
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 ⇒ AttachmentFile
Returns a new instance of AttachmentFile.
78 |
# File 'sig/increase/models/card_dispute_create_params.rbs', line 78
def initialize: (file_id: String) -> void
|
Instance Attribute Details
#file_id ⇒ String
The ID of the file to be attached. The file must have a purpose of
card_dispute_attachment.
90 |
# File 'lib/increase/models/card_dispute_create_params.rb', line 90 required :file_id, String |
Instance Method Details
#to_hash ⇒ { file_id: String }
80 |
# File 'sig/increase/models/card_dispute_create_params.rbs', line 80
def to_hash: -> { file_id: String }
|