Class: Clerk::Models::Components::EnterpriseConnection1
- Inherits:
-
Object
- Object
- Clerk::Models::Components::EnterpriseConnection1
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/components/enterpriseconnection_1.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, protocol:, provider:, name:, domain:, active:, sync_user_attributes:, allow_subdomains:, allow_idp_initiated:, disable_additional_identifications:, created_at:, updated_at:, logo_public_url: nil, domains: nil) ⇒ EnterpriseConnection1
constructor
A new instance of EnterpriseConnection1.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, protocol:, provider:, name:, domain:, active:, sync_user_attributes:, allow_subdomains:, allow_idp_initiated:, disable_additional_identifications:, created_at:, updated_at:, logo_public_url: nil, domains: nil) ⇒ EnterpriseConnection1
Returns a new instance of EnterpriseConnection1.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/clerk/models/components/enterpriseconnection_1.rb', line 47 def initialize(id:, protocol:, provider:, name:, domain:, active:, sync_user_attributes:, allow_subdomains:, allow_idp_initiated:, disable_additional_identifications:, created_at:, updated_at:, logo_public_url: nil, domains: nil) @id = id @protocol = protocol @provider = provider @name = name @domain = domain @active = active @sync_user_attributes = sync_user_attributes @allow_subdomains = allow_subdomains @allow_idp_initiated = allow_idp_initiated @disable_additional_identifications = disable_additional_identifications @created_at = created_at @updated_at = updated_at @logo_public_url = logo_public_url @domains = domains end |
Instance Method Details
#==(other) ⇒ Object
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/clerk/models/components/enterpriseconnection_1.rb', line 65 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @protocol == other.protocol return false unless @provider == other.provider return false unless @name == other.name return false unless @domain == other.domain return false unless @active == other.active return false unless @sync_user_attributes == other.sync_user_attributes 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 return false unless @created_at == other.created_at return false unless @updated_at == other.updated_at return false unless @logo_public_url == other.logo_public_url return false unless @domains == other.domains true end |