Class: Clerk::Models::Operations::UpdateDirectoryRequestBody
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::UpdateDirectoryRequestBody
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/updatedirectory_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name: nil, enabled: nil, paused: nil, provider: nil, attribute_mapping: nil, group_role_mapping_enabled: nil) ⇒ UpdateDirectoryRequestBody
constructor
A new instance of UpdateDirectoryRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name: nil, enabled: nil, paused: nil, provider: nil, attribute_mapping: nil, group_role_mapping_enabled: nil) ⇒ UpdateDirectoryRequestBody
Returns a new instance of UpdateDirectoryRequestBody.
32 33 34 35 36 37 38 39 |
# File 'lib/clerk/models/operations/updatedirectory_requestbody.rb', line 32 def initialize(name: nil, enabled: nil, paused: nil, provider: nil, attribute_mapping: nil, group_role_mapping_enabled: nil) @name = name @enabled = enabled @paused = paused @provider = provider @attribute_mapping = attribute_mapping @group_role_mapping_enabled = group_role_mapping_enabled end |
Instance Method Details
#==(other) ⇒ Object
42 43 44 45 46 47 48 49 50 51 |
# File 'lib/clerk/models/operations/updatedirectory_requestbody.rb', line 42 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 @paused == other.paused 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 |