Class: CldProvisioning::Models::Operations::GetRolesRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(permission_type:, account_id: nil, scope_type: nil, management_type: nil, policy_parameters: nil) ⇒ GetRolesRequest

Returns a new instance of GetRolesRequest.



59
60
61
62
63
64
65
# File 'lib/cld_provisioning/models/operations/getroles_request.rb', line 59

def initialize(permission_type:, account_id: nil, scope_type: nil, management_type: nil, policy_parameters: nil)
  @permission_type = permission_type
  @account_id = 
  @scope_type = scope_type
  @management_type = management_type
  @policy_parameters = policy_parameters
end

Instance Method Details

#==(other) ⇒ Object



68
69
70
71
72
73
74
75
76
# File 'lib/cld_provisioning/models/operations/getroles_request.rb', line 68

def ==(other)
  return false unless other.is_a?(self.class)
  return false unless @permission_type == other.permission_type
  return false unless @account_id == other.
  return false unless @scope_type == other.scope_type
  return false unless @management_type == other.management_type
  return false unless @policy_parameters == other.policy_parameters
  true
end