Class: Worldline::Connect::SDK::V1::Domain::UploadDisputeFileResponse
- Inherits:
-
Domain::DataObject
- Object
- Domain::DataObject
- Worldline::Connect::SDK::V1::Domain::UploadDisputeFileResponse
- Defined in:
- lib/worldline/connect/sdk/v1/domain/upload_dispute_file_response.rb
Instance Attribute Summary collapse
-
#dispute_id ⇒ String
The current value of dispute_id.
-
#file_id ⇒ String
The current value of file_id.
Instance Method Summary collapse
Methods inherited from Domain::DataObject
Instance Attribute Details
#dispute_id ⇒ String
Returns the current value of dispute_id.
14 15 16 |
# File 'lib/worldline/connect/sdk/v1/domain/upload_dispute_file_response.rb', line 14 def dispute_id @dispute_id end |
#file_id ⇒ String
Returns the current value of file_id.
14 15 16 |
# File 'lib/worldline/connect/sdk/v1/domain/upload_dispute_file_response.rb', line 14 def file_id @file_id end |
Instance Method Details
#from_hash(hash) ⇒ Object
28 29 30 31 32 33 34 35 36 |
# File 'lib/worldline/connect/sdk/v1/domain/upload_dispute_file_response.rb', line 28 def from_hash(hash) super if hash.has_key? 'disputeId' @dispute_id = hash['disputeId'] end if hash.has_key? 'fileId' @file_id = hash['fileId'] end end |
#to_h ⇒ Hash
21 22 23 24 25 26 |
# File 'lib/worldline/connect/sdk/v1/domain/upload_dispute_file_response.rb', line 21 def to_h hash = super hash['disputeId'] = @dispute_id unless @dispute_id.nil? hash['fileId'] = @file_id unless @file_id.nil? hash end |