GMTCMutableTripRequest Class Reference
Overview
Mutable version of GMTCTripRequest.
Inherits GMTCTripRequest.
Public Member Functions | |
(instancetype) | - init |
Initializes the object. | |
(instancetype) | - initWithRequestHeader:tripName:autoRefreshTimeInterval: |
Initializes the object. | |
(instancetype) | - initWithRequestHeader: |
Initialization of the object. | |
Properties | |
GMTSRequestHeader * | requestHeader |
Header of the request. | |
NSString * | tripName |
ID of the target trip. | |
NSTimeInterval | autoRefreshTimeInterval |
Refresh time interval of the trip request. |
Member Function Documentation
- (instancetype) init |
Initializes the object.
- (instancetype) initWithRequestHeader: | (nullable GMTSRequestHeader *) | requestHeader | |
tripName: | (nullable NSString *) | tripName | |
autoRefreshTimeInterval: | (NSTimeInterval) | autoRefreshTimeInterval | |
Initializes the object.
- Parameters:
-
requestHeader The header object of the request. tripName Name of trip, if set as nil, the property `tripName` getter will return "". autoRefreshTimeInterval The refresh time interval of the trip request.
- (instancetype) initWithRequestHeader: | (nullable GMTSRequestHeader *) | requestHeader |
Initialization of the object.
- Parameters:
-
requestHeader A request header object to bind with the current request.
Property Documentation
- (GMTSRequestHeader*) requestHeader [read, write, copy] |
Header of the request.
Implements GMTSRequest.
- (NSString*) tripName [read, write, copy] |
ID of the target trip.
The value will be an empty string("") if set as nil.
Implements GMTCTripRequest.
- (NSTimeInterval) autoRefreshTimeInterval [read, write, assign] |
Refresh time interval of the trip request.
Implements GMTCTripRequest.