Class: CldProvisioning::Models::Shared::UpdateRolePrincipalsRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/cld_provisioning/models/shared/updateroleprincipalsrequest.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(operation: nil, principals: nil) ⇒ UpdateRolePrincipalsRequest

Returns a new instance of UpdateRolePrincipalsRequest.



40
41
42
43
# File 'lib/cld_provisioning/models/shared/updateroleprincipalsrequest.rb', line 40

def initialize(operation: nil, principals: nil)
  @operation = operation
  @principals = principals
end

Instance Method Details

#==(other) ⇒ Object



46
47
48
49
50
51
# File 'lib/cld_provisioning/models/shared/updateroleprincipalsrequest.rb', line 46

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