-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
mybusinesslodging-gen.go
7005 lines (6236 loc) · 300 KB
/
mybusinesslodging-gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright 2022 Google LLC.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated file. DO NOT EDIT.
// Package mybusinesslodging provides access to the My Business Lodging API.
//
// For product documentation, see: https://developers.google.com/my-business/
//
// Creating a client
//
// Usage example:
//
// import "google.golang.org/api/mybusinesslodging/v1"
// ...
// ctx := context.Background()
// mybusinesslodgingService, err := mybusinesslodging.NewService(ctx)
//
// In this example, Google Application Default Credentials are used for authentication.
//
// For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
//
// Other authentication options
//
// To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
//
// mybusinesslodgingService, err := mybusinesslodging.NewService(ctx, option.WithAPIKey("AIza..."))
//
// To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
//
// config := &oauth2.Config{...}
// // ...
// token, err := config.Exchange(ctx, ...)
// mybusinesslodgingService, err := mybusinesslodging.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
//
// See https://godoc.org/google.golang.org/api/option/ for details on options.
package mybusinesslodging // import "google.golang.org/api/mybusinesslodging/v1"
import (
"bytes"
"context"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"net/url"
"strconv"
"strings"
googleapi "google.golang.org/api/googleapi"
internal "google.golang.org/api/internal"
gensupport "google.golang.org/api/internal/gensupport"
option "google.golang.org/api/option"
internaloption "google.golang.org/api/option/internaloption"
htransport "google.golang.org/api/transport/http"
)
// Always reference these packages, just in case the auto-generated code
// below doesn't.
var _ = bytes.NewBuffer
var _ = strconv.Itoa
var _ = fmt.Sprintf
var _ = json.NewDecoder
var _ = io.Copy
var _ = url.Parse
var _ = gensupport.MarshalJSON
var _ = googleapi.Version
var _ = errors.New
var _ = strings.Replace
var _ = context.Canceled
var _ = internaloption.WithDefaultEndpoint
const apiId = "mybusinesslodging:v1"
const apiName = "mybusinesslodging"
const apiVersion = "v1"
const basePath = "https://mybusinesslodging.googleapis.com/"
const mtlsBasePath = "https://mybusinesslodging.mtls.googleapis.com/"
// NewService creates a new Service.
func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {
opts = append(opts, internaloption.WithDefaultEndpoint(basePath))
opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))
client, endpoint, err := htransport.NewClient(ctx, opts...)
if err != nil {
return nil, err
}
s, err := New(client)
if err != nil {
return nil, err
}
if endpoint != "" {
s.BasePath = endpoint
}
return s, nil
}
// New creates a new Service. It uses the provided http.Client for requests.
//
// Deprecated: please use NewService instead.
// To provide a custom HTTP client, use option.WithHTTPClient.
// If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func New(client *http.Client) (*Service, error) {
if client == nil {
return nil, errors.New("client is nil")
}
s := &Service{client: client, BasePath: basePath}
s.Locations = NewLocationsService(s)
return s, nil
}
type Service struct {
client *http.Client
BasePath string // API endpoint base URL
UserAgent string // optional additional User-Agent fragment
Locations *LocationsService
}
func (s *Service) userAgent() string {
if s.UserAgent == "" {
return googleapi.UserAgent
}
return googleapi.UserAgent + " " + s.UserAgent
}
func NewLocationsService(s *Service) *LocationsService {
rs := &LocationsService{s: s}
rs.Lodging = NewLocationsLodgingService(s)
return rs
}
type LocationsService struct {
s *Service
Lodging *LocationsLodgingService
}
func NewLocationsLodgingService(s *Service) *LocationsLodgingService {
rs := &LocationsLodgingService{s: s}
return rs
}
type LocationsLodgingService struct {
s *Service
}
// Accessibility: Physical adaptations made to the property in
// consideration of varying levels of human physical ability.
type Accessibility struct {
// MobilityAccessible: Mobility accessible. Throughout the property
// there are physical adaptations to ease the stay of a person in a
// wheelchair, such as auto-opening doors, wide elevators, wide
// bathrooms or ramps.
MobilityAccessible bool `json:"mobilityAccessible,omitempty"`
// MobilityAccessibleElevator: Mobility accessible elevator. A lift that
// transports people from one level to another and is built to
// accommodate a wheelchair-using passenger owing to the width of its
// doors and placement of call buttons.
MobilityAccessibleElevator bool `json:"mobilityAccessibleElevator,omitempty"`
// MobilityAccessibleElevatorException: Mobility accessible elevator
// exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
MobilityAccessibleElevatorException string `json:"mobilityAccessibleElevatorException,omitempty"`
// MobilityAccessibleException: Mobility accessible exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
MobilityAccessibleException string `json:"mobilityAccessibleException,omitempty"`
// MobilityAccessibleParking: Mobility accessible parking. The presence
// of a marked, designated area of prescribed size in which only
// registered, labeled vehicles transporting a person with physical
// challenges may park.
MobilityAccessibleParking bool `json:"mobilityAccessibleParking,omitempty"`
// MobilityAccessibleParkingException: Mobility accessible parking
// exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
MobilityAccessibleParkingException string `json:"mobilityAccessibleParkingException,omitempty"`
// MobilityAccessiblePool: Mobility accessible pool. A swimming pool
// equipped with a mechanical chair that can be lowered and raised for
// the purpose of moving physically challenged guests into and out of
// the pool. May be powered by electricity or water. Also known as pool
// lift.
MobilityAccessiblePool bool `json:"mobilityAccessiblePool,omitempty"`
// MobilityAccessiblePoolException: Mobility accessible pool exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
MobilityAccessiblePoolException string `json:"mobilityAccessiblePoolException,omitempty"`
// ForceSendFields is a list of field names (e.g. "MobilityAccessible")
// to unconditionally include in API requests. By default, fields with
// empty or default values are omitted from API requests. However, any
// non-pointer, non-interface field appearing in ForceSendFields will be
// sent to the server regardless of whether the field is empty or not.
// This may be used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "MobilityAccessible") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *Accessibility) MarshalJSON() ([]byte, error) {
type NoMethod Accessibility
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Activities: Amenities and features related to leisure and play.
type Activities struct {
// BeachAccess: Beach access. The hotel property is in close proximity
// to a beach and offers a way to get to that beach. This can include a
// route to the beach such as stairs down if hotel is on a bluff, or a
// short trail. Not the same as beachfront (with beach access, the
// hotel's proximity is close to but not right on the beach).
BeachAccess bool `json:"beachAccess,omitempty"`
// BeachAccessException: Beach access exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
BeachAccessException string `json:"beachAccessException,omitempty"`
// BeachFront: Breach front. The hotel property is physically located on
// the beach alongside an ocean, sea, gulf, or bay. It is not on a lake,
// river, stream, or pond. The hotel is not separated from the beach by
// a public road allowing vehicular, pedestrian, or bicycle traffic.
BeachFront bool `json:"beachFront,omitempty"`
// BeachFrontException: Beach front exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
BeachFrontException string `json:"beachFrontException,omitempty"`
// BicycleRental: Bicycle rental. The hotel owns bicycles that it
// permits guests to borrow and use. Can be free or for a fee.
BicycleRental bool `json:"bicycleRental,omitempty"`
// BicycleRentalException: Bicycle rental exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
BicycleRentalException string `json:"bicycleRentalException,omitempty"`
// BoutiqueStores: Boutique stores. There are stores selling clothing,
// jewelry, art and decor either on hotel premises or very close by.
// Does not refer to the hotel gift shop or convenience store.
BoutiqueStores bool `json:"boutiqueStores,omitempty"`
// BoutiqueStoresException: Boutique stores exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
BoutiqueStoresException string `json:"boutiqueStoresException,omitempty"`
// Casino: Casino. A space designated for gambling and gaming featuring
// croupier-run table and card games, as well as electronic slot
// machines. May be on hotel premises or located nearby.
Casino bool `json:"casino,omitempty"`
// CasinoException: Casino exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
CasinoException string `json:"casinoException,omitempty"`
// FreeBicycleRental: Free bicycle rental. The hotel owns bicycles that
// it permits guests to borrow and use for free.
FreeBicycleRental bool `json:"freeBicycleRental,omitempty"`
// FreeBicycleRentalException: Free bicycle rental exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
FreeBicycleRentalException string `json:"freeBicycleRentalException,omitempty"`
// FreeWatercraftRental: Free watercraft rental. The hotel owns
// watercraft that it permits guests to borrow and use for free.
FreeWatercraftRental bool `json:"freeWatercraftRental,omitempty"`
// FreeWatercraftRentalException: Free Watercraft rental exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
FreeWatercraftRentalException string `json:"freeWatercraftRentalException,omitempty"`
// GameRoom: Game room. There is a room at the hotel containing
// electronic machines for play such as pinball, prize machines, driving
// simulators, and other items commonly found at a family fun center or
// arcade. May also include non-electronic games like pool, foosball,
// darts, and more. May or may not be designed for children. Also known
// as arcade, fun room, or family fun center.
GameRoom bool `json:"gameRoom,omitempty"`
// GameRoomException: Game room exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
GameRoomException string `json:"gameRoomException,omitempty"`
// Golf: Golf. There is a golf course on hotel grounds or there is a
// nearby, independently run golf course that allows use by hotel
// guests. Can be free or for a fee.
Golf bool `json:"golf,omitempty"`
// GolfException: Golf exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
GolfException string `json:"golfException,omitempty"`
// HorsebackRiding: Horseback riding. The hotel has a horse barn onsite
// or an affiliation with a nearby barn to allow for guests to sit
// astride a horse and direct it to walk, trot, cantor, gallop and/or
// jump. Can be in a riding ring, on designated paths, or in the
// wilderness. May or may not involve instruction.
HorsebackRiding bool `json:"horsebackRiding,omitempty"`
// HorsebackRidingException: Horseback riding exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
HorsebackRidingException string `json:"horsebackRidingException,omitempty"`
// Nightclub: Nightclub. There is a room at the hotel with a bar, a
// dance floor, and seating where designated staffers play dance music.
// There may also be a designated area for the performance of live
// music, singing and comedy acts.
Nightclub bool `json:"nightclub,omitempty"`
// NightclubException: Nightclub exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
NightclubException string `json:"nightclubException,omitempty"`
// PrivateBeach: Private beach. The beach which is in close proximity to
// the hotel is open only to guests.
PrivateBeach bool `json:"privateBeach,omitempty"`
// PrivateBeachException: Private beach exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
PrivateBeachException string `json:"privateBeachException,omitempty"`
// Scuba: Scuba. The provision for guests to dive under naturally
// occurring water fitted with a self-contained underwater breathing
// apparatus (SCUBA) for the purpose of exploring underwater life.
// Apparatus consists of a tank providing oxygen to the diver through a
// mask. Requires certification of the diver and supervision. The hotel
// may have the activity at its own waterfront or have an affiliation
// with a nearby facility. Required equipment is most often supplied to
// guests. Can be free or for a fee. Not snorkeling. Not done in a
// swimming pool.
Scuba bool `json:"scuba,omitempty"`
// ScubaException: Scuba exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
ScubaException string `json:"scubaException,omitempty"`
// Snorkeling: Snorkeling. The provision for guests to participate in a
// recreational water activity in which swimmers wear a diving mask, a
// simple, shaped breathing tube and flippers/swim fins for the purpose
// of exploring below the surface of an ocean, gulf or lake. Does not
// usually require user certification or professional supervision.
// Equipment may or may not be available for rent or purchase. Not scuba
// diving.
Snorkeling bool `json:"snorkeling,omitempty"`
// SnorkelingException: Snorkeling exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
SnorkelingException string `json:"snorkelingException,omitempty"`
// Tennis: Tennis. The hotel has the requisite court(s) on site or has
// an affiliation with a nearby facility for the purpose of providing
// guests with the opportunity to play a two-sided court-based game in
// which players use a stringed racquet to hit a ball across a net to
// the side of the opposing player. The court can be indoors or
// outdoors. Instructors, racquets and balls may or may not be provided.
Tennis bool `json:"tennis,omitempty"`
// TennisException: Tennis exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
TennisException string `json:"tennisException,omitempty"`
// WaterSkiing: Water skiing. The provision of giving guests the
// opportunity to be pulled across naturally occurring water while
// standing on skis and holding a tow rope attached to a motorboat. Can
// occur on hotel premises or at a nearby waterfront. Most often
// performed in a lake or ocean.
WaterSkiing bool `json:"waterSkiing,omitempty"`
// WaterSkiingException: Water skiing exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
WaterSkiingException string `json:"waterSkiingException,omitempty"`
// WatercraftRental: Watercraft rental. The hotel owns water vessels
// that it permits guests to borrow and use. Can be free or for a fee.
// Watercraft may include boats, pedal boats, rowboats, sailboats,
// powerboats, canoes, kayaks, or personal watercraft (such as a Jet
// Ski).
WatercraftRental bool `json:"watercraftRental,omitempty"`
// WatercraftRentalException: Watercraft rental exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
WatercraftRentalException string `json:"watercraftRentalException,omitempty"`
// ForceSendFields is a list of field names (e.g. "BeachAccess") to
// unconditionally include in API requests. By default, fields with
// empty or default values are omitted from API requests. However, any
// non-pointer, non-interface field appearing in ForceSendFields will be
// sent to the server regardless of whether the field is empty or not.
// This may be used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "BeachAccess") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *Activities) MarshalJSON() ([]byte, error) {
type NoMethod Activities
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Business: Features of the property of specific interest to the
// business traveler.
type Business struct {
// BusinessCenter: Business center. A designated room at the hotel with
// one or more desks and equipped with guest-use computers, printers,
// fax machines and/or photocopiers. May or may not be open 24/7. May or
// may not require a key to access. Not a meeting room or conference
// room.
BusinessCenter bool `json:"businessCenter,omitempty"`
// BusinessCenterException: Business center exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
BusinessCenterException string `json:"businessCenterException,omitempty"`
// MeetingRooms: Meeting rooms. Rooms at the hotel designated for
// business-related gatherings. Rooms are usually equipped with tables
// or desks, office chairs and audio/visual facilities to allow for
// presentations and conference calls. Also known as conference rooms.
MeetingRooms bool `json:"meetingRooms,omitempty"`
// MeetingRoomsCount: Meeting rooms count. The number of meeting rooms
// at the property.
MeetingRoomsCount int64 `json:"meetingRoomsCount,omitempty"`
// MeetingRoomsCountException: Meeting rooms count exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
MeetingRoomsCountException string `json:"meetingRoomsCountException,omitempty"`
// MeetingRoomsException: Meeting rooms exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
MeetingRoomsException string `json:"meetingRoomsException,omitempty"`
// ForceSendFields is a list of field names (e.g. "BusinessCenter") to
// unconditionally include in API requests. By default, fields with
// empty or default values are omitted from API requests. However, any
// non-pointer, non-interface field appearing in ForceSendFields will be
// sent to the server regardless of whether the field is empty or not.
// This may be used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "BusinessCenter") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *Business) MarshalJSON() ([]byte, error) {
type NoMethod Business
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// Connectivity: The ways in which the property provides guests with the
// ability to access the internet.
type Connectivity struct {
// FreeWifi: Free wifi. The hotel offers guests wifi for free.
FreeWifi bool `json:"freeWifi,omitempty"`
// FreeWifiException: Free wifi exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
FreeWifiException string `json:"freeWifiException,omitempty"`
// PublicAreaWifiAvailable: 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.
PublicAreaWifiAvailable bool `json:"publicAreaWifiAvailable,omitempty"`
// PublicAreaWifiAvailableException: Public area wifi available
// exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
PublicAreaWifiAvailableException string `json:"publicAreaWifiAvailableException,omitempty"`
// PublicInternetTerminal: 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.
PublicInternetTerminal bool `json:"publicInternetTerminal,omitempty"`
// PublicInternetTerminalException: Public internet terminal exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
PublicInternetTerminalException string `json:"publicInternetTerminalException,omitempty"`
// WifiAvailable: 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.
WifiAvailable bool `json:"wifiAvailable,omitempty"`
// WifiAvailableException: Wifi available exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
WifiAvailableException string `json:"wifiAvailableException,omitempty"`
// ForceSendFields is a list of field names (e.g. "FreeWifi") to
// unconditionally include in API requests. By default, fields with
// empty or default values are omitted from API requests. However, any
// non-pointer, non-interface field appearing in ForceSendFields will be
// sent to the server regardless of whether the field is empty or not.
// This may be used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "FreeWifi") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *Connectivity) MarshalJSON() ([]byte, error) {
type NoMethod Connectivity
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// EcoCertification: An eco certificate awarded to the hotel.
type EcoCertification struct {
// Awarded: Whether the eco certificate was awarded or not.
Awarded bool `json:"awarded,omitempty"`
// AwardedException: Awarded exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
AwardedException string `json:"awardedException,omitempty"`
// EcoCertificate: Required. The eco certificate.
//
// Possible values:
// "ECO_CERTIFICATE_UNSPECIFIED" - Default EcoCertificate. Do not use.
// "ISO14001" - ISO14001.
// "ISO50001" - ISO50001.
// "ASIAN_ECOTOURISM" - Asian Ecotourism Standard for Accommodations
// (AESA).
// "BIOSPHERE_RESPOSNIBLE_TOURISM" - Biosphere Responsible Tourism
// Standard.
// "BUREAU_VERITAS" - Bureau Veritas.
// "CONTROL_UNION" - Control Union.
// "EARTHCHECK" - EarthCheck.
// "ECO_CERTIFICATION_MALTA" - Eco-Certification Malta Standard.
// "ECOTOURISM_AUSTRALIAS_ECO" - Ecotourism Australia's ECO
// Certification Standard.
// "GREAT_GREEN_DEAL" - GREAT Green Deal Certification.
// "GREEN_GLOBE" - Green Globe.
// "GREEN_GROWTH2050" - Green Growth 2050 Standard.
// "GREEN_KEY" - Green Key.
// "GREEN_KEY_ECO_RATING" - Geen Key Eco Rating.
// "GREEN_SEAL" - Green Seal.
// "GREEN_STAR" - Green Star Hotel Standard.
// "GREEN_TOURISM_ACTIVE" - Green Tourism Active Standard.
// "HILTON_LIGHTSTAY" - Hilton LightStay.
// "HOSTELLING_INTERNATIONALS_QUALITY_AND_SUSTAINABILITY" - Hostelling
// International's Quality and Sustainability Standard.
// "HOTELES_MAS_VERDES" - Hoteles más Verdes (AHT) Standard.
// "NORDIC_SWAN_ECOLABEL" - Nordic Swan Ecolabel.
// "PREFERRED_BY_NATURE_SUSTAINABLE_TOURISM" - Preferred by Nature
// Sustainable Tourism Standard for Accommodation.
// "SUSTAINABLE_TRAVEL_IRELAND" - Sustainable Travel Ireland – GSTC
// Industry Criteria.
// "TOF_TIGERS_INITITIVES_PUG" - TOFTigers Initiative's Pug Standard.
// "TRAVELIFE" - Travelife Standard for Hotels & Accommodations.
// "UNITED_CERTIFICATION_SYSTEMS_LIMITED" - United Certification
// Systems Limited.
// "VIREO_SRL" - Vireo Srl.
EcoCertificate string `json:"ecoCertificate,omitempty"`
// ForceSendFields is a list of field names (e.g. "Awarded") to
// unconditionally include in API requests. By default, fields with
// empty or default values are omitted from API requests. However, any
// non-pointer, non-interface field appearing in ForceSendFields will be
// sent to the server regardless of whether the field is empty or not.
// This may be used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Awarded") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *EcoCertification) MarshalJSON() ([]byte, error) {
type NoMethod EcoCertification
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// EnergyEfficiency: Energy efficiency practices implemented at the
// hotel.
type EnergyEfficiency struct {
// CarbonFreeEnergySources: Carbon free energy sources. Property sources
// carbon-free electricity via at least one of the following methods:
// on-site clean energy generation, power purchase agreement(s) with
// clean energy generators, green power provided by electricity
// supplier, or purchases of Energy Attribute Certificates (such as
// Renewable Energy Certificates or Guarantees of Origin).
CarbonFreeEnergySources bool `json:"carbonFreeEnergySources,omitempty"`
// CarbonFreeEnergySourcesException: Carbon free energy sources
// exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
CarbonFreeEnergySourcesException string `json:"carbonFreeEnergySourcesException,omitempty"`
// EnergyConservationProgram: Energy conservation program. The property
// tracks corporate-level Scope 1 and 2 GHG emissions, and Scope 3
// emissions if available. The property has a commitment to implement
// initiatives that reduce GHG emissions year over year. The property
// has shown an absolute reduction in emissions for at least 2 years.
// Emissions are either verfied by a third-party and/or published in
// external communications.
EnergyConservationProgram bool `json:"energyConservationProgram,omitempty"`
// EnergyConservationProgramException: Energy conservation program
// exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
EnergyConservationProgramException string `json:"energyConservationProgramException,omitempty"`
// EnergyEfficientHeatingAndCoolingSystems: Energy efficient heating and
// cooling systems. The property doesn't use chlorofluorocarbon
// (CFC)-based refrigerants in heating, ventilating, and
// air-conditioning systems unless a third-party audit shows it's not
// economically feasible. The CFC-based refrigerants which are used
// should have a Global Warming Potential (GWP) ≤ 10. The property
// uses occupancy sensors on HVAC systems in back-of-house spaces,
// meeting rooms, and other low-traffic areas.
EnergyEfficientHeatingAndCoolingSystems bool `json:"energyEfficientHeatingAndCoolingSystems,omitempty"`
// EnergyEfficientHeatingAndCoolingSystemsException: Energy efficient
// heating and cooling systems exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
EnergyEfficientHeatingAndCoolingSystemsException string `json:"energyEfficientHeatingAndCoolingSystemsException,omitempty"`
// EnergyEfficientLighting: Energy efficient lighting. At least 75% of
// the property's lighting is energy efficient, using lighting that is
// more than 45 lumens per watt – typically LED or CFL lightbulbs.
EnergyEfficientLighting bool `json:"energyEfficientLighting,omitempty"`
// EnergyEfficientLightingException: Energy efficient lighting
// exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
EnergyEfficientLightingException string `json:"energyEfficientLightingException,omitempty"`
// EnergySavingThermostats: Energy saving thermostats. The property
// installed energy-saving thermostats throughout the building to
// conserve energy when rooms or areas are not in use. Energy-saving
// thermostats are devices that control heating/cooling in the building
// by learning temperature preferences and automatically adjusting to
// energy-saving temperatures as the default. The thermostats are
// automatically set to a temperature between 68-78 degrees F (20-26
// °C), depending on seasonality. In the winter, set the thermostat to
// 68°F (20°C) when the room is occupied, lowering room temperature
// when unoccupied. In the summer, set the thermostat to 78°F (26°C)
// when the room is occupied.
EnergySavingThermostats bool `json:"energySavingThermostats,omitempty"`
// EnergySavingThermostatsException: Energy saving thermostats
// exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is
// seasonal.
// "DEPENDENT_ON_DAY_OF_WEEK" - Amenity or service availability
// depends on the day of the week.
EnergySavingThermostatsException string `json:"energySavingThermostatsException,omitempty"`
// GreenBuildingDesign: Output only. Green building design. True if
// BREEAM-* or LEED-* certified.
GreenBuildingDesign bool `json:"greenBuildingDesign,omitempty"`
// GreenBuildingDesignException: Output only. Green building design
// exception.
//
// Possible values:
// "EXCEPTION_UNSPECIFIED" - Default unspecified exception. Use this
// only if a more specific exception does not match.
// "UNDER_CONSTRUCTION" - Amenity or service is unavailable due to
// ongoing work orders.
// "DEPENDENT_ON_SEASON" - Amenity or service availability is