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

#import <Foundation/Foundation.h>
#import "Trading_GetCharitiesRequestType.h"

@implementation Trading_GetCharitiesRequestType

@synthesize charityID = _charityID;
@synthesize charityName = _charityName;
@synthesize query = _query;
@synthesize charityRegion = _charityRegion;
@synthesize charityDomain = _charityDomain;
@synthesize includeDescription = _includeDescription;
@synthesize matchType = _matchType;
@synthesize featured = _featured;
@synthesize campaignID = _campaignID;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"GetCharitiesRequest" 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:@"CharityID" propertyName:@"charityID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"charityID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CharityName" propertyName:@"charityName" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"charityName"];
    [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:@"CharityRegion" propertyName:@"charityRegion" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"charityRegion"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CharityDomain" propertyName:@"charityDomain" type:PICO_TYPE_INT clazz:nil];
    [map setObject:ps forKey:@"charityDomain"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"IncludeDescription" propertyName:@"includeDescription" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"includeDescription"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MatchType" propertyName:@"matchType" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"matchType"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Featured" propertyName:@"featured" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"featured"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CampaignID" propertyName:@"campaignID" type:PICO_TYPE_LONG clazz:nil];
    [map setObject:ps forKey:@"campaignID"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.charityID = nil;
    self.charityName = nil;
    self.query = nil;
    self.charityRegion = nil;
    self.charityDomain = nil;
    self.includeDescription = nil;
    self.matchType = nil;
    self.featured = nil;
    self.campaignID = nil;
    [super dealloc];
}

@end
