Class: Clerk::Models::Operations::CreateSAMLConnectionAttributeMapping1
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::CreateSAMLConnectionAttributeMapping1
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/createsamlconnection_attribute_mapping_1.rb
Overview
Define the attribute name mapping between Identity Provider and Clerk’s user properties
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(user_id: nil, email_address: nil, first_name: nil, last_name: nil) ⇒ CreateSAMLConnectionAttributeMapping1
constructor
A new instance of CreateSAMLConnectionAttributeMapping1.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(user_id: nil, email_address: nil, first_name: nil, last_name: nil) ⇒ CreateSAMLConnectionAttributeMapping1
Returns a new instance of CreateSAMLConnectionAttributeMapping1.
25 26 27 28 29 30 |
# File 'lib/clerk/models/operations/createsamlconnection_attribute_mapping_1.rb', line 25 def initialize(user_id: nil, email_address: nil, first_name: nil, last_name: nil) @user_id = user_id @email_address = email_address @first_name = first_name @last_name = last_name end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/clerk/models/operations/createsamlconnection_attribute_mapping_1.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @user_id == other.user_id return false unless @email_address == other.email_address return false unless @first_name == other.first_name return false unless @last_name == other.last_name true end |