Class: Clerk::Models::Operations::ListInstanceOrganizationInvitationsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

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

Returns a new instance of ListInstanceOrganizationInvitationsRequest.



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

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

Instance Method Details

#==(other) ⇒ Object



44
45
46
47
48
49
50
51
52
# File 'lib/clerk/models/operations/listinstanceorganizationinvitations_request.rb', line 44

def ==(other)
  return false unless other.is_a? self.class
  return false unless @status == other.status
  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