Class: CldProvisioning::Models::Shared::ProductEnvironmentUpdateRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(name: nil, cloud_name: nil, custom_attributes: nil, enabled: nil) ⇒ ProductEnvironmentUpdateRequest

Returns a new instance of ProductEnvironmentUpdateRequest.



52
53
54
55
56
57
# File 'lib/cld_provisioning/models/shared/productenvironmentupdaterequest.rb', line 52

def initialize(name: nil, cloud_name: nil, custom_attributes: nil, enabled: nil)
  @name = name
  @cloud_name = cloud_name
  @custom_attributes = custom_attributes
  @enabled = enabled
end

Instance Method Details

#==(other) ⇒ Object



60
61
62
63
64
65
66
67
# File 'lib/cld_provisioning/models/shared/productenvironmentupdaterequest.rb', line 60

def ==(other)
  return false unless other.is_a?(self.class)
  return false unless @name == other.name
  return false unless @cloud_name == other.cloud_name
  return false unless @custom_attributes == other.custom_attributes
  return false unless @enabled == other.enabled
  true
end