// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!

#import <Foundation/Foundation.h>
#import "Trading_GetWantItNowSearchResultsRequestType.h"
#import "Trading_PaginationType.h"

@implementation Trading_GetWantItNowSearchResultsRequestType

@synthesize categoryID = _categoryID;
@synthesize query = _query;
@synthesize searchInDescription = _searchInDescription;
@synthesize searchWorldwide = _searchWorldwide;
@synthesize pagination = _pagination;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"GetWantItNowSearchResultsRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
    [cs autorelease];
    return cs;
}

// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
    NSMutableDictionary *map = [NSMutableDictionary dictionary];
    
    PicoPropertySchema *ps = nil;
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CategoryID" propertyName:@"categoryID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"categoryID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Query" propertyName:@"query" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"query"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SearchInDescription" propertyName:@"searchInDescription" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"searchInDescription"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SearchWorldwide" propertyName:@"searchWorldwide" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"searchWorldwide"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Pagination" propertyName:@"pagination" type:PICO_TYPE_OBJECT clazz:[Trading_PaginationType class]];
    [map setObject:ps forKey:@"pagination"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.categoryID = nil;
    self.query = nil;
    self.searchInDescription = nil;
    self.searchWorldwide = nil;
    self.pagination = nil;
    [super dealloc];
}

@end
