Class: Clerk::Models::Operations::ListPendingOrganizationInvitationsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(organization_id:, limit: 10, offset: 0) ⇒ ListPendingOrganizationInvitationsRequest

Returns a new instance of ListPendingOrganizationInvitationsRequest.



26
27
28
29
30
# File 'lib/clerk/models/operations/listpendingorganizationinvitations_request.rb', line 26

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

Instance Method Details

#==(other) ⇒ Object



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

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