Class: CldProvisioning::Models::Shared::ProductEnvironmentRequest
- Inherits:
-
Object
- Object
- CldProvisioning::Models::Shared::ProductEnvironmentRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/cld_provisioning/models/shared/productenvironmentrequest.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name:, cloud_name: nil, base_sub_account_id: nil, custom_attributes: nil) ⇒ ProductEnvironmentRequest
constructor
A new instance of ProductEnvironmentRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(name:, cloud_name: nil, base_sub_account_id: nil, custom_attributes: nil) ⇒ ProductEnvironmentRequest
Returns a new instance of ProductEnvironmentRequest.
49 50 51 52 53 54 |
# File 'lib/cld_provisioning/models/shared/productenvironmentrequest.rb', line 49 def initialize(name:, cloud_name: nil, base_sub_account_id: nil, custom_attributes: nil) @name = name @cloud_name = cloud_name @base_sub_account_id = base_sub_account_id @custom_attributes = custom_attributes end |
Instance Method Details
#==(other) ⇒ Object
57 58 59 60 61 62 63 64 |
# File 'lib/cld_provisioning/models/shared/productenvironmentrequest.rb', line 57 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 @base_sub_account_id == other.base_sub_account_id return false unless @custom_attributes == other.custom_attributes true end |