Class: Moov::Models::Components::ScheduleListResponse
- Inherits:
-
Object
- Object
- Moov::Models::Components::ScheduleListResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/schedulelistresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(destination_account_id:, mode:, owner_account_id:, partner_account_id:, schedule_id:, source_account_id:, created_on:, updated_on:, description: nil, occurrences: nil, recur: nil, disabled_on: nil, source_account: nil, destination_account: nil, partner_account: nil) ⇒ ScheduleListResponse
constructor
A new instance of ScheduleListResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(destination_account_id:, mode:, owner_account_id:, partner_account_id:, schedule_id:, source_account_id:, created_on:, updated_on:, description: nil, occurrences: nil, recur: nil, disabled_on: nil, source_account: nil, destination_account: nil, partner_account: nil) ⇒ ScheduleListResponse
Returns a new instance of ScheduleListResponse.
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/moov/models/components/schedulelistresponse.rb', line 48 def initialize(destination_account_id:, mode:, owner_account_id:, partner_account_id:, schedule_id:, source_account_id:, created_on:, updated_on:, description: nil, occurrences: nil, recur: nil, disabled_on: nil, source_account: nil, destination_account: nil, partner_account: nil) @destination_account_id = destination_account_id @mode = mode @owner_account_id = owner_account_id @partner_account_id = partner_account_id @schedule_id = schedule_id @source_account_id = source_account_id @created_on = created_on @updated_on = updated_on @description = description @occurrences = occurrences @recur = recur @disabled_on = disabled_on @source_account = source_account @destination_account = destination_account @partner_account = partner_account end |
Instance Method Details
#==(other) ⇒ Object
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/moov/models/components/schedulelistresponse.rb', line 67 def ==(other) return false unless other.is_a? self.class return false unless @destination_account_id == other.destination_account_id return false unless @mode == other.mode return false unless @owner_account_id == other.owner_account_id return false unless @partner_account_id == other.partner_account_id return false unless @schedule_id == other.schedule_id return false unless @source_account_id == other.source_account_id return false unless @created_on == other.created_on return false unless @updated_on == other.updated_on return false unless @description == other.description return false unless @occurrences == other.occurrences return false unless @recur == other.recur return false unless @disabled_on == other.disabled_on return false unless @source_account == other.source_account return false unless @destination_account == other.destination_account return false unless @partner_account == other.partner_account true end |