Class: Clerk::Models::Operations::UpdateEnterpriseConnectionRequestBody

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/operations/updateenterpriseconnection_requestbody.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(name: nil, domains: nil, active: nil, sync_user_attributes: nil, disable_additional_identifications: nil, allow_organization_account_linking: nil, organization_id: nil, saml: nil, oidc: nil, custom_attributes: nil) ⇒ UpdateEnterpriseConnectionRequestBody

Returns a new instance of UpdateEnterpriseConnectionRequestBody.



39
40
41
42
43
44
45
46
47
48
49
50
# File 'lib/clerk/models/operations/updateenterpriseconnection_requestbody.rb', line 39

def initialize(name: nil, domains: nil, active: nil, sync_user_attributes: nil, disable_additional_identifications: nil, allow_organization_account_linking: nil, organization_id: nil, saml: nil, oidc: nil, custom_attributes: nil)
  @name = name
  @domains = domains
  @active = active
  @sync_user_attributes = sync_user_attributes
  @disable_additional_identifications = disable_additional_identifications
  @allow_organization_account_linking = 
  @organization_id = organization_id
  @saml = saml
  @oidc = oidc
  @custom_attributes = custom_attributes
end

Instance Method Details

#==(other) ⇒ Object



53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/clerk/models/operations/updateenterpriseconnection_requestbody.rb', line 53

def ==(other)
  return false unless other.is_a? self.class
  return false unless @name == other.name
  return false unless @domains == other.domains
  return false unless @active == other.active
  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.
  return false unless @organization_id == other.organization_id
  return false unless @saml == other.saml
  return false unless @oidc == other.oidc
  return false unless @custom_attributes == other.custom_attributes
  true
end