Class: CldProvisioning::Models::Operations::DeleteRoleRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(role_id:, account_id: nil, force: nil) ⇒ DeleteRoleRequest

Returns a new instance of DeleteRoleRequest.



34
35
36
37
38
# File 'lib/cld_provisioning/models/operations/deleterole_request.rb', line 34

def initialize(role_id:, account_id: nil, force: nil)
  @role_id = role_id
  @account_id = 
  @force = force
end

Instance Method Details

#==(other) ⇒ Object



41
42
43
44
45
46
47
# File 'lib/cld_provisioning/models/operations/deleterole_request.rb', line 41

def ==(other)
  return false unless other.is_a?(self.class)
  return false unless @role_id == other.role_id
  return false unless @account_id == other.
  return false unless @force == other.force
  true
end