Class: Google::Apis::MybusinesslodgingV1::SustainabilityCertifications
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::SustainabilityCertifications
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinesslodging_v1/classes.rb,
lib/google/apis/mybusinesslodging_v1/representations.rb,
lib/google/apis/mybusinesslodging_v1/representations.rb
Overview
Sustainability certifications the hotel has been awarded. Deprecated: this message is no longer populated. All certification data is now provided by BeCause.
Instance Attribute Summary collapse
-
#breeam_certification ⇒ String
BREEAM certification.
-
#breeam_certification_exception ⇒ String
BREEAM certification exception.
-
#eco_certifications ⇒ Array<Google::Apis::MybusinesslodgingV1::EcoCertification>
The eco certificates awarded to the hotel.
-
#leed_certification ⇒ String
LEED certification.
-
#leed_certification_exception ⇒ String
LEED certification exception.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SustainabilityCertifications
constructor
A new instance of SustainabilityCertifications.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SustainabilityCertifications
Returns a new instance of SustainabilityCertifications.
3883 3884 3885 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3883 def initialize(**args) update!(**args) end |
Instance Attribute Details
#breeam_certification ⇒ String
BREEAM certification.
Corresponds to the JSON property breeamCertification
3861 3862 3863 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3861 def breeam_certification @breeam_certification end |
#breeam_certification_exception ⇒ String
BREEAM certification exception.
Corresponds to the JSON property breeamCertificationException
3866 3867 3868 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3866 def breeam_certification_exception @breeam_certification_exception end |
#eco_certifications ⇒ Array<Google::Apis::MybusinesslodgingV1::EcoCertification>
The eco certificates awarded to the hotel.
Corresponds to the JSON property ecoCertifications
3871 3872 3873 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3871 def eco_certifications @eco_certifications end |
#leed_certification ⇒ String
LEED certification.
Corresponds to the JSON property leedCertification
3876 3877 3878 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3876 def leed_certification @leed_certification end |
#leed_certification_exception ⇒ String
LEED certification exception.
Corresponds to the JSON property leedCertificationException
3881 3882 3883 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3881 def leed_certification_exception @leed_certification_exception end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3888 3889 3890 3891 3892 3893 3894 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3888 def update!(**args) @breeam_certification = args[:breeam_certification] if args.key?(:breeam_certification) @breeam_certification_exception = args[:breeam_certification_exception] if args.key?(:breeam_certification_exception) @eco_certifications = args[:eco_certifications] if args.key?(:eco_certifications) @leed_certification = args[:leed_certification] if args.key?(:leed_certification) @leed_certification_exception = args[:leed_certification_exception] if args.key?(:leed_certification_exception) end |