Class: CldProvisioning::Models::Shared::SystemPolicyResponseData
- Inherits:
-
Object
- Object
- CldProvisioning::Models::Shared::SystemPolicyResponseData
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/cld_provisioning/models/shared/systempolicyresponsedata.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, name:, scope_type:, policy_statement:, created_at:, updated_at:, permission_type: nil, policy_parameters: nil, category: nil, sub_category: nil, description: nil) ⇒ SystemPolicyResponseData
constructor
A new instance of SystemPolicyResponseData.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, name:, scope_type:, policy_statement:, created_at:, updated_at:, permission_type: nil, policy_parameters: nil, category: nil, sub_category: nil, description: nil) ⇒ SystemPolicyResponseData
Returns a new instance of SystemPolicyResponseData.
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'lib/cld_provisioning/models/shared/systempolicyresponsedata.rb', line 108 def initialize( id:, name:, scope_type:, policy_statement:, created_at:, updated_at:, permission_type: nil, policy_parameters: nil, category: nil, sub_category: nil, description: nil ) @id = id @name = name @scope_type = scope_type @policy_statement = policy_statement @created_at = created_at @updated_at = updated_at @permission_type = @policy_parameters = policy_parameters @category = category @sub_category = sub_category @description = description end |
Instance Method Details
#==(other) ⇒ Object
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/cld_provisioning/models/shared/systempolicyresponsedata.rb', line 135 def ==(other) return false unless other.is_a?(self.class) return false unless @id == other.id return false unless @name == other.name return false unless @scope_type == other.scope_type return false unless @policy_statement == other.policy_statement return false unless @created_at == other.created_at return false unless @updated_at == other.updated_at return false unless @permission_type == other. return false unless @policy_parameters == other.policy_parameters return false unless @category == other.category return false unless @sub_category == other.sub_category return false unless @description == other.description true end |