Class: StackOne::Models::Shared::StepsLogsPostDtoFilters

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/stack_one/models/shared/stepslogspostdto_filters.rb

Overview

The filters to apply to the results

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(account_secure_id: nil, action_run_id: nil, end_time: nil, order_by: nil, order_direction: nil, start_time: nil, step_id: nil, step_index: nil, success: nil) ⇒ StepsLogsPostDtoFilters

Returns a new instance of StepsLogsPostDtoFilters.



35
36
37
38
39
40
41
42
43
44
45
# File 'lib/stack_one/models/shared/stepslogspostdto_filters.rb', line 35

def initialize(account_secure_id: nil, action_run_id: nil, end_time: nil, order_by: nil, order_direction: nil, start_time: nil, step_id: nil, step_index: nil, success: nil)
  @account_secure_id = 
  @action_run_id = action_run_id
  @end_time = end_time
  @order_by = order_by
  @order_direction = order_direction
  @start_time = start_time
  @step_id = step_id
  @step_index = step_index
  @success = success
end

Instance Method Details

#==(other) ⇒ Object



48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/stack_one/models/shared/stepslogspostdto_filters.rb', line 48

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_secure_id == other.
  return false unless @action_run_id == other.action_run_id
  return false unless @end_time == other.end_time
  return false unless @order_by == other.order_by
  return false unless @order_direction == other.order_direction
  return false unless @start_time == other.start_time
  return false unless @step_id == other.step_id
  return false unless @step_index == other.step_index
  return false unless @success == other.success
  true
end