Class: Google::Apis::MybusinesslodgingV1::SustainabilityCertifications

Inherits:
Object
  • Object
show all
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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SustainabilityCertifications

Returns a new instance of SustainabilityCertifications.



3864
3865
3866
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3864

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#breeam_certificationString

BREEAM certification. Corresponds to the JSON property breeamCertification

Returns:

  • (String)


3840
3841
3842
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3840

def breeam_certification
  @breeam_certification
end

#breeam_certification_exceptionString

BREEAM certification exception. Corresponds to the JSON property breeamCertificationException

Returns:

  • (String)


3845
3846
3847
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3845

def breeam_certification_exception
  @breeam_certification_exception
end

#eco_certificationsArray<Google::Apis::MybusinesslodgingV1::EcoCertification>

The eco certificates awarded to the hotel. Corresponds to the JSON property ecoCertifications



3850
3851
3852
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3850

def eco_certifications
  @eco_certifications
end

#leed_certificationString

LEED certification. Deprecated: this field is no longer populated. LEED certification status is now provided directly by USGBC. Corresponds to the JSON property leedCertification

Returns:

  • (String)


3856
3857
3858
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3856

def leed_certification
  @leed_certification
end

#leed_certification_exceptionString

LEED certification exception. Deprecated: this field is no longer populated. LEED certification status is now provided directly by USGBC. Corresponds to the JSON property leedCertificationException

Returns:

  • (String)


3862
3863
3864
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3862

def leed_certification_exception
  @leed_certification_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3869
3870
3871
3872
3873
3874
3875
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 3869

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