Class: StackOne::Models::Shared::ProviderLogsPostDtoFilters

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/stack_one/models/shared/providerlogspostdto_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, end_time: nil, id: nil, order_by: nil, order_direction: nil, request_id: nil, start_time: nil, success: nil) ⇒ ProviderLogsPostDtoFilters

Returns a new instance of ProviderLogsPostDtoFilters.



33
34
35
36
37
38
39
40
41
42
# File 'lib/stack_one/models/shared/providerlogspostdto_filters.rb', line 33

def initialize(account_secure_id: nil, end_time: nil, id: nil, order_by: nil, order_direction: nil, request_id: nil, start_time: nil, success: nil)
  @account_secure_id = 
  @end_time = end_time
  @id = id
  @order_by = order_by
  @order_direction = order_direction
  @request_id = request_id
  @start_time = start_time
  @success = success
end

Instance Method Details

#==(other) ⇒ Object



45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/stack_one/models/shared/providerlogspostdto_filters.rb', line 45

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