Class: Clerk::Models::Components::SAMLConnection1

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, name:, domain:, active:, provider:, sync_user_attributes:, created_at:, updated_at:, domains: nil, allow_subdomains: nil, allow_idp_initiated: nil, disable_additional_identifications: nil) ⇒ SAMLConnection1

Returns a new instance of SAMLConnection1.



43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/clerk/models/components/samlconnection_1.rb', line 43

def initialize(id:, name:, domain:, active:, provider:, sync_user_attributes:, created_at:, updated_at:, domains: nil, allow_subdomains: nil, allow_idp_initiated: nil, disable_additional_identifications: nil)
  @id = id
  @name = name
  @domain = domain
  @active = active
  @provider = provider
  @sync_user_attributes = sync_user_attributes
  @created_at = created_at
  @updated_at = updated_at
  @domains = domains
  @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_1.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 @domain == other.domain
  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 @domains == other.domains
  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