package com.microstar.tap3.login.internal;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({ "error", "username", "password", "accessKey", "secretKey", "refreshToken", "userRole",
		"permissions", "id", "userType", "firstName", "lastName", "emailAddress", "cellPhoneNumber", "deskPhoneNumber",
		"faxNumber", "freightViewApikey", "sfdcid", "businessUnits", "userAttributes", "active" })
public class Body {

	@JsonProperty("error")
	private String error;
	@JsonProperty("username")
	private String username;
	@JsonProperty("password")
	private String password;
	@JsonProperty("userToken")
	private String userToken;
	@JsonProperty("userRole")
	private String userRole;
	@JsonProperty("permissions")
	private String permissions;
	@JsonProperty("id")
	private String id;
	@JsonProperty("userType")
	private String userType;
	@JsonProperty("firstName")
	private String firstName;
	@JsonProperty("lastName")
	private String lastName;
	@JsonProperty("emailAddress")
	private String emailAddress;
	@JsonProperty("cellPhoneNumber")
	private String cellPhoneNumber;
	@JsonProperty("deskPhoneNumber")
	private String deskPhoneNumber;
	@JsonProperty("faxNumber")
	private String faxNumber;
	@JsonProperty("freightViewApikey")
	private String freightViewApikey;
	@JsonProperty("sfdcid")
	private String sfdcid;
	@JsonProperty("businessUnits")
	private List<String> businessUnits = null;
	@JsonProperty("userAttributes")
	private String userAttributes;
	@JsonProperty("active")
	private Boolean active;
	@JsonIgnore
	private Map<String, Object> additionalProperties = new HashMap<String, Object>();

	@JsonProperty("error")
	public String getError() {
		return error;
	}

	@JsonProperty("error")
	public void setError(String error) {
		this.error = error;
	}

	@JsonProperty("username")
	public String getUsername() {
		return username;
	}

	@JsonProperty("username")
	public void setUsername(String username) {
		this.username = username;
	}

	@JsonProperty("password")
	public String getPassword() {
		return password;
	}

	@JsonProperty("password")
	public void setPassword(String password) {
		this.password = password;
	}

	@JsonProperty("userToken")
	public String getUserToken() {
		return userToken;
	}

	@JsonProperty("userToken")
	public void setUserToken(String userToken) {
		this.userToken = userToken;
	}

	@JsonProperty("userRole")
	public String getUserRole() {
		return userRole;
	}

	@JsonProperty("userRole")
	public void setUserRole(String userRole) {
		this.userRole = userRole;
	}

	@JsonProperty("permissions")
	public String getPermissions() {
		return permissions;
	}

	@JsonProperty("permissions")
	public void setPermissions(String permissions) {
		this.permissions = permissions;
	}

	@JsonProperty("id")
	public String getId() {
		return id;
	}

	@JsonProperty("id")
	public void setId(String id) {
		this.id = id;
	}

	@JsonProperty("userType")
	public String getUserType() {
		return userType;
	}

	@JsonProperty("userType")
	public void setUserType(String userType) {
		this.userType = userType;
	}

	@JsonProperty("firstName")
	public String getFirstName() {
		return firstName;
	}

	@JsonProperty("firstName")
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	@JsonProperty("lastName")
	public String getLastName() {
		return lastName;
	}

	@JsonProperty("lastName")
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	@JsonProperty("emailAddress")
	public String getEmailAddress() {
		return emailAddress;
	}

	@JsonProperty("emailAddress")
	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}

	@JsonProperty("cellPhoneNumber")
	public String getCellPhoneNumber() {
		return cellPhoneNumber;
	}

	@JsonProperty("cellPhoneNumber")
	public void setCellPhoneNumber(String cellPhoneNumber) {
		this.cellPhoneNumber = cellPhoneNumber;
	}

	@JsonProperty("deskPhoneNumber")
	public String getDeskPhoneNumber() {
		return deskPhoneNumber;
	}

	@JsonProperty("deskPhoneNumber")
	public void setDeskPhoneNumber(String deskPhoneNumber) {
		this.deskPhoneNumber = deskPhoneNumber;
	}

	@JsonProperty("faxNumber")
	public String getFaxNumber() {
		return faxNumber;
	}

	@JsonProperty("faxNumber")
	public void setFaxNumber(String faxNumber) {
		this.faxNumber = faxNumber;
	}

	@JsonProperty("freightViewApikey")
	public String getFreightViewApikey() {
		return freightViewApikey;
	}

	@JsonProperty("freightViewApikey")
	public void setFreightViewApikey(String freightViewApikey) {
		this.freightViewApikey = freightViewApikey;
	}

	@JsonProperty("sfdcid")
	public String getSfdcid() {
		return sfdcid;
	}

	@JsonProperty("sfdcid")
	public void setSfdcid(String sfdcid) {
		this.sfdcid = sfdcid;
	}

	@JsonProperty("businessUnits")
	public List<String> getBusinessUnits() {
		return businessUnits;
	}

	@JsonProperty("businessUnits")
	public void setBusinessUnits(List<String> businessUnits) {
		this.businessUnits = businessUnits;
	}

	@JsonProperty("userAttributes")
	public String getUserAttributes() {
		return userAttributes;
	}

	@JsonProperty("userAttributes")
	public void setUserAttributes(String userAttributes) {
		this.userAttributes = userAttributes;
	}

	@JsonProperty("active")
	public Boolean getActive() {
		return active;
	}

	@JsonProperty("active")
	public void setActive(Boolean active) {
		this.active = active;
	}

	@JsonAnyGetter
	public Map<String, Object> getAdditionalProperties() {
		return this.additionalProperties;
	}

	@JsonAnySetter
	public void setAdditionalProperty(String name, Object value) {
		this.additionalProperties.put(name, value);
	}

}
