// NOTE: This file was generated by the ServiceGenerator.

// ----------------------------------------------------------------------------
// API:
//   Calendar API (calendar/v3)
// Description:
//   Manipulates events and other calendar data.
// Documentation:
//   https://developers.google.com/google-apps/calendar/firstapp

#import "GTLRCalendar.h"

// ----------------------------------------------------------------------------
// Authorization scopes

NSString * const kGTLRAuthScopeCalendar         = @"https://www.googleapis.com/auth/calendar";
NSString * const kGTLRAuthScopeCalendarReadonly = @"https://www.googleapis.com/auth/calendar.readonly";

// ----------------------------------------------------------------------------
//   GTLRCalendarService
//

@implementation GTLRCalendarService

- (instancetype)init {
  self = [super init];
  if (self) {
    // From discovery.
    self.rootURLString = @"https://www.googleapis.com/";
    self.servicePath = @"calendar/v3/";
    self.batchPath = @"batch/calendar/v3";
    self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ];
  }
  return self;
}

+ (NSDictionary<NSString *, Class> *)kindStringToClassMap {
  return @{
    @"api#channel" : [GTLRCalendar_Channel class],
    @"calendar#acl" : [GTLRCalendar_Acl class],
    @"calendar#aclRule" : [GTLRCalendar_AclRule class],
    @"calendar#calendar" : [GTLRCalendar_Calendar class],
    @"calendar#calendarList" : [GTLRCalendar_CalendarList class],
    @"calendar#calendarListEntry" : [GTLRCalendar_CalendarListEntry class],
    @"calendar#colors" : [GTLRCalendar_Colors class],
    @"calendar#event" : [GTLRCalendar_Event class],
    @"calendar#events" : [GTLRCalendar_Events class],
    @"calendar#freeBusy" : [GTLRCalendar_FreeBusyResponse class],
    @"calendar#setting" : [GTLRCalendar_Setting class],
    @"calendar#settings" : [GTLRCalendar_Settings class],
  };
}

@end
