Class: Clerk::Models::Operations::CreateSCIMDirectoryRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(enterprise_connection_id:, provider:, name: nil, group_role_mappings: nil) ⇒ CreateSCIMDirectoryRequest

Returns a new instance of CreateSCIMDirectoryRequest.



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

def initialize(enterprise_connection_id:, provider:, name: nil, group_role_mappings: nil)
  @enterprise_connection_id = enterprise_connection_id
  @provider = provider
  @name = name
  @group_role_mappings = group_role_mappings
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @enterprise_connection_id == other.enterprise_connection_id
  return false unless @provider == other.provider
  return false unless @name == other.name
  return false unless @group_role_mappings == other.group_role_mappings
  true
end