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

#import <Foundation/Foundation.h>
#import "Trading_AdFormatLeadType.h"
#import "Trading_AddressType.h"
#import "Trading_MemberMessageExchangeArrayType.h"
#import "Trading_AmountType.h"

@implementation Trading_AdFormatLeadType

@synthesize additionalInformation = _additionalInformation;
@synthesize address = _address;
@synthesize bestTimeToCall = _bestTimeToCall;
@synthesize email = _email;
@synthesize submittedTime = _submittedTime;
@synthesize itemID = _itemID;
@synthesize itemTitle = _itemTitle;
@synthesize userID = _userID;
@synthesize memberMessage = _memberMessage;
@synthesize status = _status;
@synthesize leadFee = _leadFee;
@synthesize externalEmail = _externalEmail;
@synthesize purchaseTimeFrame = _purchaseTimeFrame;
@synthesize tradeInYear = _tradeInYear;
@synthesize tradeInMake = _tradeInMake;
@synthesize tradeInModel = _tradeInModel;
@synthesize financingAnswer = _financingAnswer;
@synthesize answer1 = _answer1;
@synthesize answer2 = _answer2;
@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:@"AdditionalInformation" propertyName:@"additionalInformation" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"additionalInformation"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Address" propertyName:@"address" type:PICO_TYPE_OBJECT clazz:[Trading_AddressType class]];
    [map setObject:ps forKey:@"address"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BestTimeToCall" propertyName:@"bestTimeToCall" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"bestTimeToCall"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Email" propertyName:@"email" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"email"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SubmittedTime" propertyName:@"submittedTime" type:PICO_TYPE_DATE clazz:nil];
    [map setObject:ps forKey:@"submittedTime"];
    [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:@"ItemTitle" propertyName:@"itemTitle" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"itemTitle"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"UserID" propertyName:@"userID" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"userID"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MemberMessage" propertyName:@"memberMessage" type:PICO_TYPE_OBJECT clazz:[Trading_MemberMessageExchangeArrayType class]];
    [map setObject:ps forKey:@"memberMessage"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Status" propertyName:@"status" type:PICO_TYPE_ENUM clazz:nil];
    [map setObject:ps forKey:@"status"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"LeadFee" propertyName:@"leadFee" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
    [map setObject:ps forKey:@"leadFee"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ExternalEmail" propertyName:@"externalEmail" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"externalEmail"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PurchaseTimeFrame" propertyName:@"purchaseTimeFrame" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"purchaseTimeFrame"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TradeInYear" propertyName:@"tradeInYear" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"tradeInYear"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TradeInMake" propertyName:@"tradeInMake" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"tradeInMake"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TradeInModel" propertyName:@"tradeInModel" type:PICO_TYPE_STRING clazz:nil];
    [map setObject:ps forKey:@"tradeInModel"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"FinancingAnswer" propertyName:@"financingAnswer" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"financingAnswer"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Answer1" propertyName:@"answer1" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"answer1"];
    [ps release];
    ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Answer2" propertyName:@"answer2" type:PICO_TYPE_BOOL clazz:nil];
    [map setObject:ps forKey:@"answer2"];
    [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.additionalInformation = nil;
    self.address = nil;
    self.bestTimeToCall = nil;
    self.email = nil;
    self.submittedTime = nil;
    self.itemID = nil;
    self.itemTitle = nil;
    self.userID = nil;
    self.memberMessage = nil;
    self.status = nil;
    self.leadFee = nil;
    self.externalEmail = nil;
    self.purchaseTimeFrame = nil;
    self.tradeInYear = nil;
    self.tradeInMake = nil;
    self.tradeInModel = nil;
    self.financingAnswer = nil;
    self.answer1 = nil;
    self.answer2 = nil;
    self.any = nil;
    [super dealloc];
}

@end
