Class: Clerk::Models::Operations::ListRoleSetsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(query: nil, order_by: '-created_at', limit: 10, offset: 0) ⇒ ListRoleSetsRequest

Returns a new instance of ListRoleSetsRequest.



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

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

Instance Method Details

#==(other) ⇒ Object



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

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