package org.asteriskjava.manager.event;

import java.math.BigInteger;

/**
 * Created by Alexander Polakov <apolyakov@beget.ru> on 1/23/15.
 */
public class InvalidPasswordEvent extends ManagerEvent
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String severity;
	private Integer eventVersion;
	private String eventtv;
	private String sessionid;
	private String receivedHash;
	private String localaddress;
	private BigInteger accountId;
	private String receivedChallenge;
	private String service;
	private String remoteAddress;
	private String challenge;

	public InvalidPasswordEvent(Object source)
	{
		super(source);
	}

	public String getSeverity()
	{
		return severity;
	}

	public void setSeverity(String severity)
	{
		this.severity = severity;
	}

	public Integer getEventVersion()
	{
		return eventVersion;
	}

	public void setEventVersion(Integer eventVersion)
	{
		this.eventVersion = eventVersion;
	}

	public String getEventtv()
	{
		return eventtv;
	}

	public void setEventtv(String eventtv)
	{
		this.eventtv = eventtv;
	}

	public String getSessionid()
	{
		return sessionid;
	}

	public void setSessionid(String sessionid)
	{
		this.sessionid = sessionid;
	}

	public String getReceivedHash()
	{
		return receivedHash;
	}

	public void setReceivedHash(String receivedHash)
	{
		this.receivedHash = receivedHash;
	}

	public String getLocaladdress()
	{
		return localaddress;
	}

	public void setLocaladdress(String localaddress)
	{
		this.localaddress = localaddress;
	}

	public BigInteger getAccountId()
	{
		return accountId;
	}

	public void setAccountId(BigInteger accountId)
	{
		this.accountId = accountId;
	}

	public String getReceivedChallenge()
	{
		return receivedChallenge;
	}

	public void setReceivedChallenge(String receivedChallenge)
	{
		this.receivedChallenge = receivedChallenge;
	}

	public String getService()
	{
		return service;
	}

	public void setService(String service)
	{
		this.service = service;
	}

	public String getRemoteAddress()
	{
		return remoteAddress;
	}

	public void setRemoteAddress(String remoteAddress)
	{
		this.remoteAddress = remoteAddress;
	}

	public String getChallenge()
	{
		return challenge;
	}

	public void setChallenge(String challenge)
	{
		this.challenge = challenge;
	}
}

@@ -38,38 +38,8 @@
 t;%0A%0A
-import java.math.BigInteger;%0A%0A
 /**%0A
@@ -407,26 +407,22 @@
 private 
-BigInteger
+String
  account
@@ -1486,26 +1486,22 @@
 %09public 
-BigInteger
+String
  getAcco
@@ -1565,18 +1565,14 @@
 tId(
-BigInteger
+String
  acc

accountId is a string