Captainup  2.4
Properties | List of all members
<CPTResponse> Protocol Reference

#import <CPTResponse.h>

Inheritance diagram for <CPTResponse>:
<CPTObject> <CPTApplicationResponse> <CPTClaimResponse> <CPTCreateAcquireResponse> <CPTCreateActionResponse> <CPTPageResponse> <CPTSocialFeedResponse> <CPTUserResponse> <CPTActionsResponse> <CPTLeaderboardResponse>

Properties

NSInteger code
 
NSError * error
 
NSString * objectName
 
NSString * requestUrl
 
NSString * apiVersion
 
BOOL isSuccessful
 
- Properties inherited from <CPTObject>
NSDictionary< NSString *, id > * sourceDictionary
 

Additional Inherited Members

- Instance Methods inherited from <CPTObject>
(nonnull instancetype) - initWithDictionary:
 
(nonnull NSDictionary< NSString *, id > *) - toDictionary
 

Detailed Description

Description

Property Documentation

◆ apiVersion

- (NSString*) apiVersion
readnonatomicassign

The API version

Returns
the API version

◆ code

- (NSInteger) code
readnonatomicassign

The request status code

Returns
the request status code. e.g. 200 for success.

◆ error

- (NSError*) error
readnonatomicassign

Description

◆ isSuccessful

- (BOOL) isSuccessful
readnonatomicassign

Returns whether or not the request was successful

Returns
true if the request was successful, false otherwise

◆ objectName

- (NSString*) objectName
readnonatomicassign

The name of the object requested

Returns
one of the following: "action"

◆ requestUrl

- (NSString*) requestUrl
readnonatomicassign

The URL of the request

Returns
the URL of the request

The documentation for this protocol was generated from the following file: