Class: Moov::Models::Components::ScheduleListResponse

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/components/schedulelistresponse.rb

Instance Method Summary collapse

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)
   = 
  @mode = mode
   = 
   = 
  @schedule_id = schedule_id
   = 
  @created_on = created_on
  @updated_on = updated_on
  @description = description
  @occurrences = occurrences
  @recur = recur
  @disabled_on = disabled_on
   = 
   = 
   = 
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  == other.
  return false unless @mode == other.mode
  return false unless  == other.
  return false unless  == other.
  return false unless @schedule_id == other.schedule_id
  return false unless  == other.
  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  == other.
  return false unless  == other.
  return false unless  == other.
  true
end