//
//  AdswizzAdRequestObject.h
//  camaro
//
//  Created by dev on 5/9/11.
//  Copyright 2011 Adswizz. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
    Object representing the settings for an ad request
 */
@interface AdswizzRequestObject : NSObject {
    
    int timeout ;
    
    NSString* server;
    NSString* zoneId;
    NSString* zone_alias;
    NSString* companionZones;
    NSString* tagsArray;
    NSString* referrer;
  
    int debug;
    NSString* protocolVersion;
}

/**
 The debug level of the library.
 0 - no logs
 1 - info
 2 - debug
 3 - error
 default value is 0 (no logs)
 */
@property (nonatomic,assign)int debug ;

/**
   The timeout in seconds for an ad request
 */
@property (nonatomic,assign)int timeout;

/**
   The server host where the ad request should be addressed
 */
@property (nonatomic,retain)NSString* server;

/**
   The zone on which the request will be made
 */
@property (nonatomic,retain)NSString* zoneId;

/**
 The zone alias referencing external zone
 */
@property (nonatomic,retain)NSString* zone_alias;

/**
   Should not be used with the current implementation
 */
@property (nonatomic,retain)NSString* companionZones;

/**
 * The tags used for requesting the ads. Optional
 */
@property (nonatomic,retain)NSString* tagsArray;

/**
 * This is the an unique identifier of the application and should be a string like an http address ex: "http://yourappname"
 */
@property (nonatomic,retain)NSString* referrer;

-(NSString*)getProtocolVersion;
-(NSMutableDictionary*)getDictionary;
@end

	