Class: Clerk::Models::Operations::UpdateEnterpriseConnectionCustomAttribute

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(name:, key:, sso_path: nil, scim_path: nil, multi_valued: nil) ⇒ UpdateEnterpriseConnectionCustomAttribute

Returns a new instance of UpdateEnterpriseConnectionCustomAttribute.



27
28
29
30
31
32
33
# File 'lib/clerk/models/operations/updateenterpriseconnection_custom_attribute.rb', line 27

def initialize(name:, key:, sso_path: nil, scim_path: nil, multi_valued: nil)
  @name = name
  @key = key
  @sso_path = sso_path
  @scim_path = scim_path
  @multi_valued = multi_valued
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
44
# File 'lib/clerk/models/operations/updateenterpriseconnection_custom_attribute.rb', line 36

def ==(other)
  return false unless other.is_a? self.class
  return false unless @name == other.name
  return false unless @key == other.key
  return false unless @sso_path == other.sso_path
  return false unless @scim_path == other.scim_path
  return false unless @multi_valued == other.multi_valued
  true
end