Class: Clerk::Models::Operations::ListOAuthApplicationsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(name_query: nil, limit: 10, offset: 0, order_by: '+created_at') ⇒ ListOAuthApplicationsRequest

Returns a new instance of ListOAuthApplicationsRequest.



33
34
35
36
37
38
# File 'lib/clerk/models/operations/listoauthapplications_request.rb', line 33

def initialize(name_query: nil, limit: 10, offset: 0, order_by: '+created_at')
  @name_query = name_query
  @limit = limit
  @offset = offset
  @order_by = order_by
end

Instance Method Details

#==(other) ⇒ Object



41
42
43
44
45
46
47
48
# File 'lib/clerk/models/operations/listoauthapplications_request.rb', line 41

def ==(other)
  return false unless other.is_a? self.class
  return false unless @name_query == other.name_query
  return false unless @limit == other.limit
  return false unless @offset == other.offset
  return false unless @order_by == other.order_by
  true
end