//
//  AdswizzMediaFile.h
//  camaro
//
//  Created by dev on 4/19/11.
//  Copyright 2011 Adswizz. All rights reserved.
//

#import <Foundation/Foundation.h>

/**
 *  Class representing a creative (media file) of an ad
 */
@interface AdswizzMediaFile : NSObject {

    NSInteger width;
    NSInteger height;
    NSString * id_;
    NSString * delivery;
    NSString * type;
    Boolean scalable;
    Boolean maintainAspectRatio;
    NSString * apiFramework;
    NSInteger bitrate;
    NSString * source;
    
    
}
/**
 *  Width of the media in pixels
 */
@property(nonatomic,assign) NSInteger width;

/**
 *  Height of the media in pixels
 */
@property(nonatomic,assign) NSInteger height;

/**
 *  Optional information. Not needed by the application
 */
@property(nonatomic,retain) NSString * id_;

/**
 *  Delivery method of the media file (progressive, etc)
 */
@property(nonatomic,retain) NSString * delivery;

/**
 *  MIME type of the media
 */
@property(nonatomic,retain) NSString * type;

/**
 *  Is scaling allowed on the media (or recomended)
 */
@property(nonatomic,assign) Boolean scalable;

/**
 *  In case of scalling should the aspect ration be maintained
 */
@property(nonatomic,assign) Boolean maintainAspectRatio;

/**
 *  The api framework used in case of interactive media
 */
@property(nonatomic,retain) NSString * apiFramework;

/**
 *  The bitrate of the media file
 */
@property(nonatomic,assign) NSInteger bitrate;

/**
 *  The resource URL of the media file
 */
@property(nonatomic,retain) NSString * source;

@end
