Class: CldProvisioning::Models::Operations::UpdateCustomPolicyRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/cld_provisioning/models/operations/updatecustompolicy_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(policy_id:, update_custom_policy:, account_id: nil) ⇒ UpdateCustomPolicyRequest

Returns a new instance of UpdateCustomPolicyRequest.



34
35
36
37
38
# File 'lib/cld_provisioning/models/operations/updatecustompolicy_request.rb', line 34

def initialize(policy_id:, update_custom_policy:, account_id: nil)
  @policy_id = policy_id
  @update_custom_policy = update_custom_policy
  @account_id = 
end

Instance Method Details

#==(other) ⇒ Object



41
42
43
44
45
46
47
# File 'lib/cld_provisioning/models/operations/updatecustompolicy_request.rb', line 41

def ==(other)
  return false unless other.is_a?(self.class)
  return false unless @policy_id == other.policy_id
  return false unless @update_custom_policy == other.update_custom_policy
  return false unless @account_id == other.
  true
end