Class: Clerk::Models::Operations::ReplaceRoleSetRequestBody

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(dest_role_set_key:, reassignment_mappings: nil) ⇒ ReplaceRoleSetRequestBody

Returns a new instance of ReplaceRoleSetRequestBody.



22
23
24
25
# File 'lib/clerk/models/operations/replaceroleset_requestbody.rb', line 22

def initialize(dest_role_set_key:, reassignment_mappings: nil)
  @dest_role_set_key = dest_role_set_key
  @reassignment_mappings = reassignment_mappings
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @dest_role_set_key == other.dest_role_set_key
  return false unless @reassignment_mappings == other.reassignment_mappings
  true
end