Class: CldProvisioning::Models::Shared::UpdatePrincipalRolesRequest
- Inherits:
-
Object
- Object
- CldProvisioning::Models::Shared::UpdatePrincipalRolesRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/cld_provisioning/models/shared/updateprincipalrolesrequest.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(operation: nil, principal: nil, roles: nil) ⇒ UpdatePrincipalRolesRequest
constructor
A new instance of UpdatePrincipalRolesRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(operation: nil, principal: nil, roles: nil) ⇒ UpdatePrincipalRolesRequest
Returns a new instance of UpdatePrincipalRolesRequest.
47 48 49 50 51 |
# File 'lib/cld_provisioning/models/shared/updateprincipalrolesrequest.rb', line 47 def initialize(operation: nil, principal: nil, roles: nil) @operation = operation @principal = principal @roles = roles end |
Instance Method Details
#==(other) ⇒ Object
54 55 56 57 58 59 60 |
# File 'lib/cld_provisioning/models/shared/updateprincipalrolesrequest.rb', line 54 def ==(other) return false unless other.is_a?(self.class) return false unless @operation == other.operation return false unless @principal == other.principal return false unless @roles == other.roles true end |