Class: StackOne::Models::Shared::UnifiedLogsPostDtoFilters

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/stack_one/models/shared/unifiedlogspostdto_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: nil, connector_key: nil, end_time: nil, http_method: nil, mode: nil, order_by: nil, order_direction: nil, origin_owner_id: nil, request_id: nil, resource: nil, service: nil, source_id: nil, source_type: nil, start_time: nil, status_code: nil, success: nil) ⇒ UnifiedLogsPostDtoFilters

Returns a new instance of UnifiedLogsPostDtoFilters.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/stack_one/models/shared/unifiedlogspostdto_filters.rb', line 51

def initialize(account_secure_id: nil, action: nil, connector_key: nil, end_time: nil, http_method: nil, mode: nil, order_by: nil, order_direction: nil, origin_owner_id: nil, request_id: nil, resource: nil, service: nil, source_id: nil, source_type: nil, start_time: nil, status_code: nil, success: nil)
  @account_secure_id = 
  @action = action
  @connector_key = connector_key
  @end_time = end_time
  @http_method = http_method
  @mode = mode
  @order_by = order_by
  @order_direction = order_direction
  @origin_owner_id = origin_owner_id
  @request_id = request_id
  @resource = resource
  @service = service
  @source_id = source_id
  @source_type = source_type
  @start_time = start_time
  @status_code = status_code
  @success = success
end

Instance Method Details

#==(other) ⇒ Object



72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/stack_one/models/shared/unifiedlogspostdto_filters.rb', line 72

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_secure_id == other.
  return false unless @action == other.action
  return false unless @connector_key == other.connector_key
  return false unless @end_time == other.end_time
  return false unless @http_method == other.http_method
  return false unless @mode == other.mode
  return false unless @order_by == other.order_by
  return false unless @order_direction == other.order_direction
  return false unless @origin_owner_id == other.origin_owner_id
  return false unless @request_id == other.request_id
  return false unless @resource == other.resource
  return false unless @service == other.service
  return false unless @source_id == other.source_id
  return false unless @source_type == other.source_type
  return false unless @start_time == other.start_time
  return false unless @status_code == other.status_code
  return false unless @success == other.success
  true
end