Class: Clerk::Models::Components::SAMLConnection2
- Inherits:
-
Object
- Object
- Clerk::Models::Components::SAMLConnection2
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/components/samlconnection_2.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, name:, domains:, active:, provider:, sync_user_attributes:, created_at:, updated_at:, domain: nil, allow_subdomains: nil, allow_idp_initiated: nil, disable_additional_identifications: nil) ⇒ SAMLConnection2
constructor
A new instance of SAMLConnection2.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, name:, domains:, active:, provider:, sync_user_attributes:, created_at:, updated_at:, domain: nil, allow_subdomains: nil, allow_idp_initiated: nil, disable_additional_identifications: nil) ⇒ SAMLConnection2
Returns a new instance of SAMLConnection2.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/clerk/models/components/samlconnection_2.rb', line 43 def initialize(id:, name:, domains:, active:, provider:, sync_user_attributes:, created_at:, updated_at:, domain: nil, allow_subdomains: nil, allow_idp_initiated: nil, disable_additional_identifications: nil) @id = id @name = name @domains = domains @active = active @provider = provider @sync_user_attributes = sync_user_attributes @created_at = created_at @updated_at = updated_at @domain = domain @allow_subdomains = allow_subdomains @allow_idp_initiated = allow_idp_initiated @disable_additional_identifications = disable_additional_identifications end |
Instance Method Details
#==(other) ⇒ Object
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/clerk/models/components/samlconnection_2.rb', line 59 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @name == other.name return false unless @domains == other.domains return false unless @active == other.active return false unless @provider == other.provider return false unless @sync_user_attributes == other.sync_user_attributes return false unless @created_at == other.created_at return false unless @updated_at == other.updated_at return false unless @domain == other.domain return false unless @allow_subdomains == other.allow_subdomains return false unless @allow_idp_initiated == other.allow_idp_initiated return false unless @disable_additional_identifications == other.disable_additional_identifications true end |