Class: Clerk::Models::Operations::ListLogsRequest

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/operations/listlogs_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(starting_after: nil, ending_before: nil, subject: nil, actor: nil, user_id: nil, identifier: nil, trace_id: nil, type: nil, client_id: nil, session_id: nil, impersonator_user_id: nil, ip_address: nil, payload_filter: nil, payload_fields: nil, event_time_after: nil, event_time_before: nil, end_user_facing_only: nil, group_type: nil, status: nil, limit: 10, filter_match: Models::Operations::FilterMatch::ALL, view: Models::Operations::View::GROUPED) ⇒ ListLogsRequest

Returns a new instance of ListLogsRequest.



173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'lib/clerk/models/operations/listlogs_request.rb', line 173

def initialize(starting_after: nil, ending_before: nil, subject: nil, actor: nil, user_id: nil, identifier: nil, trace_id: nil, type: nil, client_id: nil, session_id: nil, impersonator_user_id: nil, ip_address: nil, payload_filter: nil, payload_fields: nil, event_time_after: nil, event_time_before: nil, end_user_facing_only: nil, group_type: nil, status: nil, limit: 10, filter_match: Models::Operations::FilterMatch::ALL, view: Models::Operations::View::GROUPED)
  @starting_after = starting_after
  @ending_before = ending_before
  @subject = subject
  @actor = actor
  @user_id = user_id
  @identifier = identifier
  @trace_id = trace_id
  @type = type
  @client_id = client_id
  @session_id = session_id
  @impersonator_user_id = impersonator_user_id
  @ip_address = ip_address
  @payload_filter = payload_filter
  @payload_fields = payload_fields
  @event_time_after = event_time_after
  @event_time_before = event_time_before
  @end_user_facing_only = end_user_facing_only
  @group_type = group_type
  @status = status
  @limit = limit
  @filter_match = filter_match
  @view = view
end

Instance Method Details

#==(other) ⇒ Object



199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'lib/clerk/models/operations/listlogs_request.rb', line 199

def ==(other)
  return false unless other.is_a? self.class
  return false unless @starting_after == other.starting_after
  return false unless @ending_before == other.ending_before
  return false unless @subject == other.subject
  return false unless @actor == other.actor
  return false unless @user_id == other.user_id
  return false unless @identifier == other.identifier
  return false unless @trace_id == other.trace_id
  return false unless @type == other.type
  return false unless @client_id == other.client_id
  return false unless @session_id == other.session_id
  return false unless @impersonator_user_id == other.impersonator_user_id
  return false unless @ip_address == other.ip_address
  return false unless @payload_filter == other.payload_filter
  return false unless @payload_fields == other.payload_fields
  return false unless @event_time_after == other.event_time_after
  return false unless @event_time_before == other.event_time_before
  return false unless @end_user_facing_only == other.end_user_facing_only
  return false unless @group_type == other.group_type
  return false unless @status == other.status
  return false unless @limit == other.limit
  return false unless @filter_match == other.filter_match
  return false unless @view == other.view
  true
end