Class: Clerk::Models::Operations::ListOrganizationDomainsRequest

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

Returns a new instance of ListOrganizationDomainsRequest.



30
31
32
33
34
35
36
# File 'lib/clerk/models/operations/listorganizationdomains_request.rb', line 30

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

Instance Method Details

#==(other) ⇒ Object



39
40
41
42
43
44
45
46
47
# File 'lib/clerk/models/operations/listorganizationdomains_request.rb', line 39

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 @limit == other.limit
  return false unless @offset == other.offset
  true
end