TKToursGYGQuery
@interface TKToursGYGQuery : NSObject <NSCopying, NSMutableCopying>
Query object used for fetching specific collections of TKTour
objects from GetYourGuide.
-
Desired identifier of parent node. It represents the area where tour takes place in.
Note
Required attribute. Example:
city:1
.Note
You can find IDs of countries in Google Sheets or CSV file, you can also find IDs of top cities in Google Sheets and CSV file as well.
Declaration
Objective-C
@property (readwrite, copy, nonatomic, nullable) NSString *parentID;
Swift
var parentID: String? { get set }
-
Desired sorting type of Tours returned.
Note
Changing this property may change current
descendingSortingOrder
setting.Declaration
Objective-C
@property (assign, readwrite, nonatomic) TKToursGYGQuerySorting sortingType;
Swift
var sortingType: TKToursGYGQuerySorting { get set }
-
Declaration of descending sorting order.
Note
Descending order is not supported forTKToursQuerySortingTopSellers
sorting type.Declaration
Objective-C
@property (assign, readwrite, atomic) BOOL descendingSortingOrder;
Swift
var descendingSortingOrder: Bool { get set }
-
A start date used to look for the tours.
Declaration
Objective-C
@property (readwrite, strong, nonatomic, nullable) NSDate *startDate;
Swift
var startDate: Date? { get set }
-
An end date used to look for the tours.
Declaration
Objective-C
@property (readwrite, strong, nonatomic, nullable) NSDate *endDate;
Swift
var endDate: Date? { get set }
-
Duration range in seconds.
Note
Example value:3600
.Declaration
Objective-C
@property (readwrite, strong, nonatomic, nullable) NSNumber *minimalDuration;
Swift
var minimalDuration: NSNumber? { get set }
-
Duration range in seconds.
Note
Example value:86400
.Declaration
Objective-C
@property (readwrite, strong, nonatomic, nullable) NSNumber *maximalDuration;
Swift
var maximalDuration: NSNumber? { get set }
-
A search term used to look for the tours.
Declaration
Objective-C
@property (readwrite, strong, nonatomic, nullable) NSString *searchTerm;
Swift
var searchTerm: String? { get set }
-
Limit results to an area defined by the given bounds.
Declaration
Objective-C
@property (readwrite, strong, nonatomic, nullable) TKMapRegion *bounds;
Swift
var bounds: TKMapRegion? { get set }
-
Requested number of results on a single page.
Declaration
Objective-C
@property (readwrite, strong, nonatomic, nullable) NSNumber *count;
Swift
var count: NSNumber? { get set }
-
Requested page number with results.
Note
Accepted values:1
–X
. Implicit value is1
.Declaration
Objective-C
@property (readwrite, strong, nonatomic, nullable) NSNumber *pageNumber;
Swift
var pageNumber: NSNumber? { get set }