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