Class: CldProvisioning::Models::Operations::UpdateRoleRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/cld_provisioning/models/operations/updaterole_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:, role:, account_id: nil) ⇒ UpdateRoleRequest

Returns a new instance of UpdateRoleRequest.



27
28
29
30
31
# File 'lib/cld_provisioning/models/operations/updaterole_request.rb', line 27

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

Instance Method Details

#==(other) ⇒ Object



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

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