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

#import <Foundation/Foundation.h>
#import "Trading_MyMessagesMessageType.h"
#import "Trading_MyMessagesResponseDetailsType.h"
#import "Trading_MyMessagesFolderType.h"
#import "Trading_MyMessagesForwardDetailsType.h"

@implementation Trading_MyMessagesMessageType

@synthesize sender = _sender;
@synthesize recipientUserID = _recipientUserID;
@synthesize sendToName = _sendToName;
@synthesize subject = _subject;
@synthesize messageID = _messageID;
@synthesize externalMessageID = _externalMessageID;
@synthesize contentType = _contentType;
@synthesize text = _text;
@synthesize flagged = _flagged;
@synthesize read = _read;
@synthesize creationDate = _creationDate;
@synthesize receiveDate = _receiveDate;
@synthesize expirationDate = _expirationDate;
@synthesize itemID = _itemID;
@synthesize responseDetails = _responseDetails;
@synthesize forwardDetails = _forwardDetails;
@synthesize folder = _folder;
@synthesize content = _content;
@synthesize messageType = _messageType;
@synthesize listingStatus = _listingStatus;
@synthesize questionType = _questionType;
@synthesize replied = _replied;
@synthesize highPriority = _highPriority;
@synthesize itemEndTime = _itemEndTime;
@synthesize itemTitle = _itemTitle;
@synthesize any = _any;

// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
    return nil;
}

// 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:@"Sender" propertyName:@"sender" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"sender"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"RecipientUserID" propertyName:@"recipientUserID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"recipientUserID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SendToName" propertyName:@"sendToName" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"sendToName"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Subject" propertyName:@"subject" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"subject"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MessageID" propertyName:@"messageID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"messageID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ExternalMessageID" propertyName:@"externalMessageID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"externalMessageID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ContentType" propertyName:@"contentType" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"contentType"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Text" propertyName:@"text" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"text"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Flagged" propertyName:@"flagged" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"flagged"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Read" propertyName:@"read" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"read"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CreationDate" propertyName:@"creationDate" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"creationDate"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ReceiveDate" propertyName:@"receiveDate" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"receiveDate"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ExpirationDate" propertyName:@"expirationDate" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"expirationDate"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"itemID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ResponseDetails" propertyName:@"responseDetails" type:PICO_TYPE_OBJECT clazz:[Trading_MyMessagesResponseDetailsType class]];
    [map setObject:ps forKey:@"responseDetails"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ForwardDetails" propertyName:@"forwardDetails" type:PICO_TYPE_OBJECT clazz:[Trading_MyMessagesForwardDetailsType class]];
    [map setObject:ps forKey:@"forwardDetails"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Folder" propertyName:@"folder" type:PICO_TYPE_OBJECT clazz:[Trading_MyMessagesFolderType class]];
    [map setObject:ps forKey:@"folder"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Content" propertyName:@"content" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"content"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MessageType" propertyName:@"messageType" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"messageType"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ListingStatus" propertyName:@"listingStatus" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"listingStatus"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"QuestionType" propertyName:@"questionType" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"questionType"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Replied" propertyName:@"replied" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"replied"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"HighPriority" propertyName:@"highPriority" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"highPriority"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemEndTime" propertyName:@"itemEndTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"itemEndTime"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemTitle" propertyName:@"itemTitle" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"itemTitle"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
    [map setObject:ps forKey:@"any"];
    [ps release];
    
    return map;
}



-(void)dealloc {
    self.sender = nil;
    self.recipientUserID = nil;
    self.sendToName = nil;
    self.subject = nil;
    self.messageID = nil;
    self.externalMessageID = nil;
    self.contentType = nil;
    self.text = nil;
    self.flagged = nil;
    self.read = nil;
    self.creationDate = nil;
    self.receiveDate = nil;
    self.expirationDate = nil;
    self.itemID = nil;
    self.responseDetails = nil;
    self.forwardDetails = nil;
    self.folder = nil;
    self.content = nil;
    self.messageType = nil;
    self.listingStatus = nil;
    self.questionType = nil;
    self.replied = nil;
    self.highPriority = nil;
    self.itemEndTime = nil;
    self.itemTitle = nil;
    self.any = nil;
    [super dealloc];
}

@end
