/**
 * Project: ANE-Google-Analytics
 *
 * Author:  Alessandro Bianco
 * Website: http://alessandrobianco.eu
 * Twitter: @alebianco
 * Created: 22/12/12 12.04
 *
 * Copyright © 2013 Alessandro Bianco
 */
package eu.alebianco.air.extensions.analytics {

import eu.alebianco.air.extensions.analytics.api. Hit;

internal class Timing implements Hit {

	private var _category:String;
	private var _interval:int;
	private var _name:String;
	private var _label:String;

    public function get type():HitType {
        return HitType. TIMING;
    }

    public function Timing(builder:TimingBuilder) {
		_category = builder.category;
		_interval = builder.interval;
		_name = builder.name;
		_label = builder.label;
	}

	public function get category():String {
		return _category;
	}
	public function get interval():int {
		return _interval;
	}
	public function get name():String {
		return _name;
	}
	public function get label():String {
		return _label;
	}
}
}
