Class: Clerk::Models::Operations::ListAllOrganizationDomainsRequest

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/operations/listallorganizationdomains_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: nil, verified: nil, enrollment_mode: nil, query: nil, order_by: '-created_at', offset: 0, limit: 10) ⇒ ListAllOrganizationDomainsRequest



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

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

Instance Method Details

#==(other) ⇒ Object



56
57
58
59
60
61
62
63
64
65
66
# File 'lib/clerk/models/operations/listallorganizationdomains_request.rb', line 56

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