Class: CldProvisioning::Models::Shared::SystemPoliciesResponse
- Inherits:
-
Object
- Object
- CldProvisioning::Models::Shared::SystemPoliciesResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/cld_provisioning/models/shared/systempoliciesresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(data: nil, next_cursor: nil) ⇒ SystemPoliciesResponse
constructor
A new instance of SystemPoliciesResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(data: nil, next_cursor: nil) ⇒ SystemPoliciesResponse
Returns a new instance of SystemPoliciesResponse.
32 33 34 35 |
# File 'lib/cld_provisioning/models/shared/systempoliciesresponse.rb', line 32 def initialize(data: nil, next_cursor: nil) @data = data @next_cursor = next_cursor end |
Instance Method Details
#==(other) ⇒ Object
38 39 40 41 42 43 |
# File 'lib/cld_provisioning/models/shared/systempoliciesresponse.rb', line 38 def ==(other) return false unless other.is_a?(self.class) return false unless @data == other.data return false unless @next_cursor == other.next_cursor true end |