Class: Google::Apis::MybusinesslodgingV1::Connectivity

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

The ways in which the property provides guests with the ability to access the internet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Connectivity

Returns a new instance of Connectivity.



494
495
496
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 494

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

Instance Attribute Details

#free_wifiBoolean Also known as: free_wifi?

Free wifi. The hotel offers guests wifi for free. Corresponds to the JSON property freeWifi

Returns:

  • (Boolean)


447
448
449
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 447

def free_wifi
  @free_wifi
end

#free_wifi_exceptionString

Free wifi exception. Corresponds to the JSON property freeWifiException

Returns:

  • (String)


453
454
455
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 453

def free_wifi_exception
  @free_wifi_exception
end

#public_area_wifi_availableBoolean Also known as: public_area_wifi_available?

Public area wifi available. Guests have the ability to wirelessly connect to the internet in the areas of the hotel accessible to anyone. Can be free or for a fee. Corresponds to the JSON property publicAreaWifiAvailable

Returns:

  • (Boolean)


460
461
462
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 460

def public_area_wifi_available
  @public_area_wifi_available
end

#public_area_wifi_available_exceptionString

Public area wifi available exception. Corresponds to the JSON property publicAreaWifiAvailableException

Returns:

  • (String)


466
467
468
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 466

def public_area_wifi_available_exception
  @public_area_wifi_available_exception
end

#public_internet_terminalBoolean Also known as: public_internet_terminal?

Public internet terminal. An area of the hotel supplied with computers and designated for the purpose of providing guests with the ability to access the internet. Corresponds to the JSON property publicInternetTerminal

Returns:

  • (Boolean)


473
474
475
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 473

def public_internet_terminal
  @public_internet_terminal
end

#public_internet_terminal_exceptionString

Public internet terminal exception. Corresponds to the JSON property publicInternetTerminalException

Returns:

  • (String)


479
480
481
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 479

def public_internet_terminal_exception
  @public_internet_terminal_exception
end

#wifi_availableBoolean Also known as: wifi_available?

Wifi available. The hotel provides the ability for guests to wirelessly connect to the internet. Can be in the public areas of the hotel and/or in the guest rooms. Can be free or for a fee. Corresponds to the JSON property wifiAvailable

Returns:

  • (Boolean)


486
487
488
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 486

def wifi_available
  @wifi_available
end

#wifi_available_exceptionString

Wifi available exception. Corresponds to the JSON property wifiAvailableException

Returns:

  • (String)


492
493
494
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 492

def wifi_available_exception
  @wifi_available_exception
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



499
500
501
502
503
504
505
506
507
508
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 499

def update!(**args)
  @free_wifi = args[:free_wifi] if args.key?(:free_wifi)
  @free_wifi_exception = args[:free_wifi_exception] if args.key?(:free_wifi_exception)
  @public_area_wifi_available = args[:public_area_wifi_available] if args.key?(:public_area_wifi_available)
  @public_area_wifi_available_exception = args[:public_area_wifi_available_exception] if args.key?(:public_area_wifi_available_exception)
  @public_internet_terminal = args[:public_internet_terminal] if args.key?(:public_internet_terminal)
  @public_internet_terminal_exception = args[:public_internet_terminal_exception] if args.key?(:public_internet_terminal_exception)
  @wifi_available = args[:wifi_available] if args.key?(:wifi_available)
  @wifi_available_exception = args[:wifi_available_exception] if args.key?(:wifi_available_exception)
end