Class: CldProvisioning::Models::Operations::GetRolesRequest
- Inherits:
-
Object
- Object
- CldProvisioning::Models::Operations::GetRolesRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/cld_provisioning/models/operations/getroles_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(permission_type:, account_id: nil, scope_type: nil, management_type: nil, policy_parameters: nil) ⇒ GetRolesRequest
constructor
A new instance of GetRolesRequest.
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 = @account_id = 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. return false unless @account_id == other.account_id 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 |