Class: CldProvisioning::Models::Operations::GetRolePrincipalsRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/cld_provisioning/models/operations/getroleprincipals_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, scope_type: nil, scope_id: nil, verbose: nil, folder_id: nil, asset_id: nil, collection_id: nil, param_key: nil, param_value: nil) ⇒ GetRolePrincipalsRequest

Returns a new instance of GetRolePrincipalsRequest.



93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'lib/cld_provisioning/models/operations/getroleprincipals_request.rb', line 93

def initialize(
  role_id:,
  account_id: nil,
  scope_type: nil,
  scope_id: nil,
  verbose: nil,
  folder_id: nil,
  asset_id: nil,
  collection_id: nil,
  param_key: nil,
  param_value: nil
)
  @role_id = role_id
  @account_id = 
  @scope_type = scope_type
  @scope_id = scope_id
  @verbose = verbose
  @folder_id = folder_id
  @asset_id = asset_id
  @collection_id = collection_id
  @param_key = param_key
  @param_value = param_value
end

Instance Method Details

#==(other) ⇒ Object



118
119
120
121
122
123
124
125
126
127
128
129
130
131
# File 'lib/cld_provisioning/models/operations/getroleprincipals_request.rb', line 118

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 @scope_type == other.scope_type
  return false unless @scope_id == other.scope_id
  return false unless @verbose == other.verbose
  return false unless @folder_id == other.folder_id
  return false unless @asset_id == other.asset_id
  return false unless @collection_id == other.collection_id
  return false unless @param_key == other.param_key
  return false unless @param_value == other.param_value
  true
end