Class: Clerk::Models::Operations::UsersGetOrganizationInvitationsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(user_id:, status: nil, limit: 10, offset: 0) ⇒ UsersGetOrganizationInvitationsRequest

Returns a new instance of UsersGetOrganizationInvitationsRequest.



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

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

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
# File 'lib/clerk/models/operations/usersgetorganizationinvitations_request.rb', line 36

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