MBGetRequest Class Reference
Inherits from | MBRequest : NSObject |
Declared in | MBGetRequest.h MBGetRequest.m |
Tasks
Other Methods
-
EntityType
Request Entity Type
property -
– addIncParameterObject:
Add
inc
Parameter to Query -
– removeIncParameterObject:
-
Result
Result Data
property -
Error
Request Error
property -
Limit
Paged Results Limit
property -
Offset
Paged Results Offset
property
Other Methods
Properties
EntityType
Request Entity Type
@property (copy, nonatomic, readwrite) NSString *EntityType
Discussion
Request Entity Type
Required. Default is ""
and is not a valid entity. Valid entities are:
* artist
* label
* recording
* release
* release-group
* work
* collection
* discid
* puid
* isrc, and
* iswc
Note: collection requires authentication. @see [MBQuery setUsername:Password:]
Declared In
MBGetRequest.h
Error
Request Error
@property (retain, nonatomic) NSError *Error
Discussion
Request Error
Any error information as to why the request failed will be stored in Error. This will be set by the MBQuery object handling the request.
Declared In
MBGetRequest.h
Limit
Paged Results Limit
@property (retain, nonatomic) NSNumber *Limit
Discussion
Paged Results Limit
Limit is the number of elements returned in a browse request. The default is 25 and can be increased to 100.
Declared In
MBGetRequest.h
Offset
Paged Results Offset
@property (retain, nonatomic) NSNumber *Offset
Discussion
Paged Results Offset
Offset the number of elements in a paged request. Page 1 would be offset=0, Page 2 would be offset=Limit, Page 3 would be offset=2*limit, etc.
Declared In
MBGetRequest.h
Result
Result Data
@property (retain, nonatomic) MBMetadata *Result
Discussion
Result Data
All webservice replies are wrapped in a <metadata/>
element. This will be
set by the MBQuery object handling the request
Declared In
MBGetRequest.h