Class: CldProvisioning::Models::Operations::GetEffectivePoliciesRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(account_id: nil, scope_type: nil, scope_id: nil, principal_type: nil, principal_id: nil) ⇒ GetEffectivePoliciesRequest

Returns a new instance of GetEffectivePoliciesRequest.



64
65
66
67
68
69
70
# File 'lib/cld_provisioning/models/operations/geteffectivepolicies_request.rb', line 64

def initialize(account_id: nil, scope_type: nil, scope_id: nil, principal_type: nil, principal_id: nil)
  @account_id = 
  @scope_type = scope_type
  @scope_id = scope_id
  @principal_type = principal_type
  @principal_id = principal_id
end

Instance Method Details

#==(other) ⇒ Object



73
74
75
76
77
78
79
80
81
# File 'lib/cld_provisioning/models/operations/geteffectivepolicies_request.rb', line 73

def ==(other)
  return false unless other.is_a?(self.class)
  return false unless @account_id == other.
  return false unless @scope_type == other.scope_type
  return false unless @scope_id == other.scope_id
  return false unless @principal_type == other.principal_type
  return false unless @principal_id == other.principal_id
  true
end