Class: Clerk::Models::Operations::InstanceGetOrganizationMembershipsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(order_by: nil, limit: 10, offset: 0) ⇒ InstanceGetOrganizationMembershipsRequest

Returns a new instance of InstanceGetOrganizationMembershipsRequest.



28
29
30
31
32
# File 'lib/clerk/models/operations/instancegetorganizationmemberships_request.rb', line 28

def initialize(order_by: nil, limit: 10, offset: 0)
  @order_by = order_by
  @limit = limit
  @offset = offset
end

Instance Method Details

#==(other) ⇒ Object



35
36
37
38
39
40
41
# File 'lib/clerk/models/operations/instancegetorganizationmemberships_request.rb', line 35

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