Class: Clerk::Models::Operations::CreateEnterpriseConnectionRequest
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::CreateEnterpriseConnectionRequest
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/createenterpriseconnection_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name:, provider:, domains:, custom_attributes: nil, organization_id: nil, allow_organization_account_linking: nil, active: nil, saml: nil, oidc: nil) ⇒ CreateEnterpriseConnectionRequest
constructor
A new instance of CreateEnterpriseConnectionRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name:, provider:, domains:, custom_attributes: nil, organization_id: nil, allow_organization_account_linking: nil, active: nil, saml: nil, oidc: nil) ⇒ CreateEnterpriseConnectionRequest
Returns a new instance of CreateEnterpriseConnectionRequest.
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/clerk/models/operations/createenterpriseconnection_request.rb', line 36 def initialize(name:, provider:, domains:, custom_attributes: nil, organization_id: nil, allow_organization_account_linking: nil, active: nil, saml: nil, oidc: nil) @name = name @provider = provider @domains = domains @custom_attributes = custom_attributes @organization_id = organization_id @allow_organization_account_linking = allow_organization_account_linking @active = active @saml = saml @oidc = oidc end |
Instance Method Details
#==(other) ⇒ Object
49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/clerk/models/operations/createenterpriseconnection_request.rb', line 49 def ==(other) return false unless other.is_a? self.class return false unless @name == other.name return false unless @provider == other.provider return false unless @domains == other.domains return false unless @custom_attributes == other.custom_attributes return false unless @organization_id == other.organization_id return false unless @allow_organization_account_linking == other.allow_organization_account_linking return false unless @active == other.active return false unless @saml == other.saml return false unless @oidc == other.oidc true end |