Class: Clerk::Models::Operations::UpdateSCIMDirectoryRequestBody
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::UpdateSCIMDirectoryRequestBody
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/updatescimdirectory_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name: nil, enabled: nil, provider: nil, attribute_mapping: nil, group_role_mapping_enabled: nil) ⇒ UpdateSCIMDirectoryRequestBody
constructor
A new instance of UpdateSCIMDirectoryRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name: nil, enabled: nil, provider: nil, attribute_mapping: nil, group_role_mapping_enabled: nil) ⇒ UpdateSCIMDirectoryRequestBody
Returns a new instance of UpdateSCIMDirectoryRequestBody.
28 29 30 31 32 33 34 |
# File 'lib/clerk/models/operations/updatescimdirectory_requestbody.rb', line 28 def initialize(name: nil, enabled: nil, provider: nil, attribute_mapping: nil, group_role_mapping_enabled: nil) @name = name @enabled = enabled @provider = provider @attribute_mapping = attribute_mapping @group_role_mapping_enabled = group_role_mapping_enabled end |
Instance Method Details
#==(other) ⇒ Object
37 38 39 40 41 42 43 44 45 |
# File 'lib/clerk/models/operations/updatescimdirectory_requestbody.rb', line 37 def ==(other) return false unless other.is_a? self.class return false unless @name == other.name return false unless @enabled == other.enabled return false unless @provider == other.provider return false unless @attribute_mapping == other.attribute_mapping return false unless @group_role_mapping_enabled == other.group_role_mapping_enabled true end |