Class: CldProvisioning::Models::Shared::ValidateCedarPolicyResponse
- Inherits:
-
Object
- Object
- CldProvisioning::Models::Shared::ValidateCedarPolicyResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/cld_provisioning/models/shared/validatecedarpolicyresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(valid:, errors: nil) ⇒ ValidateCedarPolicyResponse
constructor
A new instance of ValidateCedarPolicyResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(valid:, errors: nil) ⇒ ValidateCedarPolicyResponse
Returns a new instance of ValidateCedarPolicyResponse.
28 29 30 31 |
# File 'lib/cld_provisioning/models/shared/validatecedarpolicyresponse.rb', line 28 def initialize(valid:, errors: nil) @valid = valid @errors = errors end |
Instance Method Details
#==(other) ⇒ Object
34 35 36 37 38 39 |
# File 'lib/cld_provisioning/models/shared/validatecedarpolicyresponse.rb', line 34 def ==(other) return false unless other.is_a?(self.class) return false unless @valid == other.valid return false unless @errors == other.errors true end |