Class: CldProvisioning::Models::Shared::InspectRequest
- Inherits:
-
Object
- Object
- CldProvisioning::Models::Shared::InspectRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/cld_provisioning/models/shared/inspectrequest.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(scope_type:, principals:, scope_id: nil, policy_parameters: nil, cursor: nil) ⇒ InspectRequest
constructor
A new instance of InspectRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(scope_type:, principals:, scope_id: nil, policy_parameters: nil, cursor: nil) ⇒ InspectRequest
Returns a new instance of InspectRequest.
62 63 64 65 66 67 68 |
# File 'lib/cld_provisioning/models/shared/inspectrequest.rb', line 62 def initialize(scope_type:, principals:, scope_id: nil, policy_parameters: nil, cursor: nil) @scope_type = scope_type @principals = principals @scope_id = scope_id @policy_parameters = policy_parameters @cursor = cursor end |
Instance Method Details
#==(other) ⇒ Object
71 72 73 74 75 76 77 78 79 |
# File 'lib/cld_provisioning/models/shared/inspectrequest.rb', line 71 def ==(other) return false unless other.is_a?(self.class) return false unless @scope_type == other.scope_type return false unless @principals == other.principals return false unless @scope_id == other.scope_id return false unless @policy_parameters == other.policy_parameters return false unless @cursor == other.cursor true end |