SCPListLocationsParameters
Objective-C
@interface SCPListLocationsParameters : NSObject
Swift
class ListLocationsParameters : NSObject
Parameters to be used when calling Terminal.shared.listLocations()
to list
the Location objects associated with an account.
-
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull limit;
Swift
var limit: NSNumber { get }
-
A cursor for use in pagination.
ending_before
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withobj_bar
, your subsequent call can includeending_before=obj_bar
in order to fetch the previous page of the list.Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *endingBefore;
Swift
var endingBefore: String? { get }
-
A cursor for use in pagination.
starting_after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withobj_foo
, your subsequent call can includestarting_after=obj_foo
in order to fetch the next page of the list.Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *startingAfter;
Swift
var startingAfter: String? { get }
-
Unavailable
Declaration
Objective-C
- (nonnull instancetype)init;
-
Unavailable
Declaration
Objective-C
+ (nonnull instancetype)new;