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

#import <Foundation/Foundation.h>
#import "Trading_GetMyMessagesRequestType.h"
#import "Trading_MyMessagesExternalMessageIDArrayType.h"
#import "Trading_MyMessagesMessageIDArrayType.h"
#import "Trading_PaginationType.h"
#import "Trading_MyMessagesAlertIDArrayType.h"

@implementation Trading_GetMyMessagesRequestType

@synthesize alertIDs = _alertIDs;
@synthesize messageIDs = _messageIDs;
@synthesize folderID = _folderID;
@synthesize startTime = _startTime;
@synthesize endTime = _endTime;
@synthesize externalMessageIDs = _externalMessageIDs;
@synthesize pagination = _pagination;
@synthesize includeHighPriorityMessageOnly = _includeHighPriorityMessageOnly;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"GetMyMessagesRequest" 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:@"AlertIDs" propertyName:@"alertIDs" type:PICO_TYPE_OBJECT clazz:[Trading_MyMessagesAlertIDArrayType class]];
    [map setObject:ps forKey:@"alertIDs"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MessageIDs" propertyName:@"messageIDs" type:PICO_TYPE_OBJECT clazz:[Trading_MyMessagesMessageIDArrayType class]];
    [map setObject:ps forKey:@"messageIDs"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"FolderID" propertyName:@"folderID" type:PICO_TYPE_LONG clazz:nil];
    [map setObject:ps forKey:@"folderID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"StartTime" propertyName:@"startTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"startTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EndTime" propertyName:@"endTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"endTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ExternalMessageIDs" propertyName:@"externalMessageIDs" type:PICO_TYPE_OBJECT clazz:[Trading_MyMessagesExternalMessageIDArrayType class]];
    [map setObject:ps forKey:@"externalMessageIDs"];
    [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];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"IncludeHighPriorityMessageOnly" propertyName:@"includeHighPriorityMessageOnly" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"includeHighPriorityMessageOnly"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.alertIDs = nil;
    self.messageIDs = nil;
    self.folderID = nil;
    self.startTime = nil;
    self.endTime = nil;
    self.externalMessageIDs = nil;
    self.pagination = nil;
    self.includeHighPriorityMessageOnly = nil;
    [super dealloc];
}

@end
