Class: Moov::Models::Operations::UpdateScheduleRequest
- Inherits:
-
Object
- Object
- Moov::Models::Operations::UpdateScheduleRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/operations/updateschedule_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(account_id:, schedule_id:, upsert_schedule:, x_moov_version: 'v2024.01.00') ⇒ UpdateScheduleRequest
constructor
A new instance of UpdateScheduleRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(account_id:, schedule_id:, upsert_schedule:, x_moov_version: 'v2024.01.00') ⇒ UpdateScheduleRequest
Returns a new instance of UpdateScheduleRequest.
34 35 36 37 38 39 |
# File 'lib/moov/models/operations/updateschedule_request.rb', line 34 def initialize(account_id:, schedule_id:, upsert_schedule:, x_moov_version: 'v2024.01.00') @account_id = account_id @schedule_id = schedule_id @upsert_schedule = upsert_schedule @x_moov_version = x_moov_version end |
Instance Method Details
#==(other) ⇒ Object
42 43 44 45 46 47 48 49 |
# File 'lib/moov/models/operations/updateschedule_request.rb', line 42 def ==(other) return false unless other.is_a? self.class return false unless @account_id == other.account_id return false unless @schedule_id == other.schedule_id return false unless @upsert_schedule == other.upsert_schedule return false unless @x_moov_version == other.x_moov_version true end |