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

// ----------------------------------------------------------------------------
// API:
//   Web Fonts Developer API (webfonts/v1)
// Description:
//   The Google Web Fonts Developer API lets you retrieve information about web
//   fonts served by Google.
// Documentation:
//   https://developers.google.com/fonts/docs/developer_api

#if SWIFT_PACKAGE || GTLR_USE_MODULAR_IMPORT
  @import GoogleAPIClientForRESTCore;
#elif GTLR_BUILT_AS_FRAMEWORK
  #import "GTLR/GTLRQuery.h"
#else
  #import "GTLRQuery.h"
#endif

#if GTLR_RUNTIME_VERSION != 3000
#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source.
#endif

// Generated comments include content from the discovery document; avoid them
// causing warnings since clang's checks are some what arbitrary.
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdocumentation"

NS_ASSUME_NONNULL_BEGIN

// ----------------------------------------------------------------------------
// Constants - For some of the query classes' properties below.

// ----------------------------------------------------------------------------
// sort

/**
 *  Sort alphabetically
 *
 *  Value: "ALPHA"
 */
FOUNDATION_EXTERN NSString * const kGTLRWebfontsSortAlpha;
/**
 *  Sort by date added
 *
 *  Value: "DATE"
 */
FOUNDATION_EXTERN NSString * const kGTLRWebfontsSortDate;
/**
 *  Sort by popularity
 *
 *  Value: "POPULARITY"
 */
FOUNDATION_EXTERN NSString * const kGTLRWebfontsSortPopularity;
/**
 *  No sorting specified, use the default sorting method.
 *
 *  Value: "SORT_UNDEFINED"
 */
FOUNDATION_EXTERN NSString * const kGTLRWebfontsSortSortUndefined;
/**
 *  Sort by number of styles
 *
 *  Value: "STYLE"
 */
FOUNDATION_EXTERN NSString * const kGTLRWebfontsSortStyle;
/**
 *  Sort by trending
 *
 *  Value: "TRENDING"
 */
FOUNDATION_EXTERN NSString * const kGTLRWebfontsSortTrending;

// ----------------------------------------------------------------------------
// Query Classes
//

/**
 *  Parent class for other Webfonts query classes.
 */
@interface GTLRWebfontsQuery : GTLRQuery

/** Selector specifying which fields to include in a partial response. */
@property(nonatomic, copy, nullable) NSString *fields;

@end

/**
 *  Retrieves the list of fonts currently served by the Google Fonts Developer
 *  API.
 *
 *  Method: webfonts.webfonts.list
 */
@interface GTLRWebfontsQuery_WebfontsList : GTLRWebfontsQuery
// Previous library name was
//   +[GTLQueryWebfonts queryForWebfontsList]

/**
 *  Enables sorting of the list.
 *
 *  Likely values:
 *    @arg @c kGTLRWebfontsSortSortUndefined No sorting specified, use the
 *        default sorting method. (Value: "SORT_UNDEFINED")
 *    @arg @c kGTLRWebfontsSortAlpha Sort alphabetically (Value: "ALPHA")
 *    @arg @c kGTLRWebfontsSortDate Sort by date added (Value: "DATE")
 *    @arg @c kGTLRWebfontsSortPopularity Sort by popularity (Value:
 *        "POPULARITY")
 *    @arg @c kGTLRWebfontsSortStyle Sort by number of styles (Value: "STYLE")
 *    @arg @c kGTLRWebfontsSortTrending Sort by trending (Value: "TRENDING")
 */
@property(nonatomic, copy, nullable) NSString *sort;

/**
 *  Fetches a @c GTLRWebfonts_WebfontList.
 *
 *  Retrieves the list of fonts currently served by the Google Fonts Developer
 *  API.
 *
 *  @return GTLRWebfontsQuery_WebfontsList
 */
+ (instancetype)query;

@end

NS_ASSUME_NONNULL_END

#pragma clang diagnostic pop
