Class: CldProvisioning::Models::Operations::GetPrincipalRolesRequest
- Inherits:
-
Object
- Object
- CldProvisioning::Models::Operations::GetPrincipalRolesRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/cld_provisioning/models/operations/getprincipalroles_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(principal_type:, principal_id:, permission_type:, account_id: nil, management_type: nil, scope_type: nil, scope_id: nil, folder_id: nil, asset_id: nil, collection_id: nil, param_key: nil, param_value: nil) ⇒ GetPrincipalRolesRequest
constructor
A new instance of GetPrincipalRolesRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(principal_type:, principal_id:, permission_type:, account_id: nil, management_type: nil, scope_type: nil, scope_id: nil, folder_id: nil, asset_id: nil, collection_id: nil, param_key: nil, param_value: nil) ⇒ GetPrincipalRolesRequest
Returns a new instance of GetPrincipalRolesRequest.
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
# File 'lib/cld_provisioning/models/operations/getprincipalroles_request.rb', line 113 def initialize( principal_type:, principal_id:, permission_type:, account_id: nil, management_type: nil, scope_type: nil, scope_id: nil, folder_id: nil, asset_id: nil, collection_id: nil, param_key: nil, param_value: nil ) @principal_type = principal_type @principal_id = principal_id @permission_type = @account_id = account_id @management_type = management_type @scope_type = scope_type @scope_id = scope_id @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
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'lib/cld_provisioning/models/operations/getprincipalroles_request.rb', line 142 def ==(other) return false unless other.is_a?(self.class) return false unless @principal_type == other.principal_type return false unless @principal_id == other.principal_id return false unless @permission_type == other. return false unless @account_id == other.account_id return false unless @management_type == other.management_type return false unless @scope_type == other.scope_type return false unless @scope_id == other.scope_id 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 |